2017-04-02, 20:51
(2017-03-31, 17:16)HaloZone Wrote: I have found a fix for the power menu bug (opening other windows with "ActivateWindow(...)" for e.g. does not work):
The power menu has to be closed first, before you can open another window.
As stated in the description of the skinshortcuts script:
Quote:Important note: If you are using skinshortcuts to provide the powermenu (DialogButtonMenu.xml) in your skin, you MUST use this feature from Kodi Isengard (15) and higher. This is because of a change in that dialog that requires you to first close the dialog before launching any other windows.
Example (assuming the name of your powermenu is powermenu): <groupoverride group="powermenu" condition="Window.IsActive(DialogButtonMenu.xml)">Close</groupoverride>
So in order to fix the power menu, you just have to add the line
under "<overrides>" to: addons/skin.estuary.mod/shortcuts/overrides.xmlCode:<groupoverride group="powermenu" condition="Window.IsActive(DialogButtonMenu.xml)">Close</groupoverride>
(the addons folder is in special://home, containing the userdata folder, too, see Kodi wiki/Userdata or Special_protocol)
As an alternative you can add you own overrides.xml under userdata, but the groupoverride does not work here (seems to add Close after the original action). Here you have to use:
Code:<?xml version="1.0" encoding="UTF-8"?>
<overrides>
<override action="globaloverride" group="powermenu">
<condition>Window.IsActive(DialogButtonMenu.xml)</condition>
<action>Close</action>
<action>::ACTION::</action>
</override>
</overrides>
I will post a pull request on github for this simple fix soon.
Fixed with new update.