! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
gmplayer's main window doesn't disappear if I toggle gmplayer to fullscreen mode


Description pribambas 2007-09-02 16:43:17 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv: Gecko/20070802 Firefox/
Build Identifier: 

It seems xfwm4's, not a gmplayer's bug.
If I toggle gmplayer to fullscreen mode, it's main window cannot be hidden even I click movie window many times. With others window managers gmplayer works fine.

Reproducible: Always

Steps to Reproduce:
1. have xfwm4 as our current window manager
2. open any movie with gmplayer, we see two windows: main gmplayer's window and movie window.
3. toggle gmplayer fullscreen by pressing "f"
4. see main gmplayer's window over movie
5. click movie one or more times

Actual Results:  
main gmplayer's window doesn't become hidden

Expected Results:  
main gmplayer's window should disappear

I have gtk+ 2.10.14 and glib 2.12.13
Comment 1 Olivier Fourdan editbugs 2008-07-20 18:42:08 CEST
It is not so simple.

Actually, it is a race condition in MPlayer that shows in xfwm4 because xfwm4 uses the same layer for fullscreen and above dock.
gmplayer sets its layer to above dock when MPlayer is fullscreen, and raises the gmplayer window. When clicking in the mplayer window with the mouse, the mplayer window is also raise, resulting in the race condition (I believe gmplayer should nopt try to raise itself in this case).

The workaround is fairly simple, use a different layer for fullscreen windows. But that changes the behaviour of the WM and cannot occur within the stable branch.

That will be changed in xfce 4.6, so that leaves more time for testing and more time for people to get used to this change (practically, this means that a user will not be able to keep a window above any fullscreen window)

Bug #3526

Reported by:
Reported on: 2007-09-02
Last modified on: 2020-05-21


Olivier Fourdan
CC List:
1 user



Additional information