After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 170695 - totem should hide mouse cursor in fullscreen mode
totem should hide mouse cursor in fullscreen mode
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: GStreamer backend
1.0
Other Linux
: Normal enhancement
: ---
Assigned To: Maintainer alias for GStreamer component of Totem
Maintainer alias for GStreamer component of Totem
Depends on:
Blocks:
 
 
Reported: 2005-03-17 16:29 UTC by Sebastian Dröge (slomo)
Modified: 2006-01-22 09:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Sebastian Dröge (slomo) 2005-03-17 16:29:59 UTC
Hi,
when viewing a video with totem (1.0, gstreamer backend) in fullscreen mode it
would be nice if the mouse cursor is hided after some time when the user doesn't
move it. at least mplayer does it and this is atm the only reason why i prefer
mplayer.

Bye
Comment 1 Bastien Nocera 2005-03-17 16:41:30 UTC
This is already the case with the xine-lib backend, so I guess it's a GStreamer
specific bug.
Comment 2 Sebastian Dröge (slomo) 2005-03-17 16:52:27 UTC
well it seems to work now... but only when I changed the windowsize by hand...
when i choose "fit window to movie" the mouse cursor doesn't hide anymore
Comment 3 Sebastian Dröge (slomo) 2005-03-17 16:55:43 UTC
hmm, that isn't exactly right... the cursor only seems to hide when the window
size is changed more than a bit before switching to fullscreen mode... very
interesting behaviour ;)
Comment 4 Ronald Bultje 2005-03-30 11:27:40 UTC
This is semi-fixed now. If you put the mouse on the actual video area, it'll
disappear. However, if you put your mouse in the black area below, it doesn't. I
don't know why...
Comment 5 Bastien Nocera 2005-03-30 12:39:30 UTC
I guess that's because the window that playbin creates is smaller than the whole
widget. So the whole widget receives the signal, but only your embed GdkWindow
does for playbin.
Comment 6 Michaël Arnauts 2005-06-10 18:45:50 UTC
I was wondering something. Isn't it possible to stretch the playbin-window
fullscreen? That will fix this bug, but it also gives the opportunity to put
subtitles lower on the screen. Now, when you have an widescreen movie with
subtitles, the subtitles are IN the movie. If the playbin could be stretched
fullscreen, it could be possible to place the subtitles lower on the screen (in
the black area).
Comment 7 Ronald Bultje 2005-06-10 22:05:20 UTC
Yes, possibly, that'd be nice.
Comment 8 Julien MOUTTE 2006-01-21 23:31:42 UTC
video sinks are not receiving frames with black borders. If one wants to add subtitles in black borders you can just use videobox to draw borders and render the subtitles in those borders. Nothing to do with the window really.

As to the pointer not disappearing in the black border i'll look into it.
Comment 9 Julien MOUTTE 2006-01-22 09:26:39 UTC
Fixed in CVS HEAD. Applying the set_show_cursor to the widget's window instead of the video window.