Created attachment 182421 [details] A Screenshot That Depicts The Banners # SUMMARY Since updating Spectacle to version "6.4.0-1.fc42", when the primary Spectacle GUI is visible, the "Print Screen" key produces an error banner instead of capturing a full-screen screenshot when "Do not take a screenshot automatically" is the intial preference. # STEPS TO REPRODUCE 1. Invoke Spectacle. 2. If in the "Rectangular Region" GUI by default, select the button labelled "Options", then, regardless of GUI, the "Configure Spectacle..." QAction wherever it appears. 3. Enter the "General" page. 4. Select the button beside the "When launching Spectacle:" label. 5. Select the "Do not take a screenshot automatically" QAction. 6. Exit the configuration window. 7. Press "Print Screen". # OBSERVED RESULT "An error occurred while taking a screenshot" appears in a banner each time the key is pressed. # EXPECTED RESULT It should capture a full-screen screenshot, as it did before V6.4. # SOFTWARE/OS VERSIONS > ~~~ > Operating System: Fedora Linux 42 > KDE Plasma Version: 6.4.0 > KDE Frameworks Version: 6.15.0 > Qt Version: 6.9.1 > Kernel Version: 6.14.11-300.fc42.x86_64 (64-bit) > Graphics Platform: Wayland > Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor > Memory: 32 GiB of RAM (30.4 GiB usable) > Graphics Processor 1: AMD Radeon RX 5700 > Graphics Processor 2: AMD Radeon Graphics > Manufacturer: ASRock > Product Name: X670E Taichi > ~~~ # ADDITIONAL INFORMATION This is a trivial way to reproduce https://bugs.kde.org/show_bug.cgi?id=505784.
Created attachment 182422 [details] A Tangentially Related Error Window (In reply to Roke Julian Lockhart Beedell from comment #0) Capturing that screenshot was strangely difficult: is this a separate bug?
Created attachment 182425 [details] A Screenshot Of How To Configure Spectacle
Interestingly, despite this occurring to both my laptop and desktop immediately upon update to 6.4, it's not been corroborated at https://discuss.kde.org/t/after-the-plasma-6-4-update-see-an-error-occurred-while-taking-a-screenshot-when-i-use-the-print-screen-key-to-capture-a-screenshot-in-spectacle-on-multiple-devices/35858?u=rokejulianlockhart, so perhaps it's unique to something I've done. 🤷 I can't think of what: my installations are mostly stock. I'll create a new Neon VM to confirm.
I can't reproduce that; when I set it to "Do not take a screenshot automatically" and press PrintScreen, I get the expected window asking me what kind of screenshot I want to take, and there are no errors. Does this reproduce for you in a new clean user account on the same computer with no customization (other than switching to the "Do not take a screenshot automatically" setting)?
(In reply to Nate Graham from comment #4) I'll get back to you in a few hours: https://bugs.kde.org/show_bug.cgi?id=500038#c13 makes testing that really difficult whilst doing other stuff. I'll test both the laptop and desktop, since they both reproduce it.
Created attachment 182433 [details] Reproduction On A New User On The Desktop Machine (In reply to Nate Graham from comment #4) > Does this reproduce for you in a new clean user account on the same computer with no customization (other than switching to the "Do not take a screenshot automatically" setting)? It reproduces. I created an entirely new user via the KCM, switched to it, then solely opened Spectacle, customised that preference, and pressed the key, whereupon the banner appeared. Is there some kind of diagnosis I can do on my end to deterministically demonstrate what's going wrong? It's not as if the error message is very verbose. > I can't reproduce that; when I set it to "Do not take a screenshot automatically" and press PrintScreen, I get the expected window asking me what kind of screenshot I want to take, and there are no errors. You need to press it again, on that screen. From closed, one press makes the GUI appear, whereas the other induces the banner. The banner never appears upon first press.
Created attachment 182434 [details] Reproduction On A Neon ISO From 2025-06-08 (In reply to Roke Julian Lockhart Beedell from comment #3) > Does this reproduce for you in a new clean user account on the same computer with no customization (other than switching to the "Do not take a screenshot automatically" setting)? I can reproduce in the live image of `neon-unstable-20250608-1147.iso`. [^1] [^1]: https://bugzilla.redhat.com/show_bug.cgi?id=2374065#c0:~:text=Description%20of%20problem:-,I%20created%20a%20KDE%20neon%2Dunstable%2D20250608%2D1147.iso%20in%20virt%2Dmanager%2D5.0.0%2D2.fc42.noarch.,-SELinux%20is%20preventing
Aha, I can reproduce on a second press — as long as I have Spectacle set up to take a new screenshot when pressing PrintScreen while already open.
Created attachment 182441 [details] Reproduction In Another View Per https://bugs.kde.org/show_bug.cgi?id=505863#c0, I've somehow managed to reproduce this on another page, so it seems like our reproductions steps always work, but aren't 100% comprehensive.