Hyprshot icon indicating copy to clipboard operation
Hyprshot copied to clipboard

Canceling screenshot with escape clearing clipboard

Open Spiderfffun opened this issue 1 year ago • 2 comments

When pressing escape while the -m region gui is opened, it leaves the screenshot tool, but still copies a screenshot (which doesn't exist) to the clipboard, clearing it.

Spiderfffun avatar Apr 23 '24 08:04 Spiderfffun

I looked into the code a little and it seems like all that has to be done is handling for this behaviour:

$ slurp -d
selection cancelled

Spiderfffun avatar Apr 23 '24 08:04 Spiderfffun

It's problem only with --clipboard-only. I think save_geometry logic must be refactored

I'll try a bit later

ProMix0 avatar Apr 23 '24 08:04 ProMix0