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 83647 - horizontal desktop boundary premature and confines windows
horizontal desktop boundary premature and confines windows
Status: RESOLVED DUPLICATE of bug 86682
Product: metacity
Classification: Other
Component: general
unspecified
Other Linux
: Normal major
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2002-05-31 03:10 UTC by Ryan Lovett
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
Can't drag windows further up or right. (17.44 KB, image/png)
2002-08-10 19:58 UTC, Ryan Lovett
Details
To give you an idea what size the panels underneath are. (20.23 KB, image/png)
2002-08-10 19:59 UTC, Ryan Lovett
Details
When I invoked 'xclock -geometry 32x32-0+0' (20.86 KB, image/png)
2002-08-10 20:00 UTC, Ryan Lovett
Details
When I invoked 'xclock -geometry 32x32-0-0' (34.43 KB, image/png)
2002-08-10 20:01 UTC, Ryan Lovett
Details
grep WORKAREA /tmp/metacity-22348-debug-log-MACUbW (144.56 KB, text/plain)
2002-08-10 20:11 UTC, Ryan Lovett
Details

Description Ryan Lovett 2002-05-31 03:11:07 UTC
I am unable to drag windows horizontally past 1512 pixels (out of 1600). I
also cannot move the title bars vertically past either the top and bottom
of the screen.
Comment 1 Havoc Pennington 2002-05-31 03:20:09 UTC
Keeping the titlebar onscreen is deliberate, though you should be able
to go slightly farther to the right than 1512 pixels (36 horizontal
pixels of the window are required to be onscreen).
Comment 2 Luis Villa 2002-05-31 13:47:48 UTC
I can't see losing 30 pixels of 1600 as 'major', but I'm open to
discussion on the point :)
Comment 3 Ryan Lovett 2002-05-31 20:11:16 UTC
Yes, it has minor impact, but it prevents metacity from being able to
do what every other WM can. I'm sure a lot of people have X sessions
that start apps in the top and bottom right-hand corners, for example.
Anyways, 'minor' is fine.
Comment 4 Luis Villa 2002-05-31 20:16:36 UTC
Oh, hrm, good point. That's why I say I'm open to discussion... :)
Bumping.
Comment 5 Havoc Pennington 2002-05-31 20:33:39 UTC
Hang on, nothing should keep you from doing an "xlock -geometry -0-0"
type of thing; only the top-left corner of the titlebar is supposed to
be restricted. You're saying you can't move the bottom right corner of
the window past 1512 pixels?
Comment 6 Ryan Lovett 2002-05-31 22:00:54 UTC
No, I couldn't move the top left corner of the window past 1512
pixels. I only noticed this when I attempted to put a small window (<
88 pixels wide) in the bottom right corner and I couldn't drag the
window all the way over. I tried dragging larger windows over and
their right sides would go past the desktop boundary, but the left
sides could not go past 1512. Still, 1600-1512 > 36. I wouldn't have a
problem with the 36 pixel requirement, but you know a lot of other
people will. :)

I will try the initial position argument that you suggested when I get
to my home machine.
Comment 7 Ryan Lovett 2002-06-01 03:36:36 UTC
If I launch 'xclock -geometry 32x32-0-0', the window does not come up
in the bottom right corner:

spacecoaster:~> xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1c00009 "xclock"

  Absolute upper-left X:  1512
  Absolute upper-left Y:  1161
  Relative upper-left X:  5
  Relative upper-left Y:  25
  Width: 32
  Height: 32
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +1512+1161  -56+1161  -56-7  +1512-7
  -geometry 32x32-51-0

If I execute 'xclock -geometry -0-0', the window does come up in the
bottom right, but here xclock's top left is < 1512.
Comment 8 Ryan Lovett 2002-06-01 03:54:37 UTC
More info: if I drag windows off to the left side of the desktop, the
window stops moving to left when 36 pixels are left on screen.

Also, in galeon, if I select View->Full screen, then deselect it, the
window borders remain offscreen. This might go against your intention
to have the borders always remain onscreen. At this point, I am unable
to Alt-click and drag the window. I must select the fullscreen option
again, Alt-click and drag on screen (without window borders), deselect
fullscreen, then Alt-click and drag on screen (with window borders). I
can then resize the window.
Comment 9 Ryan Lovett 2002-06-02 20:58:05 UTC
With the latest CVS update, the right-side behavior now only holds
true for the first workspace. On any of the others I can drag windows
over to  within 36 pixels of the right side. If I move the windows
over to the first workspace, they jump back to 88 pixels (+1512). They
jump back to within 36 pixels if I move them back to their original
workspace.

I can't recall if this is different behavior since I can't recall
whether I tested this bug on different workspaces.
Comment 10 Havoc Pennington 2002-08-10 19:36:43 UTC
What is the current status here? Everything works for me.

Maybe you need to tell me about which panels you have, whether you are
using xinerama, this sort of thing. Or run with METACITY_VERBOSE=1
METACITY_USE_LOGFILE=1 and forward the lines about "WORKAREA"
Comment 11 Ryan Lovett 2002-08-10 19:58:07 UTC
Created attachment 10403 [details]
Can't drag windows further up or right.
Comment 12 Ryan Lovett 2002-08-10 19:59:06 UTC
Created attachment 10404 [details]
To give you an idea what size the panels underneath are.
Comment 13 Ryan Lovett 2002-08-10 20:00:17 UTC
Created attachment 10405 [details]
When I invoked 'xclock -geometry 32x32-0+0'
Comment 14 Ryan Lovett 2002-08-10 20:01:12 UTC
Created attachment 10406 [details]
When I invoked 'xclock -geometry 32x32-0-0'
Comment 15 Ryan Lovett 2002-08-10 20:11:26 UTC
Created attachment 10407 [details]
grep WORKAREA /tmp/metacity-22348-debug-log-MACUbW
Comment 16 Ryan Lovett 2002-08-10 20:17:11 UTC
Still happening I'm afraid with packages from Debian. Two panels, no
xinerama. They are both corner panels with the top one being
horizontal in the top right @ 36 pixel size and the bottom one being
vertical in the top right @ 128 pixel size.

I'm pretty sure that the xclock behavior is abnormal. Metacity isn't
my default WM which I is why I haven't been reporting more details in
the interim.
Comment 17 Havoc Pennington 2002-08-10 20:26:43 UTC
Oh, you have panels blocking your window. Dup of 86682

*** This bug has been marked as a duplicate of 86682 ***