Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1816

x-key (Stop playback) behaviour.

$
0
0
Why does the x-key on the keyboard behave differently on fullscreen playback and windowed playback ?

With fullscreen movie or trailer :
  • The movieinformation screen is closed
  • The trailer or movie playback starts in fullscreen
Hitting the x-key to stop playback behaves like this :
  • stops the video
  • removes the video from the player
  • returns to the screen that was displayed prior to the movieinformation screen (because it was removed just before playback started)

With windowed movie or trailer :

New xml file custom_1190-Trailer.xml :
Code:
<window type="dialog" id="1190">
...
<control type="videowindow" id="510">
  • The movieinformation screen is NOT closed
  • The trailer or movie playback starts windowed in the videowindow control (overlayed over the movieinformation screen)
Hitting the x-key to stop playback behaves like this :
  • stops the video
  • removes the video from the player
  • hides the group control containing the videowindow control
  • the custom dialog window (1190) is now completely transparant and the movieinformation window is fully visible (not covered/overlayed by anything)
  • the buttons and keys of the movieinformation screen are inaccessible
  • does NOT return to the movieinformation screen. The custom window (1190) is still active (skin.ToggleDebug confirms this)
  • the Esc-key, Backspace-key, or right-click of mouse is required to return to the movieinformation screen and gain control over its buttons and keys

Why ?

EDIT: Everything else works as expected just not the x-key on the windowed screen.

Viewing all articles
Browse latest Browse all 1816

Trending Articles