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 129986 - Enable XRandR when deadlock is fixed
Enable XRandR when deadlock is fixed
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2003-12-25 11:06 UTC by Sebastien Bacher
Modified: 2006-11-03 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
totem-xrandr-update.patch (6.05 KB, patch)
2006-11-03 15:38 UTC, Bastien Nocera
none Details | Review

Description Sebastien Bacher 2003-12-25 11:06:13 UTC
This bug was originally reported in the Debian BTS:
http://bugs.debian.org/219054

"Xine supplies an option to "use XVidModeExtension when switching to
fullscreen". It's a good idea to turn that option on for users whose X
VirtualScreen is smaller than the actual viewport, as it temporarily
reduces both sizes to the size of the visible screen. In my case I have a
viewport of 1024x768 pixels, but the desktop is 2048x1536 pixels big;
therefore when I turn totem's fullscreen mode on I can only see one fourth
of the screen at a time.
I would use totem instead of xine-ui if it wasn't for this annoyance."
Comment 1 Bastien Nocera 2004-09-20 16:24:51 UTC
Mass reassign.
Comment 2 Bastien Nocera 2004-12-01 01:37:31 UTC
This actually requires both the XVidMode extension and XRandR, otherwise you
still get the crappy viewport.

I however hit that bug, and the code is currently disabled:
https://bugs.freedesktop.org/show_bug.cgi?id=1976

2004-12-01  Bastien Nocera  <hadess@hadess.net>

        * configure.in: detect XVidModeExtension as well
        * src/Makefile.am: upd
        * src/bacon-resize.c: (bacon_resize_init), (bacon_resize),
        (bacon_restore):
        * src/bacon-resize.h:
        * src/bacon-video-widget-xine.c: (frame_output_cb),
        (bacon_video_widget_realize), (bacon_video_widget_set_fullscreen):
        Use XRandR and XVidModeExtension to get rid of the viewport when       
        there is one (Closes: #129986)
Comment 3 Bastien Nocera 2005-06-10 15:28:07 UTC
The upstream bug has been fixed, we're still waiting for it to be included at
least *somewhere*.
Comment 4 Javier Kohen 2006-11-03 01:31:55 UTC
According to upstream's BTS, the fix you supplied has been comitted to their HEAD 18 months ago ago. It would seem it's been available in all X.org releases since 6.9.
Comment 5 Bastien Nocera 2006-11-03 15:37:44 UTC
Whao, it seems broken right now. No idea why. Here's a patch to add that feature to the GStreamer backend as well.
Comment 6 Bastien Nocera 2006-11-03 15:38:25 UTC
Created attachment 75940 [details] [review]
totem-xrandr-update.patch
Comment 7 Bastien Nocera 2006-11-03 16:19:58 UTC
2006-11-03  Bastien Nocera  <hadess@hadess.net>

        * NEWS: upd
        * configure.in: 2.17.2, detect a non-deadlock-y version of XRandR
        * src/backend/Makefile.am:
        * src/backend/bacon-resize.c: (bacon_resize_init):
        Re-enable XRandR/XF86VideoMode resizing (Closes: #129986)
        * src/backend/bacon-video-widget-gst-0.10.c:
        (bacon_video_widget_realize),
        (bacon_video_widget_fullscreen_mode_available),
        (bacon_video_widget_set_fullscreen):
        Implement XRandR/XF86VideoMode resizing when setting fullscreen
        in the GStreamer backend