Bug 492430

Summary: Krita GUI too small and glitchy
Product: [Applications] krita Reporter: m1vri31c
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 5.2.3   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshots

Description m1vri31c 2024-08-31 00:18:02 UTC
Created attachment 173149 [details]
Screenshots

SUMMARY
Krita GUI interface too small and has glitches where elements are cropped.

STEPS TO REPRODUCE
1. Open Krita while using KDE Plasma
2. Observe interface size
3. Open Krita using `env QT_AUTO_SCREEN_SCALE_FACTOR=1 krita` or alter the exec line in the .desktop to `Exec=env QT_AUTO_SCREEN_SCALE_FACTOR=1 krita %F`
4. Observe interface size

OBSERVED RESULT
Krita GUI interface too small and has glitches where elements are cropped, but is larger and without glitches when using `QT_AUTO_SCREEN_SCALE_FACTOR=1`.

EXPECTED RESULT
Krita interface appears normal without needing to adjust auto scale factor. 

SOFTWARE/OS VERSIONS
Operating System: NixOS 24.11
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.8.9 (64-bit)
Graphics Platform: Wayland
Comment 1 m1vri31c 2024-08-31 06:22:15 UTC
More info: the issue only occurs when my two monitors are both set to DIFFERENT global scaling. I didn't mention my global scaling earlier since I tested the issue at 100% scaling, but I didn't try turning off global scaling on my second monitor too. The issue goes away if both monitors use the same scale factor, regardless of what that is.
Comment 2 Halla Rempt 2024-10-31 14:10:55 UTC
I'm sorry, but this is not a bug in Krita, but in the way Qt handles display scaling. We cannot do anything about that.