! 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 !
xfwm 4.4.0 + gtk+ 2.10.6: apps minimized to tray are restored as maximized


Description Guido Imperiale 2007-01-24 13:09:30 CET
Use any application that has a "minimize to tray" option, i.e. that when minimized or closed it disappears from the process list and to restore it you have to click on some icon in the systray.
examples are the gaim buddy list, azureus, or amule.

open the window (not maximized). minimize it to tray. restore it.
at random (very often, like once every 2-3 tries) the window will be restored as maximized instead of its normal size.

The problem disappears if I switch to GTK+ 2.8.19, OR I switch to Beryl 0.1.4 as window manager. 
Recompiling xfwm, and/or the applications, against GTK+ 2.10 doesn't fix the problem.

OS: Gentoo Linux 2006.1
desktop: XFCE 4.4.0
WM: XFWM 4.4.0
GTK+ version: 2.10.6
Comment 1 Olivier Fourdan editbugs 2007-01-24 20:41:28 CET
This looks like a race condition in the app itself. I am not able to reproduce that, but here, it shows just iconified.

On remap, the window has wrong EWMH flags (sometimes it's still hidden ,sometime maximized). Xfwm4 just applies the EWMH state given by the applications (maybe beryl doesn't implement that, so it doesn't show with beryl).

Anyhow, I truly doubt the problem is with xfwm4, because it's simply using the EWMH state specified by the application.
Comment 2 Olivier Fourdan editbugs 2007-01-24 20:42:54 CET
Notet that you should try with another fully EWMH compliant window manager, such as kwin (KDE) or metacity (GNOME). I see no difference in the behaviour between these two and xfwm4, the problem is similar in all three.
Comment 3 Olivier Fourdan editbugs 2007-01-24 22:40:37 CET
Also, can you try updating to gtk-+2.10.9?
Comment 4 Guido Imperiale 2007-02-02 15:17:36 CET
after the latest emerge world, even if it didn't update neither xfwm4 nor gtk+ nor any of the applications, I can't reproduce the bug anymore :\

Bug #2812

Reported by:
Guido Imperiale
Reported on: 2007-01-24
Last modified on: 2009-07-14


Olivier Fourdan
CC List:
0 users



Additional information