Bug 483883 - Rectangular Region preview looks grainy on external screen
Summary: Rectangular Region preview looks grainy on external screen
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.02.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-18 08:40 UTC by Andrea Ippolito
Modified: 2024-04-11 07:07 UTC (History)
3 users (show)

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


Attachments
spectacle-grainy-preview (2.81 MB, image/jpeg)
2024-03-18 08:44 UTC, Andrea Ippolito
Details
same-screen-region-spectacle-closed (2.52 MB, image/jpeg)
2024-03-18 08:44 UTC, Andrea Ippolito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea Ippolito 2024-03-18 08:40:12 UTC
Wayland, laptop screen 125%, external screen 100%.

On the external screen only, the preview for the Rectangular Region capture mode looks very grainy.

This only affects the preview, the captured screenshot does not look like that (actually, it's over-smoothened to the point of being blurry, see https://bugs.kde.org/show_bug.cgi?id=483876)

I am uploading photos to show what I see when the Rectangular Region is active in Spectacle, and then the same portion of the screen when I quite Spectacle, just to show how striking the difference is.

Again, this is only affecting the in-app preview, but it's not a nice sight.

Thanks :)

System info:

Operating System: openSUSE Tumbleweed 20240315
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Memory: 30,5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7
Comment 1 Andrea Ippolito 2024-03-18 08:44:05 UTC
Created attachment 167400 [details]
spectacle-grainy-preview
Comment 2 Andrea Ippolito 2024-03-18 08:44:39 UTC
Created attachment 167401 [details]
same-screen-region-spectacle-closed
Comment 3 Andrea Ippolito 2024-03-18 08:45:43 UTC
There is some lens distortion in the photos, but the difference is quite visible if you check the line "Comment [...]¨ just above the text area
Comment 4 netizen 2024-04-10 11:37:43 UTC
Same setup, same problem
Comment 5 netizen 2024-04-10 14:41:56 UTC
I've the same problem (same setup).

I've just cloned the repo and compiled it (I've had to delete constexpr from src/Gui/Annotations/AnnotationDocument.cpp:30 to get it to compile). After replacing the distribution (up to date KDE Neon User Edition, Plasma6) build binary in /usr/bin, this doesn't happen anymore.

There're some recent commits that made me wonder it could be already fixed:

https://invent.kde.org/graphics/spectacle/-/commits/master?ref_type=heads
Comment 6 Nate Graham 2024-04-10 17:56:41 UTC

*** This bug has been marked as a duplicate of bug 478426 ***
Comment 7 Andrea Ippolito 2024-04-10 18:32:33 UTC
Hello Nate,

This issue is ONLY about the preview inside Spectacle's rectangular selection.

The content that is actually captured from that region appears correctly once captured.

So this isn't a duplicate of 478426 since that one is about the actual result of the capture. Reopening.
Comment 8 netizen 2024-04-11 06:51:53 UTC
I agree, but as I've said in the prior comment, this very cosmethic defect is already fixed in the trunk source.
Comment 9 Andrea Ippolito 2024-04-11 07:07:11 UTC
(In reply to netizen from comment #8)
> I agree, but as I've said in the prior comment, this very cosmethic defect
> is already fixed in the trunk source.

Ok, so I guess that RESOLVED FIXED is more accurate, I'll update it.