! 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 !
Introduce keyboard cancel
Status:
RESOLVED: FIXED
Product:
Xfce4-screenshooter
Component:
General

Comments

Description haarp 2013-07-18 16:38:48 CEST
When screenshooter is in region select mode, there is no way to cancel it. The user has to select a rectangel, nothing else will do.

I propose that any keyboard input will automatically cancel the screenshot (that's how scrot does it)
Comment 1 Shuhao 2013-11-17 18:36:05 CET
+1.

I propose ESC cancel, however.
Comment 2 Shuhao 2013-11-17 18:46:41 CET
Wait. This already exists: 

http://git.xfce.org/apps/xfce4-screenshooter/tree/lib/screenshooter-capture.c#n878

However if I map a keyboard shortcut to xfce4-screenshooter -r, ESC won't cancel.

Version 1.8.1
Comment 3 Landry Breuil editbugs 2015-02-11 21:20:26 CET
*** Bug 10552 has been marked as a duplicate of this bug. ***
Comment 4 Landry Breuil editbugs 2015-02-11 21:39:58 CET
This now seem to work fine in 1.8.2... can you still reproduce it ?
Comment 5 haarp 2015-02-11 21:45:59 CET
(In reply to Landry Breuil from comment #4)
> This now seem to work fine in 1.8.2... can you still reproduce it ?

Yes.

$ xfce4-screenshooter -V
xfce4-screenshooter 1.8.2

Keys have no effect. Esc does nothing
Comment 6 haarp 2015-02-12 13:55:39 CET
Weird. If I start screenshooter from a terminal, Esc works. If it's started via keyboard shortcut, Esc does nothing.
Comment 7 Jérôme Guelfucci editbugs 2015-02-12 19:24:31 CET
Hello,

This is an old bu I never managed to fix. When you call xfce4-screenshooter -r with a keyboard shortcut, the keyboard grab needed to "watch" the escape key fails under certain conditions I failed to find. In that case, it's indeed impossible to cancel the selection.

Cheers,

Jérôme
Comment 8 wolf 2016-12-11 21:05:16 CET
+1

Esc cancel works when run as `xfce4-screenshooter -r` from terminal, but does not when the command is run as an XFCE shortcut
Comment 9 d.j.a.y 2017-12-21 12:31:18 CET
(In reply to wolf from comment #8)
> +1
> 
> Esc cancel works when run as `xfce4-screenshooter -r` from terminal, but
> does not when the command is run as an XFCE shortcut

In fact when starting from shortcut the kb focus is't gave to the screenshooter ... and so kb goes to 'previous' window .
Comment 11 haarp 2018-03-08 12:59:29 CET
esc seems to be working now. Thanks!

Bug #10260

Reported by:
haarp
Reported on: 2013-07-18
Last modified on: 2018-03-08
Duplicates (1):
  • 10552 Make a way to cancel region selection

People

Assignee:
Jérôme Guelfucci
CC List:
4 users

Version

Version:
unspecified

Attachments

Additional information