Bug 468912 - Visual bug in the new Spectacle preview with multiple monitors and monitor scaling in Wayland
Summary: Visual bug in the new Spectacle preview with multiple monitors and monitor sc...
Status: RESOLVED DUPLICATE of bug 462860
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 23.04.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-24 16:38 UTC by Hexagon
Modified: 2023-04-24 17:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Visual artifacts with 150% scaling on the left monitor (751.86 KB, image/jpeg)
2023-04-24 16:38 UTC, Hexagon
Details
Visual artifacts with 200% scaling on the left monitor (926.89 KB, image/jpeg)
2023-04-24 16:39 UTC, Hexagon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hexagon 2023-04-24 16:38:29 UTC
Created attachment 158386 [details]
Visual artifacts with 150% scaling on the left monitor

After the new UI update for Spectacle a new visual bug appeared in the preview, as can be seen in the attached screenshots.

STEPS TO REPRODUCE
1. Open KDE Plasma in Wayland mode
2. Attach at least two monitors to your GPU. In the display settings set scaling of the left monitor to 150% and of the right monitor to 200%. This can depend on the resolutions. I think the right monitor must be "bigger" in the display settings preview to see this effect.
3. Open Spectacle and take a new screenshot with "rectangular region"

OBSERVED RESULT
The preview to select the rectangle shows a visual artifact. The right part of the right monitor gets duplicated to the left side of the right monitor, obstructing the view to the content behind. The area that gets duplicated depends on the scaling factor of the left monitor. The bigger the scaling factor of the left monitor the more gets duplicated on the right monitor.

EXPECTED RESULT
There are no visual artifacts. The preview shows the correct content.

SOFTWARE/OS VERSIONS
Linux: 6.2.12-arch1-1 (64-bit)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Comment 1 Hexagon 2023-04-24 16:39:49 UTC
Created attachment 158387 [details]
Visual artifacts with 200% scaling on the left monitor
Comment 2 Noah Davis 2023-04-24 16:53:47 UTC
Fixed in 23.04.1

*** This bug has been marked as a duplicate of bug 462860 ***
Comment 3 Hexagon 2023-04-24 17:05:50 UTC
(In reply to Noah Davis from comment #2)
> Fixed in 23.04.1
> 
> *** This bug has been marked as a duplicate of bug 462860 ***

Cool, thank you. I will test it again when 23.04.1 gets packaged for my distribution.