GNOME Bugzilla – Bug 593042
Don't hide controls in fullscreen when mouse is on top of it
Last modified: 2009-11-19 14:35:42 UTC
There is one little annoyance when playing movies with Totem in fullscreen. When you move a mouse, the controls appear, when you wait a while, they disappear - that is good! The problem is that they disappear also when you have your mouse currently *over the controls itself*. That should not happen. When I move mouse over the controls, it means I want them to stay where they are, visible. Controls should not disappear under your hands. There is one use case I stumble upon very often - frequently I would like to watch video in fullscreen but at the same time I would like to see progressbar. It makes sense for some short clips, when watching various documentation, etc. With Totem this behaviour is currently impossible. Even when I force the controls to appear and move mouse over them, they again disappear. Please change Totem's fullscreen behaviour to hide controls only when mouse cursor is over the video, not over the controls itself.
This code got lost when we moved the fullscreen code to share it with the browser plugin. The code lives in src/totem-fullscreen.c One would need to receive the "enter-notify-event" and "leave-notify-event" events for the 2 popup windows, disable the popdown timeout when the cursor entered the popup, and re-enable it when it leaves.
Created attachment 142992 [details] [review] Patch for this bug
(In reply to comment #2) > Created an attachment (id=142992) [details] > Patch for this bug Shouldn't you also be re-enabling the popdown timeout (with totem_fullscreen_popup_timeout_add()) when the cursor leaves the popup, as Bastien said?
> Shouldn't you also be re-enabling the popdown timeout (with > totem_fullscreen_popup_timeout_add()) when the cursor leaves the popup, as > Bastien said? This does not necessarily to do. totem_fullscreen_popup_timeout_add will be calling in totem_fullscreen_motion_notify.
I moved the initial setting of pointer_on_control to _init() as should be done for objects.