Bug 475065 - spectacle window misaligned in multi-monitor set up
Summary: spectacle window misaligned in multi-monitor set up
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.08.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
: 476370 478491 481284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-09-30 20:25 UTC by fanzhuyifan
Modified: 2024-02-13 04:32 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.02
Sentry Crash Report:


Attachments
Image showing spectacle misalignment (2.64 MB, image/jpeg)
2023-09-30 20:25 UTC, fanzhuyifan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fanzhuyifan 2023-09-30 20:25:11 UTC
Created attachment 161977 [details]
Image showing spectacle misalignment

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Setup a dual-monitor system with the external screen on the left and the laptop screen on the right.
2. In KDE plasma, set global scale to 125%
3. Launch spectacle with rectangular region with `spectacle -r -b`

OBSERVED RESULT
The spectacle window on the laptop screen shows misaligned screen contents (see picture)

EXPECTED RESULT
The spectacle window on the laptop screen should display correctly aligned screen contents.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
The issue disappears when I run with
```
QT_SCREEN_SCALE_FACTORS=1 spectacle -r -b
```
The default value of QT_SCREEN_SCALE_FACTORS is 
```
eDP-1=1.25;DP-1=1.25;DP-2=1.25;DP-1-0=1.25;DP-1-1=1.25;HDMI-1-0=1.25;DP-1-2=1.25
```
Comment 1 Nate Graham 2023-10-11 19:31:28 UTC
Is this on X11 or Wayland?
Comment 2 fanzhuyifan 2023-10-11 19:38:57 UTC
X11.
Comment 3 Nate Graham 2023-10-12 22:56:26 UTC
Thanks. This is fixed in the upcoming Spectacle 24.02 release already.
Comment 4 fanzhuyifan 2023-12-14 06:41:39 UTC
*** Bug 478491 has been marked as a duplicate of this bug. ***
Comment 5 fanzhuyifan 2024-01-28 03:19:17 UTC
*** Bug 476370 has been marked as a duplicate of this bug. ***
Comment 6 fanzhuyifan 2024-02-13 04:32:20 UTC
*** Bug 481284 has been marked as a duplicate of this bug. ***