https://bugs.kde.org/show_bug.cgi?id=386250
Boudhayan Gupta <m...@baloneygeek.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |INTENTIONAL --- Comment #6 from Boudhayan Gupta <m...@baloneygeek.com> --- This is due to the way KWin handles taking screenshots in Wayland mode. The "click now to take a screenshot" screen is presented by KWin as a security feature to let you know some app is trying to grab the screen image. If you cancel out of it, no image is returned, which is why you see Spectacle with a null image. This works exactly as designed. KWin doesn't know who asked for the screenshot, so it can't kill the application which requested it if the grab is cancelled. Also, even if it could, how do you differentiate the initial grab and subsequent grabs (with the Take New Screenshot button for example) where Spectacle shouldn't be killed? Note that we can't just tell KWin our PID and whether we should get killed if the grab is cancelled because: (a) this information can be faked, and a malicious program could use it to kill other stuff. (b) in things like Flatpak, Spectacle and KWin might live in different PID namespaces, leading to us killing the wrong app again. -- You are receiving this mail because: You are watching all bug changes.