Bug 488168

Summary: Wayland - flameshot scaling of screenshot is wrong
Product: [Plasma] kwin Reporter: Reuben <kde>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, noahadvs
Priority: NOR    
Version First Reported In: 5.27.11   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.1
Sentry Crash Report:

Description Reuben 2024-06-07 15:49:00 UTC
SUMMARY
I realize flameshot is not a KDE app (the overlay is significantly better UX than the default, and it would be nice to officially adopt it!) - but the developer states that this bug is caused by the underlying wayland compositor.

STEPS TO REPRODUCE
1. Use plasma wayland
2. Use fractional scaling
3. Set up flameshot
4. Take screenshot

OBSERVED RESULT
Flameshot does not receive scaled image. See https://github.com/flameshot-org/flameshot/issues/3614

EXPECTED RESULT
It should work identically to Xse

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 30.6 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUS

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-06-07 15:56:11 UTC
This should be fixed in at least Plasma 6.1 (if not 6.0), where the KWin screenshot tools got a lot smarter about scaled screen setups.