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 161239 - Double-clicking to maximize/unmaximize a window in wireframe mode leaves trails.
Double-clicking to maximize/unmaximize a window in wireframe mode leaves trails.
Status: RESOLVED DUPLICATE of bug 156543
Product: metacity
Classification: Other
Component: general
trunk
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 137808 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-12-14 06:20 UTC by Srirama Sharma
Modified: 2006-02-06 21:40 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10


Attachments
Screenshot of window before maximizing with wireframe on (121.16 KB, image/png)
2004-12-14 06:26 UTC, Srirama Sharma
  Details
Screenshot of window leaving trails on desktop (104.89 KB, image/png)
2004-12-14 06:28 UTC, Srirama Sharma
  Details
proposed patch (3.18 KB, patch)
2005-01-10 07:09 UTC, Leena Gunda
needs-work Details | Review

Description Srirama Sharma 2004-12-14 06:20:56 UTC
1. Using gconf-editor, set /apps/metacity/general/reduced_resources to TRUE.  
2. Double-click on the titlebar of a window so that the window is now maximized.  
 
Bug: Window is maximized but leaves trails on the desktop. 
 
Note: This bug is not seen when clicked on the maximize/unmaximize button or selecting 
maximize/unmaximize from the window context-menu.
Comment 1 Srirama Sharma 2004-12-14 06:26:14 UTC
Created attachment 34821 [details]
Screenshot of window before maximizing with wireframe on
Comment 2 Srirama Sharma 2004-12-14 06:28:13 UTC
Created attachment 34822 [details]
Screenshot of window leaving trails on desktop
Comment 3 Leena Gunda 2005-01-10 07:07:08 UTC
Havoc/Rob: The wireframe feature seems to not affect (improve)
maximize/unmaximize. (please do correct if i am missing something). Have
attached a patch which does not do wireframe when user double clicks on the
frame. Wondering if this patch would be acceptable ?
Comment 4 Leena Gunda 2005-01-10 07:09:14 UTC
Created attachment 35776 [details] [review]
proposed patch
Comment 5 Havoc Pennington 2005-01-10 14:58:36 UTC
Comment on attachment 35776 [details] [review]
proposed patch

The patch should be a bit different, here is the line to change:
    display->grab_wireframe_active =
	meta_prefs_get_reduced_resources () && 
	(meta_grab_op_is_resizing (display->grab_op) ||
	 meta_grab_op_is_moving (display->grab_op));

On ungrab you shouldn't need to change anything, since grab_wireframe_active
will be accurate.

I guess you're right that wireframe is pretty pointless if just maximizing.
However, it's possible to click-release-click and then move the window, I
believe. So this patch may not really work.
Comment 6 Elijah Newren 2005-01-10 15:49:55 UTC
*** Bug 137808 has been marked as a duplicate of this bug. ***
Comment 7 Elijah Newren 2005-01-10 15:52:28 UTC
This appears to be one of many other circumstances under which the wireframe can
leave trails--see bug 156543.
Comment 8 Elijah Newren 2006-02-06 21:40:32 UTC
I'm going to mark as a duplicate of bug 156543 to consolidate these bugs.

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