! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Cancel window move/resize
Status:
RESOLVED: FIXED
Severity:
enhancement

Comments

Description Darren Salt 2006-06-28 18:17:24 CEST
Window move/resize can't currently be cancelled. (I have a patch.)
Comment 1 Darren Salt 2006-06-28 18:18:44 CEST
Created attachment 632 
Allows Escape (by default) to cancel window move or resize.
Comment 2 Olivier Fourdan editbugs 2006-06-28 21:31:09 CEST
The patch is now applied. 
Thanks,
Olivier.
Comment 3 Olivier Fourdan editbugs 2006-06-28 21:37:14 CEST
BTW the patch doesn't work so well when dragging windows between workspaces and it doesn't restore maximized windows once moved/cancelled. I guess we can live with that.
Comment 4 Darren Salt 2006-06-30 17:42:55 CEST
Created attachment 638 
Fix some problems with cancellation (button release *only*).

* Restore window's workspace on canclled move.
  Also redisplay that workspace and restore input focus.

* Re-maximise the window if needed.

* Wait for the mouse button (used for the drag) to be released.
  This avoids things like inadvertent pasting when the button is released.
Comment 5 Olivier Fourdan editbugs 2006-07-01 07:37:36 CEST
The patch applies, but I'm affraid I fail to see the benefit of it. 

It doesn't restore the original size when moving a maximized window nor it restores the original workspace :(
Comment 6 Darren Salt 2006-07-01 13:47:36 CEST
That'd be because half of the patch has gone missing :-(

Still, what's there should be applied: it does at least fix the problem to do with mouse button release (make a small text selection, middle-button drag a window, cancel, leave the pointer over a terminal window, watch what happens when you release the button).

I'll attach the rest just as soon as I can...
Comment 7 Darren Salt 2006-07-01 14:12:48 CEST
Created attachment 639 
Restore size & workspace after a cancelled move.

Here's the rest of the patch.

Bug #1963

Reported by:
Darren Salt
Reported on: 2006-06-28
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information