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 109039 - Metacity HEAD has really broken window moving in some applications
Metacity HEAD has really broken window moving in some applications
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
2.4.x
Other Linux
: Normal major
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 109296 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-03-23 20:13 UTC by Andrew Sobala
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
send null if no frame (651 bytes, patch)
2003-03-29 19:54 UTC, Rob Adams
none Details | Review

Description Andrew Sobala 2003-03-23 20:13:30 UTC
Using metacity HEAD, try running:

-> xmms
-> xine

The windows will jump offscreen if you try to move them, making them unusable.
Comment 1 Jani Alinikula 2003-03-29 18:56:00 UTC
gkrellm could also be added to the list. 

All those apps seem to be ones with no frames around their window.

Appears on gnome HEAD checked out from cvs on 23.3.2003, too.
Comment 2 Rob Adams 2003-03-29 19:20:29 UTC
Hmmm.  This doesn't happen to me.  Could someone post a log?
Comment 3 Rob Adams 2003-03-29 19:44:58 UTC
For me XMMS moving is broken in a myriad other ways.  Also, it behaves
differently when using a log file.  My guess if we've got a dangling
pointer here somewhere, or some other memory management problem.
Comment 4 Rob Adams 2003-03-29 19:53:18 UTC
Here's patch.  I don't know if this is THE bug but it seems to fix a
lot of things.
Comment 5 Rob Adams 2003-03-29 19:54:01 UTC
Created attachment 15302 [details] [review]
send null if no frame
Comment 6 Havoc Pennington 2003-03-29 20:06:24 UTC
I just added "test-gravity --noframes" which shows the bug pretty well.
(For me the position the frameless windows end up in is so crazy it
almost has to be either integer overflow/underflow or uninitialized
memory read)

There's a dup of this bug also I think
Comment 7 Havoc Pennington 2003-03-29 20:07:52 UTC
That patch is clearly right even if it doesn't fix this whole problem, 
so feel free to go ahead and put it in.
Comment 8 Rob Adams 2003-03-30 10:59:53 UTC
committed.  I can't reproduce my problem any more.  Still haven't seen
the offscreen jumping problem, but I can see how this patch would fix
a large number of very odd frameless window problems.

See if this fixes it for you.

-Rob
Comment 9 Andrew Sobala 2003-03-30 11:20:46 UTC
Works for me; closing this bug.

Thanks.
Comment 10 Rob Adams 2003-03-30 11:26:18 UTC
*** Bug 109296 has been marked as a duplicate of this bug. ***
Comment 11 Rob Adams 2003-04-03 18:15:45 UTC
should we do a 2.5.1 release with this patch?  This is a pretty
serious issue that causing a lot of shockwaves it would seem.

-Rob