SUMMARY STEPS TO REPRODUCE 1. Press PrintSCreen to launch Spectacle OBSERVED RESULT Spectacle is launched in weird (outdated) design and does not work on clicking a button to take screenshot (just minimizes and maximizes again) console log: kdeinit5: Got EXEC_NEW '/usr/bin/spectacle' from launcher. kdeinit5: preparing to launch '/usr/bin/spectacle' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' kdeinit5: PID 537624 terminated. EXPECTED RESULT Spectacle is launched properly. (It can be launched alright if I call it from a launcher directly, not via PrintScreen button) SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.1 ADDITIONAL INFORMATION
It seems to be launching as root by some mistake and no settings are respected, e.g. minimize/maximize is due to fullscreen capture instead of previously set rectangular region
If XDG_RUNTIME_DIR is not set, you're going to have problems with more than just spectacle. :) What OS are you using and how did you install Spectacle or anything else?
This was some weird bug as it has disappeared after reboot. I suspect some upgrade cause this.
OK, thanks. :)