SUMMARY I've set Global Scale to 2. After upgrading from 20.08.3 to 20.12.0, now when I try to capture a rectangular region, my whole desktop goes black with only the + mouse cursor showing and I cannot move it. STEPS TO REPRODUCE 1. Launch Spectacle 2. Capture a rectangular region OBSERVED RESULT Black screen. I can still hit ESC to interrupt the capture. If I run Spectacle via command line, an error message can be seen: $ spectacle --region --nonotify QPixmap::scaled: Pixmap is a null pixmap QPixmap::scaled: Pixmap is a null pixmap QPixmap::scaled: Pixmap is a null pixmap There was no such an error message when I was using Spectacle 20.08.3. My global scale is set 2 and Plasma sets QT_SCREEN_SCALE_FACTORS automatically. The issue is gone if I unset the environment variable and try the command above again: $ echo $QT_SCREEN_SCALE_FACTORS HDMI-0=2;DP-0=2;DP-1=2;DP-2=2;DP-3=2;DP-4=2; $ /usr/bin/env QT_SCREEN_SCALE_FACTORS='' spectacle --region --nonotify For now I've rolled Spectacle only back to 20.08.3 and it's working normally atm. EXPECTED RESULT Normally captures a rectangular region. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 Kernel Version: 5.9.14-zen1-1-zen OS Type: 64-bit
Works for me with 200% scale FWIW.
For me everything works, but since the latest version it got very slow and GPU intesive. Got same output in command line: $ spectacle --region --nonotify QPixmap::scaled: Pixmap is a null pixmap I use Global Scale set to 2: $ echo $QT_SCREEN_SCALE_FACTORS DP-0=2;DP-1=2;HDMI-0=2;DP-2=2;DP-3=2;HDMI-1=2;DP-4=2;DP-5=2; I think my issue might be related. I have NVIDIA GPU with binary nvidia drivers. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.20.4 KDE Frameworks Version: 5.77.0 Qt Version: 5.15.2 Kernel Version: 5.9.14-arch1-1 OS Type: 64-bit
Welp, it seems to be related to my weird display setup again... and probably nvidia lol (I'll definitely get an AMD next time sigh) I've got 3 displays: DP-0 1080p on the left, DP-3 4K in the middle (primary) and DP-1 1080p on the right. And my Xsetup command is: xrandr --fb 11520x2160 \ --output "$LEFT" --auto --scale 2.0 --dpi 256 --panning 3840x2160+0+0 --pos 0x0 \ --output "$MIDDLE" --auto --primary --scale 1.0 --dpi 163 --panning 3840x2160+3840+0 --pos 3840x0 \ --output "$RIGHT" --auto --scale 2.0 --dpi 205 --panning 3840x2160+7680+0 --pos 7680x0 And so far this is the only configuration that I can use to reproduce this problem. I've tried: 1. All 3 displays on, X scale all set to 1.0 2. Left and Middle on, Left scale set to 2.0 3. Left and Middle on, Left scale set to 1.0 4. Right and Middle on, Left scale set to 2.0 5. Right and Middle on, Left scale set to 1.0 ...and Spectacle rectangular region capturing worked just normally. Is it possible that this issue is only reproducible when X framebuffer is large enough?
Using 21.04.2 I don't have this issue any more.