https://bugs.kde.org/show_bug.cgi?id=485988

--- Comment #1 from Noah Davis <noaha...@gmail.com> ---
> But if there's a use case for getting Spectacle appearing after Escape that 
> I'm not sensitive to, it could be a separate config item?

The use case is currently, "opened spectacle window, then decided to do
rectangle capture, then decided not to" and also because the old spectacle
(22.12) used to go back when you pressed escape. Not sure if the current
behavior is exactly the same as the old though.

In most cases, starting in rectangle capture mode and pressing escape already
quits spectacle. There are currently only two cases I can think of where it's
possible to start in rectangle capture mode without completely exiting when you
press escape:

- Launching spectacle from the command line with `spectacle -r`. Note the
absence of the `-b`/`--background` option. Unless you explicitly put a
different start mode, spectacle will use GUI mode.
- Launching spectacle from either an app menu or the Print key with the "Use
last-used capture mode" setting.

It may be possible to tweak the behavior for those cases.
We have the ability to know when `-r` was specified, so we could potentially
make Spectacle exit on pressing Escape when it was started with `-r`.
I'm more hesitant to change the behavior for the "Use last-used capture mode"
setting because that setting makes it a bit more inconvenient to pick other
capture modes when started in rectangle capture mode. There's still the Options
menu for changing capture modes though, so it's not like you'd be stuck in the
rectangle capture mode either way.

I wouldn't want to make the behavior depend on "Quit after manual Save or Copy"
because pressing Escape is not a manual save or copy. Perhaps the setting name
doesn't quite match with the average user's true desires, perhaps it does.

I'm not a fan of adding yet another setting, but I'm not totally against it.
Figuring out a good way to present a setting is important when adding it and
the current organization of keyboard input related settings could be better.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to