Bug 477072

Summary: spectacle on plasma 6 will enlarge when taking rectangular area screenshots
Product: [Applications] Spectacle Reporter: Firestar-Reimu <1900011604>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nicolas.fella
Priority: NOR Keywords: qt6
Version First Reported In: 24.01.75   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: resize to 200%

Description Firestar-Reimu 2023-11-16 02:39:54 UTC
Created attachment 163207 [details]
resize to 200%

When I use spectacle on plasma 5.27.80

I press meta+shift+prtsc and my screen suddenly enlarged to 200%, but active window/whole screen have no problem

X11 and Wayland have the same issue

I have a global scale of 200%, so spectacle actually enlarge to 400%

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.6.1-arch1-1 (64-bit)
Graphics Platform: X11
Comment 1 Noah Davis 2023-11-18 23:47:42 UTC
> X11 and Wayland have the same issue

I can only reproduce this on X11. Are you sure wayland has this issue?
Comment 2 Bug Janitor Service 2023-11-18 23:50:56 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/291
Comment 3 Firestar-Reimu 2023-11-20 00:34:20 UTC
> I can only reproduce this on X11. Are you sure wayland has this issue?

I tested again and I found that wayland do not have this issue. Maybe after some updates this issue has solved. As I clearly remembered I first find this issue on wayland and then X11

Now X11 still has this issue.
Comment 4 Noah Davis 2023-11-20 03:18:39 UTC
Git commit 506735d7f18a68d1f99434faddeda7980e88a9f6 by Noah Davis.
Committed on 20/11/2023 at 04:17.
Pushed by ndavis into branch 'master'.

Fix ImagePlatformKWin image scale on X11

M  +6    -1    src/Platforms/ImagePlatformKWin.cpp

https://invent.kde.org/graphics/spectacle/-/commit/506735d7f18a68d1f99434faddeda7980e88a9f6