Bug 504877

Summary: User interface and image become jaggy/improperly scaled, probably because of font scaling
Product: [Applications] kolourpaint Reporter: André <awvalenti+kde>
Component: generalAssignee: kolourpaint-support
Status: RESOLVED DUPLICATE    
Severity: normal CC: john.kizer
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Sample screenshot of both jaggy and correct displays

Description André 2025-05-27 17:47:35 UTC
Created attachment 181782 [details]
Sample screenshot of both jaggy and correct displays

SUMMARY

KolourPaint Flatpak 25.04.1 messes up pixels when pasting anything to it. Please check the attachments.


STEPS TO REPRODUCE
1. Copy anything to clipboard (especially when doing a printscreen)
2. Paste it into KolourPaint

OBSERVED RESULT
Image gets jaggy

EXPECTED RESULT
Image should be exactly as the copied one

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window) - kinfo didn't work
Linux/KDE Plasma: Linux Mint 21.3 Cinnamon 64-bit
KDE Plasma Version: don't know
KDE Frameworks Version: 6.13.0
Qt Version:  6.8.3

ADDITIONAL INFORMATION
Saved image is fine. It only is displayed badly during editing

KolourPaint Flatpak 25.04.1 presents the problem.

KolourPaint installed via apt install (v21.12.3, KDE Frameworks 5.92.0, Qt 5.15.3) works fine, does not have this bug.

This may be caused by font scaling factor of 1.3 that I use on Linux Mint. Flatpak version seems to simply scale everything (including icons on left and image on canvas) and that causes the problem.
Comment 1 André 2025-05-28 14:14:33 UTC
Comment on attachment 181782 [details]
Sample screenshot of both jaggy and correct displays

On the left, improperly scaled. On the right, correct behavior.
Comment 2 André 2025-05-28 14:15:28 UTC
Confirmed that it also occurs when installing Kolourpaint via snap.
Comment 3 John Kizer 2025-05-29 18:39:42 UTC
Hi - merging this in with the existing report for KolourPaint not displaying images as expected when screen scaling is in use. Thanks!

*** This bug has been marked as a duplicate of bug 436615 ***