Created attachment 182570 [details] A screenshot of Specatacle rectangular selection interface with the Export > Share meny unfolded Spectacle fails when you select a rectangle and try to export and then try and export and share it directly from the rectangle defining interface (I have added an attachment to clarify what I mean). STEPS TO REPRODUCE 1. Choose New Screenshot > Rectangular Region 2. Select a rectangle and press "Export" in the lower right hand corner 3. From "Share" choose "Send via Email|via Telegram|via Bluetooth|to Device", or "Upload Publicly to Imgur" OBSERVED RESULT The app fails with an error saying that the image to be shared does not exist: /tmp/Spectacle.nvNrmb/Screenshot_20250623_194559.png does not exist EXPECTED RESULT That the screenshot is shared. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.4.0 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.1 Kernel Version: 6.15.3-arch1-1 (64-bit) Graphics Platform: Wayland
Can reproduce. Looks like it fails to generate a temporary file for the export action, or else misplaces it or something.
Perhaps related to Bug 506047.
*** Bug 510231 has been marked as a duplicate of this bug. ***
Raising priority due to it being a basic feature that's broken.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/spectacle/-/merge_requests/482
Git commit ab1b9187c1bf18357ba10f74e4648ab3a3158124 by Noah Davis. Committed on 22/10/2025 at 10:52. Pushed by ndavis into branch 'master'. Set export image and update timestamp when entering the rectangle screenshot mode I think there was a reason why I didn't do this before. It may have had something to do with what should happen when canceling a rectangle screenshot. It seems like there isn't any reason not to do it now since there isn't any way to undo the base image change when doing a new rectangle screenshot. Related: bug 506047 M +3 -1 src/SpectacleCore.cpp https://invent.kde.org/plasma/spectacle/-/commit/ab1b9187c1bf18357ba10f74e4648ab3a3158124
Git commit e2c66f2e54b797300fb320ebd43dfe09e219f0d9 by Noah Davis. Committed on 22/10/2025 at 16:12. Pushed by ndavis into branch 'Plasma/6.5'. Set export image and update timestamp when entering the rectangle screenshot mode I think there was a reason why I didn't do this before. It may have had something to do with what should happen when canceling a rectangle screenshot. It seems like there isn't any reason not to do it now since there isn't any way to undo the base image change when doing a new rectangle screenshot. Related: bug 506047 (cherry picked from commit ab1b9187c1bf18357ba10f74e4648ab3a3158124) Co-authored-by: Noah Davis <noahadvs@gmail.com> M +3 -1 src/SpectacleCore.cpp https://invent.kde.org/plasma/spectacle/-/commit/e2c66f2e54b797300fb320ebd43dfe09e219f0d9
This bug still is happening in 6.5.1... I can't upload directly to imgur and it's the same root cause regarding the filename not existing if I run it from the command line.