GNOME Bugzilla – Bug 164677
Windows left minimised in saved session are drawn restored in workspace switched on login
Last modified: 2005-01-26 02:48:16 UTC
Please describe the problem: If a window is left minimised in a saved gnome session, when the user logs in again the window thumbnail is drawn in the workspace switcher as if it had been restored. I've attached a screenshot showing this. Steps to reproduce: 1. Minimise a window 2. Logout, saving session 3. Log in 4. Look at workspace switcher Actual results: Window thumbnail is drawn Expected results: No thumbnail shown Does this happen every time? Yes Other information:
Created attachment 36283 [details] Screenshot showing incorrect minimised window thumbnailing
Most likely a metacity problem (metacity has to notify libwnck about the status of all windows). Does this still occur with a version of Metacity where the patch in bug 105665 has been applied?
To answer my own question: Yes, it does still happen, I can duplicate with CVS HEAD...
Created attachment 36529 [details] [review] Set the window state hints _after_ applying session information So the problem was just that we set the wm_state and net_wm_state hints too soon in meta_window_new_with_attrs. If we set the state after applying saved session info, then this problem disappears.
committed.