2018-03-15, 07:36
(2018-03-15, 06:57)VikkiXavier Wrote: Something strange is happening here.
I was playing around with the (only the) videowindow control recently, and after altering the width and height of the control and adding <top> <left> to make sure the video plays at the center while the background is visible (I had removed the image control above the videowindow control), when I opened Kodi, I found that the dimensions and position of the videowindow did change, but to my surprise, I also found that when the trailer is playing if I press space button, it pauses but the OSD, seek bar nothing shows up and if I press any of the arrow keys the video closes instead of forwarding. In case of Extras, the video closes even if I press space button to pause the video.
Not knowing the solution, being perplexed, I redownloaded the skin from your git and reinstalled it, but to no avail. The same is happening, but why could it be happening.
videowindow controls don't have a seekbar. Only fullscreenvideo has a seekbar.
The behaviour you are seeing is intentional.
To stop the video opening the fullscreenvideo window (which would close the info dialog), I tell trailers/extras to start minimised. This means that dialogvideoinfo still has focus behind the videowindow control. As a result, any click or movement will actually be moving around in dialogvideoinfo. This can cause all sorts of problems (like accidentally changing artwork etc.). To prevent this, I send focus to a hidden button (id="9002"). Any direction or click on the button will stop the video and return focus to the previous list.