Issue with Info shortcut on multimedia keys
#1
I have this config at appcommand.xml:

Code:
<FullscreenVideo>
    <appcommand>
      <launch_mail>OSD</launch_mail>
      <browser_favorites>Info</browser_favorites> <!-- small video info -->
    </appcommand>
  </FullscreenVideo>

Working fine, but Info dialogue is not toggling as the regular key i. Each time I hit browser_favorites key the info dialog opens again. This is a bug? My other custom shortcut, OSD on launch_mail key has no issue, toggle function normally.

Thanks.
I wish to have Rotten Tomatoes (user+critics) + IMDB both ratings display in skin.
Reply
#2
Try adding:

Code:
<FullscreenInfo>
    <appcommand>
      <browser_favorites>Back</browser_favorites>
    </appcommand>
  </FullscreenInfo>
  <MusicInformation>
    <appcommand>
      <browser_favorites>Back</browser_favorites>
    </appcommand>
  </MusicInformation>
  <MovieInformation>
    <appcommand>
      <browser_favorites>Back</browser_favorites>
    </appcommand>
  </MovieInformation>
  <PictureInfo>
    <appcommand>
      <browser_favorites>Back</browser_favorites>
    </appcommand>
  </PictureInfo>
  <AddonInformation>
    <appcommand>
      <browser_favorites>Back</browser_favorites>
    </appcommand>
  </AddonInformation>

I don't think the Info action toggles the Info screen. If you look at the system keymap you'll see the various Info windows override <i> to be "Back" t=rather than "Info".
Reply
#3
Tried that, same result.

Log when tried i key:

Code:
18:39:05 T:4644   DEBUG: SDLKeyboard: scancode: 17, sym: 0069, unicode: 0069, modifier: 0
18:39:05 T:4644   DEBUG: CApplication::OnKey: i (f049) pressed, action is Info
18:39:05 T:4644   DEBUG: ------ Window Init (DialogFullScreenInfo.xml) ------
18:39:05 T:4644    INFO: Loading skin file: DialogFullScreenInfo.xml
18:39:06 T:4644   DEBUG: SDLKeyboard: scancode: 17, sym: 0069, unicode: 0069, modifier: 0
18:39:06 T:4644   DEBUG: CApplication::OnKey: i (f049) pressed, trying fullscreen info action Back
18:39:07 T:4644   DEBUG: ------ Window Deinit (DialogFullScreenInfo.xml) ------

And favorite key:

Code:
18:39:29 T:4644   DEBUG: WinEventsWin32.cpp: APPCOMMAND 6
18:39:29 T:4644   DEBUG: CApplication::OnAppCommand: appcommand 6, trying action Info
18:39:29 T:4644   DEBUG: ------ Window Init (DialogFullScreenInfo.xml) ------
18:39:29 T:4644    INFO: Loading skin file: DialogFullScreenInfo.xml
18:39:29 T:4644   DEBUG: SDLKeyboard: scancode: 00, sym: 0000, unicode: 0000, modifier: 0
18:39:29 T:4644   DEBUG: CApplication::OnKey: 0 (f200) pressed, trying fullscreen info action
18:39:29 T:4644   DEBUG: CApplication::OnKey: 0 (f200) pressed, action is
18:39:31 T:4644   DEBUG: WinEventsWin32.cpp: APPCOMMAND 6
18:39:31 T:4644   DEBUG: CApplication::OnAppCommand: appcommand 6, trying action Info
18:39:31 T:4644   DEBUG: ------ Window Init (DialogFullScreenInfo.xml) ------
18:39:31 T:4644   DEBUG: SDLKeyboard: scancode: 00, sym: 0000, unicode: 0000, modifier: 0
18:39:31 T:4644   DEBUG: CApplication::OnKey: 0 (f200) pressed, trying fullscreen info action
18:39:31 T:4644   DEBUG: CApplication::OnKey: 0 (f200) pressed, action is

Looks like a bug, tested on three keyboards.

To confirm issue, tried with a regular keyboard key (L) and exactly same commands: info, back, it worked fine. So maybe, the bug is related with appcommand/multimedia keys. Can someone confirm it?
I wish to have Rotten Tomatoes (user+critics) + IMDB both ratings display in skin.
Reply
#4
I think I see what is wrong. Can you give me the exact steps you use to duplicate this. The reason I ask is it depends on exactly what info windo you have open. If I just view the info for a file (video or mp3) the problem does not occur.
Reply
#5
I'm using the key only at full screen video.

appcommand.xml

Code:
<keymap>
  <FullscreenVideo>
    <appcommand>
      <browser_favorites>Info</browser_favorites>
    </appcommand>
  </FullscreenVideo>
  <FullscreenInfo>
    <appcommand>
     <browser_favorites>Back</browser_favorites>
    </appcommand>
  </FullscreenInfo>
</keymap>

keyboard.xml

Code:
<keymap>
  <FullscreenVideo>
    <keyboard>
      <l>Info</l>
    </keyboard>
  </FullscreenVideo>
  <FullscreenInfo>
    <keyboard>
      <l>Back</l>
    </keyboard>
  </FullscreenInfo>
</keymap>
I wish to have Rotten Tomatoes (user+critics) + IMDB both ratings display in skin.
Reply
#6
I don't have a "Browser favourites" key on my keyboard, but I tried mapping the launch_mail appcommand to Info and that worked fine. My log shows:

Code:
DEBUG: WinEventsWin32.cpp: APPCOMMAND 15
DEBUG: CApplication::OnAppCommand: appcommand 15, trying action Info
DEBUG: SDLKeyboard: scancode: 00, sym: 0000, unicode: 0000, modifier: 0
DEBUG: CApplication::OnKey: 0 (f200) pressed, action is
DEBUG: WinEventsWin32.cpp: APPCOMMAND 15
DEBUG: CApplication::OnAppCommand: appcommand 15, trying action Info
DEBUG: SDLKeyboard: scancode: 00, sym: 0000, unicode: 0000, modifier: 0
DEBUG: CApplication::OnKey: 0 (f200) pressed, action is

the first appcommand opened the Info screen and the second closed it. However I note that your log shows:

Code:
DEBUG: ------ Window Init (DialogFullScreenInfo.xml) ------

and my log does not show this. I wonder if it's a difference between skins. Can you try with Confluence and see if you still get the problem.

Incidentally the SDLKeyboard and OnKey events can be ignored. In Windows the multimedia keys generated a keypress that XBMC ignores and also an appcommand message that XBMC processes.
Reply
#7
You are right jhsrennie, I forgot to test in confluence before to report here, my bad sorry. It is working fine. The issue is related with my default skin, xperience1080. I don't know how to fix this, so I'll switch to another key or live with the limitation, where need to hit escape to hide info dialogue.

Case closed.

Thank you!
I wish to have Rotten Tomatoes (user+critics) + IMDB both ratings display in skin.
Reply

Logout Mark Read Team Forum Stats Members Help
Issue with Info shortcut on multimedia keys0