GNOME Bugzilla – Bug 153506
"Near-mouse" can place windows partially off-screen
Last modified: 2006-06-04 16:27:20 UTC
If a window is small enough to fit on screen, it should be fully visible when it opens. But when GTK_WIN_POS_MOUSE is used with the gtk_window_set_position() function, the window is sometimes (depending on mouse position) opened in a position that obscures the bottom of the window (e.g., the status bar or bottom window-frame is drawn off the bottom of the screen, or hidden under the GNOME panel). Other information: I'm the author of a small program called gxmessage, which uses a 'nearmouse' option. The Debian maintainer passed along this bug report: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=255843
Sorry, I should've said: my Window Manager is Metacity 2.8.1 and I'm running GNOME 2.6.1. I'm not clueful enough to know whether this is a GTK or a Metacity problem.
reassignign to Metacity. does this still happen with Gnome 2.14?
Forcing windows onscreen was part of the fixes done in the constraints experiments branch. This is a duplicate of bug 143145, and bug 136307 is also closely related. (If you're worried about manually doing placement so that it also works under other window managers -- or if you want to extend this to work with override redirect windows (GTK_WINDOW_POPUP) -- then this is a duplicate of bug 329491) *** This bug has been marked as a duplicate of 143145 ***