Bug 436912

Summary: Wrong part of the screen is captured in not alligned multiscreen desktop
Product: [Applications] Spectacle Reporter: Alejandro Vargas <alejandro.anv>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, meven.car, nate
Priority: NOR    
Version First Reported In: 21.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 21.08
Sentry Crash Report:

Description Alejandro Vargas 2021-05-11 08:12:36 UTC
When trying to take a shot of a rectangular area of screen, wrong coordinates are selected if the monitor is not alligned multiscreen desktop


Example screen distribution

                   +------------------+
                   |                  |   
                   |      top         |
+------------------+                  |
|                  |                  |
|      left        |-------------+----+
|                  |             |
|                  |   laptop    |
+------------------+   screen    |
                   |             |
                   +-------------+

Choose rectangular area capture
Select from left monitor which is not aligned with others

Result: wrong part of the screen is captured. 
It's only working ok when top and left monitors are aligned.

Capturing in top and laptop monitors are ok.
In previous versions of spectacle it worked ok.

Spectacle 5.20.4
KDE Frameworks 5.76.0
Qt 5.15.2 (compilado con 5.15.2)
xcb
Comment 1 Alejandro Vargas 2021-05-28 10:21:17 UTC
Tried Spectacle 21.07 and it worked OK.
Comment 2 Nate Graham 2021-05-28 15:46:22 UTC
Excellent! A lot of work has gone into this kind of thing, so it's not big surprise to hear that. :)