https://bugs.kde.org/show_bug.cgi?id=430415

            Bug ID: 430415
           Summary: Global scale breaks Rectangular Region capture
           Product: Spectacle
           Version: 20.12.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: m...@baloneygeek.com
          Reporter: frederick...@tsundere.moe
                CC: k...@david-redondo.de
  Target Milestone: ---

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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to