GNOME Bugzilla – Bug 674361
Top toolbar in display shouldn't prevent win7 drag window top to maximize
Last modified: 2016-03-31 13:55:15 UTC
Win7 (and perhaps Vista), have that window management ui that allows to maximize a window by dragging it to the top of the screen and releasing (when there is a blue overlay over the desktop). The window will then be maximzed. Currently, with Boxes, this is very hard to work with, Since the toolbar will be bring up when reaching the top, and will catch the release event. Since it's along the whole width of the screen there is no way to avoid the toolbar and use that feature. I think a reasonable solution would be to not bring the topbar when the button has been pressed (another solution could be to send the release event to the guest if it received the press event before the toolbar, but this is confusing imho)
Created attachment 212328 [details] [review] Fix dragging window in win7 shouldn't bring topbar Win7 (and perhaps Vista), have that window management ui that allows to maximize a window by dragging it to the top of the screen and releasing (when there is a blue overlay over the desktop). The window will then be maximzed. Currently, with Boxes, this is very hard to work with, Since the toolbar will be bring up when reaching the top, and will catch the release event. Since it's along the whole width of the screen there is no way to avoid the toolbar and use that feature. I think a reasonable solution would be to not bring the topbar when the button has been pressed (another solution could be to send the release event to the guest if it received the press event before the toolbar, but this is confusing imho)
Getting the overview in f17 by moving the mouse to the top left corner has similar issues if you move your mouse really fast and trigger the toolbar before the overview mode is triggered.
Review of attachment 212328 [details] [review]: I don't have a win7 VM atm to test this but it looks good so if you have tested it, ACK!
Attachment 212328 [details] pushed as 51c0ca8 - Fix dragging window in win7 shouldn't bring topbar
This seems to cause bug #676222