(2014-10-01, 03:56)Angelscry Wrote: (2014-09-24, 15:07)Brian D Wrote: Hello,
I am getting a strange UI issue with my current setup, but I'm not sure if it is an XBMC, skin, or an AL issue.
Pretty much what happens is that I have created a favorite in advanced launcher for a category called Emulators. Then in my theme Aeon, I have the favorite set as a main menu item.
The issue is that when I click the shortcut Advanced Launcher will open in the tri-pane layout for a split second (with no content) then switch to the correct Category, in the correct layout. Obviously this is not the end of the world, but it sure looks like hell.
Is this due to the fact that I am using the favorite shortcut under the main menu?
If anyone else is doing this, do you see the same behavior and what theme are you using (that supports custom menu items)? I am willing to switch themes if that is the issue.
It will depend if your favorite shortcut into your main menu start Advanced Launcher corretly or not. You will have to activate the XBMC debug mode, start the favourite shortcut see which XBMC command is exactly used to start Advanced Launcher.
I switched to the skin Amber, which handles the situation a little better, but not perfect. Essentially it has the same issue, but it only happens the first time an advanced launcher shortcut is opened. After that the issue does not occur.
Here is the log for launching one of the shortcuts.
Code:
10:27:43 T:3268 DEBUG: ------ Window Init (Home.xml) ------
10:27:44 T:3268 DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
10:27:44 T:3268 DEBUG: CApplication::OnKey: return (0xf00d) pressed, action is Select
10:27:44 T:3268 DEBUG: Activating window ID: 10001
10:27:44 T:3268 DEBUG: ------ Window Deinit (Home.xml) ------
10:27:44 T:3268 DEBUG: ------ Window Init (MyPrograms.xml) ------
10:27:44 T:3268 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.program.advanced.launcher/?dab60eda12a4450c8a5657e5e3adc2ff)
10:27:44 T:3268 DEBUG: ParentPath = [plugin://plugin.program.advanced.launcher/?dab60eda12a4450c8a5657e5e3adc2ff]
10:27:44 T:3268 DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin Advanced Launcher('plugin://plugin.program.advanced.launcher/','2','?dab60eda12a4450c8a5657e5e3adc2ff')
10:27:44 T:3268 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the Advanced Launcher (id=7) plugin...
10:27:44 T:2832 NOTICE: Thread LanguageInvoker start, auto delete: false
10:27:44 T:2832 INFO: initializing python engine.
10:27:44 T:2832 DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): start processing
10:27:44 T:2832 NOTICE: -->Python Interpreter Initialized<--
10:27:44 T:2832 DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): the source file to load is "C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py"
10:27:44 T:2832 DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): setting the Python path to C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher;C:\Users\Brian\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Brian\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Brian\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Program Files (x86)\XBMC\addons\xbmc.debug\;C:\Users\Brian\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python27.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages
10:27:44 T:2832 DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): entering source directory C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher
10:27:44 T:2832 DEBUG: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): instantiating addon using automatically obtained id of "plugin.program.advanced.launcher" dependent on version 2.1.0 of the xbmc.python api
10:27:44 T:3268 ERROR: Control 51 in window 10001 has been asked to focus, but it can't
10:27:44 T:2832 DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\language\English, fallback to strings.xml
10:27:44 T:2832 NOTICE: AdvancedLauncher: Load launchers.xml file
10:27:44 T:2832 NOTICE: AdvancedLauncher: Initialisation
10:27:44 T:2832 NOTICE: AdvancedLauncher: dab60eda12a4450c8a5657e5e3adc2ff category folder > Launcher list
10:27:44 T:3268 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
10:27:44 T:2832 INFO: CPythonInvoker(7, C:\Users\Brian\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\addon.py): script successfully run
10:27:44 T:3452 NOTICE: Thread BackgroundLoader start, auto delete: false
10:27:44 T:3452 DEBUG: Thread BackgroundLoader 3452 terminating
10:27:44 T:2832 INFO: Python script stopped
10:27:44 T:2832 DEBUG: Thread LanguageInvoker 2832 terminating
10:27:45 T:3268 DEBUG: Keyboard: scancode: 0x01, sym: 0x001b, unicode: 0x001b, modifier: 0x0
10:27:45 T:3268 DEBUG: CApplication::OnKey: escape (0xf01b) pressed, action is PreviousMenu
10:27:45 T:3268 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
10:27:45 T:3268 DEBUG: ------ Window Deinit (MyPrograms.xml) ------
10:27:45 T:3268 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
Here is the actual skins code for the menu item
Code:
<item id="21" description="Custom1">
<visible>!IsEmpty(Skin.String(CustomHome.1.Path))</visible>
<label>$INFO[Skin.String(CustomHome.1.Label)]</label>
<thumb fallback="special://skin/backgrounds/default/default.jpg">$INFO[Skin.String(CustomHome.1.Background)]</thumb>
<onclick>$INFO[Skin.String(CustomHome.1.Path)]</onclick>
</item>
If you need a full log, or if it is out of your control (a skin issue) just let me know.