After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 153506 - "Near-mouse" can place windows partially off-screen
"Near-mouse" can place windows partially off-screen
Status: RESOLVED DUPLICATE of bug 143145
Product: metacity
Classification: Other
Component: general
2.8.x
Other All
: Normal minor
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2004-09-23 02:39 UTC by Tim Musson
Modified: 2006-06-04 16:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6



Description Tim Musson 2004-09-23 02:39:22 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
Comment 1 Tim Musson 2004-10-15 13:04:38 UTC
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.
Comment 2 Christian Kirbach 2006-06-04 14:42:23 UTC
reassignign to Metacity.

does this still happen with Gnome 2.14?
Comment 3 Elijah Newren 2006-06-04 16:27:20 UTC
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 ***