Bug 28979

Summary: Spectacle: Wrong part of the screen is captured in not alligned multiscreen desktop. Fixed by more recent version.
Product: Mageia Reporter: Alejandro Vargas <alejandro.anv>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: maat-ml
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://bugs.kde.org/show_bug.cgi?id=436912
Whiteboard:
Source RPM: spectacle-20.12.0-2.mga8.src.rpm CVE:
Status comment:

Description Alejandro Vargas 2021-05-28 12:25:23 CEST
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         |
+------------------+      HDMI        |
|                  |                  |
|      left        |-------------+----+
|      DP1         |             |
|                  |   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.



Reported to kde (https://bugs.kde.org/show_bug.cgi?id=436912) but I tried downloading and compiling spectacle 21.07 and the problem is solved in this version.
Comment 1 Lewis Smith 2021-06-02 22:14:20 CEST
Thank you for the report, and the good diagram which illustrates the problem.

> In previous versions of spectacle it worked ok
> downloading and compiling spectacle 21.07 and the problem is solved
> in this version
Thank you for trying this - successfully. When the update eventually gets done (core/updates_testing), which will be noted in this bug, please can you test it. We are unlikely to be able to because of the special hardware setup.

Assigning to the KDE team. Not sure whether UPSTREAM status is applicable, since the reporter was able to fix it himself.

Assignee: bugsquad => kde
Summary: Wrong part of the screen is captured in not alligned multiscreen desktop => Spectacle: Wrong part of the screen is captured in not alligned multiscreen desktop. Fixed by more recent version.
URL: (none) => https://bugs.kde.org/show_bug.cgi?id=436912

Comment 2 Alejandro Vargas 2021-06-03 10:49:12 CEST
(In reply to Lewis Smith from comment #1)

> Thank you for trying this - successfully. When the update eventually gets
> done (core/updates_testing), 

I will try the new packet as soon as I it appears in core/updates_testing.
Comment 3 Maat 2021-07-04 17:38:27 CEST
Hello,

For your information is i launch spectacle after this :

export QT_SELECT=qt5

The the behavior is far better... maybe you can try to see if it fixes things for you ?

Maât

CC: (none) => maat-ml

Comment 4 Alejandro Vargas 2021-07-05 09:08:19 CEST
(In reply to Maat from comment #3)
> export QT_SELECT=qt5

Same behavior with old version. New versions work ok.
Comment 5 Maat 2021-07-11 11:39:58 CEST
Yes i've seen that it did not work 100% for me either.

An other try : disable VSYNC ( https://www.reddit.com/r/kde/comments/k43ag1/screenshotscreen_capture_shows_cached_windows/ )

For that go to plasma setup -> choose compositor -> In tearing prevention (VSync) choose : Never

Does it bring an improvement ?