GNOME Bugzilla – Bug 147950
Minimized Window Placement
Last modified: 2004-12-22 21:47:04 UTC
When restoring a minimized window, the window is placed behind other windows on the desktop. Steps: 1. Launch epiphany 2. Launch gnome-terminal 3. Move the two application windows so they overlap 4. Minimize the epiphany window 5. Using the window list applet, click the epiphany button to restore epiphany's window Epiphany is restored, but it is placed behind the gnome-terminal window. It should be placed on top of the gnome-terminal window.
Yeah, happens for any window. I mentioned this in bug 102665, but it really belongs to be in a separate bug report, so it's good to keep this one open. This is due to my patch in bug 118372 and the fact that libwnck's message to metacity to unminimize a window will not result in that window's _NET_WM_USER_TIME being updated--thus when it gets remapped, it will appear behind the active window and without focus. So, we need up update the _NET_WM_USER_TIME field when we unminimize, but the problem is that libwnck has the event time that caused the unminimization to occur. The solution may also be modified depending on whether the _NET_WM_STATE_MINIMIZED proposal stuff on the wm-spec list gets acted upon, and how that turns out. I'm moving the priority to Urgent because this is a pretty nasty usability bug.
Pretty much a release showstopper. Can't we just change libwnck to set _NET_WM_USER_TIME just prior to remapping the window? GTK may need a similar change for gtk_window_present() etc.
If we don't get gtk+, nautilus and gnome-panel, and wnck-applet changed also to support respectively querying the user time, setting the user_time when using startup notify (making use of the new gtk API), and DEMANDS_ATTENTION support we're going to have to #if 0 out the meat of the user_time support in metacity.
I thought the nautilus and gnome-panel patches were already in? If there are multiple steps left here we should maybe be sure they are all separate bugs and mark them all release stopper.
See 118372