SUMMARY Spectacle has become quite slow in taking screenshots, so that taking one of e.g. a specific frame of a video becomes quite difficult. STEPS TO REPRODUCE 1. Press the "print screen" key. OBSERVED RESULT There is a significant delay in taking the screenshot. EXPECTED RESULT The screenshot is taken immediately. SOFTWARE/OS VERSIONS Linux: KDE neon KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION
I tried setting desktop animation speed to "instant" and disabling compositing, but screen shots still have a painful delay after I press the keyboard shortcut. It was effectively instant when I used Xfce. This lag makes the KDE's screen shot feature mostly useless for gaming and video.
I measured the lag at about 1/3 of a second, which is a lot of lost frames. Method: Pressing Kronometer's Start key and Spectacle's Capture Active Window key at the same time. This was on an idle system with ~4 GHz CPU, an SSD, and both apps recently used (and therefore probably cached in RAM).
I also noticed this. In fact even simple things like displaying the version take alot of time and taking a screenshot a whopping 2s. LOG: $ time spectacle --version spectacle 23.04.0 spectacle --version 0,77s user 0,28s system 93% cpu 1,122 total # Take fullscreen screenshot in background to clipboard $ time spectacle -b -c -f spectacle -b -c -f 2,05s user 0,31s system 51% cpu 4,614 total SOFTWARE/OS VERSIONS Linux: EndeavourOS KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 Graphics Platform: Wayland
Note that this is still happening with KDE 6.