Bug 453352 - [Wayland] Undesired save to default folder
Summary: [Wayland] Undesired save to default folder
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 22.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-03 17:54 UTC by Szymon Łągiewka
Modified: 2022-11-13 15:51 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Undesired file on disk is confirmed (232.54 KB, image/png)
2022-05-03 17:54 UTC, Szymon Łągiewka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Łągiewka 2022-05-03 17:54:25 UTC
Created attachment 148542 [details]
Undesired file on disk is confirmed

SUMMARY
When using a shortcut to capture rectangular region, a screenshot is saved both to clipboard and as file. The option to save to a default folder is disabled.

My settings:
"Save file to default folder" off
After taking a screenshot: Copy image to clipboard

STEPS TO REPRODUCE
1.  Set "Save file to default folder" to off
2. Set "After taking a screenshot" to "Copy image to clipboard"
(possibly relog/reboot to make sure it applies properly)
3. Press meta+shift+prtscr
4. Select rectangular region

OBSERVED RESULT
1. Confirmation notification pops up for clipboard
1a. SS is indeed in clipboard
2. Confirmation notification pops up for file on disk 
2a. SS file is indeed in the default folder

EXPECTED RESULT
1. Confirmation notification pops up for clipboard
1a. SS is indeed in clipboard

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3
Kernel Version: 5.17.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6600 XT

ADDITIONAL INFORMATION
I've seen https://bugs.kde.org/show_bug.cgi?id=433442, which is a reverse of my issue. I just want the region to be in clipboard so I can forward it easily. Files on disk are just polluting my folder.

Great to see 22.04 finally support shortcuts without Spectacle running, but this file thing is just annoying.  

I've also observed things (I can't reproduce now) like:
a) clipboard not receiving the SS on the first try,
b) shortcut + region selection causing the opening of the Spectacle window, saving to clipboard with no file present. That's also annoying since I don't need that  window and need to close it manually. This might've been related to some weird steps I did why writing this issue. I also updated to 5.24.5, rebooted so there might've been something to that.
Comment 1 Justin Zobel 2022-11-11 07:06:15 UTC
I'm unable to replicate this issue, can you please test and confirm if the issue still occurs for you?
Comment 2 Szymon Łągiewka 2022-11-13 15:51:24 UTC
Updated my system to latest Fedora packages: frameworks 5.99, gear 22.08.1, Plasma 5.25.5. 

Quick test and seems like this is working properly - screenshots are saved only to the clipboard. 

I'm not using this PC much lately, so I will assume that this won't go rouge again. Closing as resolved.