| Summary: | KScreenLocker cannot be screenshotted (by "Full Screen" mode) | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Roke Julian Lockhart Beedell <4wy78uwh> |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 6.4.1 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| URL: | https://discuss.kde.org/t/how-to-screenshot-kscreenlocker/36494/3?u=rokejulianlockhart | ||
| See Also: | https://bugs.kde.org/show_bug.cgi?id=501593 | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
A Screenshot Of The Error In Spectacle's GUI
A Screencast That Demonstrates How To Reproduce This |
||
|
Description
Roke Julian Lockhart Beedell
2025-07-03 14:05:40 UTC
(In reply to Roke Julian Lockhart Beedell from comment #0) Per https://discuss.kde.org/t/how-to-screenshot-kscreenlocker/36494/15?u=rokejulianlockhart, this solely affects my laptop. This works on my desktop: > ~~~ > Operating System: Fedora Linux 42 > KDE Plasma Version: 6.4.1 > KDE Frameworks Version: 6.15.0 > Qt Version: 6.9.1 > Kernel Version: 6.15.4-200.fc42.x86_64 (64-bit) > Graphics Platform: Wayland > Graphics Processor 1: AMD Radeon RX 5700 > Graphics Processor 2: AMD Radeon Graphics > Manufacturer: ASRock > Product Name: X670E Taichi > ~~~ It's not completely clear, but it seems like it might be intentional that you can't get screenshot from KWin of the real screenlocker for security. You should be able to to take screenshots if you open the screenlocker in a window like what was described in the original discussion thread. Spectacle may be able to get a message from KWin to cancel the screenshot so that you don't see this as an error in the future. (In reply to Roke Julian Lockhart Beedell from comment https://bugs.kde.org/show_bug.cgi?id=501593#c10) > I presume that you're referring to > https://bugs.kde.org/show_bug.cgi?id=506534. If so, have you seen > https://discuss.kde.org/t/how-to-screenshot-kscreenlocker/36494/ > 15?u=rokejulianlockhart? It's quite possible, on both Wayland and X: it's > solely on my laptop that it fails, and without CSDs, it's just a window like > any other. I did reproduce the screenshot problem with the real screenlocker Created attachment 182949 [details] A Screencast That Demonstrates How To Reproduce This (In reply to Noah Davis from comment #3) > I did reproduce the screenshot problem with the real screenlocker Yeah, I got confused, thinking that invoking `kscreenlocker` was equivalent to invoking `qdbus-qt6 org.freedesktop.ScreenSaver /ScreenSaver Lock`. Please hide https://bugs.kde.org/show_bug.cgi?id=506534#c1, if possible. It definitely reproduces when I run `spectacle --new-instance --fullscreen --delay 4000`, then `qdbus-qt6 org.freedesktop.ScreenSaver /ScreenSaver Lock`, as the attached video depicts. I've another screencast that goes over every mode that's exposed via `man spectacle`, but it's basically the same outcome for all of them: either this error, of https://bugs.kde.org/show_bug.cgi?id=501593#c0's. (However, Window Under Cursor and Rectangular Region just doesn't work, since they don't see it as a window, or can't render over it.) Yes, this is intentional. The are workarounds you can use, as mentioned earlier. (In reply to Nate Graham from comment #5) In which case, shouldn't it return a more comprehensible error? A better error message would be nice, but this is such a super duper specific unsupported thing to do that I'm not sure it's worth tracking with a bug report. Feel free to submit a patch yourself, of course. I see from your invent profile that you're a software developer now! This could be some good practice. |