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 682779 - 'spontaneous' half-max rubberband
'spontaneous' half-max rubberband
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-08-27 10:13 UTC by Matthias Clasen
Modified: 2013-03-18 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
window: Reset tile-mode on maximization (1.06 KB, patch)
2013-03-18 11:54 UTC, Florian Müllner
committed Details | Review
window: Remove obsolete code (1.23 KB, patch)
2013-03-18 11:54 UTC, Florian Müllner
committed Details | Review

Description Matthias Clasen 2012-08-27 10:13:35 UTC
Every now and then, I end up in a situation where the shell is drawing the half-max rubberband without any window associated to it. When this occurs, it stays around through workspace changes and window manipulation, until I maximize/unmaximize a window.

http://mclasen.fedorapeople.org/half-max-leftover.png
Comment 1 Matthias Clasen 2013-03-01 21:59:17 UTC
I just figured out how this is reproduced:

- Focus a window
- Super-Left
- Super-Up
- Double-click on titlebar

Now you should have a half-maximized blue outline while the window jumps back to its unmaximized size.
Comment 2 Florian Müllner 2013-03-18 11:54:29 UTC
Created attachment 239116 [details] [review]
window: Reset tile-mode on maximization

We used to restore side-by-side tiling when unmaximizing, so we
kept the tile-mode during maximization. Since commit 10d53fc7d
there's no longer a good reason to do so, and it can result in
tile previews being shown erroneously on window drag operations
without motion (double-click on titlebar), so reset the tile
mode in maximize().
Comment 3 Florian Müllner 2013-03-18 11:54:34 UTC
Created attachment 239117 [details] [review]
window: Remove obsolete code

Since the tile mode is now always reset on maximize(), this code
no longer does anything (not to mention that side-by-side tiled
windows haven't snapped back for a while now).
Comment 4 Rui Matos 2013-03-18 15:35:15 UTC
Review of attachment 239116 [details] [review]:

Yes
Comment 5 Rui Matos 2013-03-18 15:35:20 UTC
Review of attachment 239117 [details] [review]:

Sure
Comment 6 Florian Müllner 2013-03-18 15:43:36 UTC
Attachment 239116 [details] pushed as ac3465f - window: Reset tile-mode on maximization
Attachment 239117 [details] pushed as 49df033 - window: Remove obsolete code