Why is scaling still an issue on Linux?

I’d think in Krita 6.0 with the move to native wayland support, i thought the issue of krita not scaling properly would be fixed. However it’s still always too small, and the fractional scaling menu is always grayed out.

Yes I know QT_SCALE_FACTOR exists, but telling users to pass an env varaible that doesn’t even work half the time is not good UX. There should at least be a proper menu for this in the settings.

I’d be intrested to contribute to a solution to this problem, I’m just wondering why it’s like this in the first place.

You may need to run Krita with the environment variable QT_QPA_PLATFORM=wayland. Help->System Information for Bug Reports should show Qt Platform name as “wayland”.

I do that, and i can confirm it runs on wayland by the fact that i can’t select it with xprop.

Could it maybe be that the actual scaling is smaller than it should be? I increased my scaling to 150%, and it does get bigger, but not big enough to match the scaling.

Here is the menubar compared to other KDE apps (kdenlive, kate):

There is ui font sizing in settings->configue krita->general->window->custom font

You can change the font size there of the ui.

font scaling is not a solution, it just makes the font bigger. Icons and menus will still be too small.

I’m looking to fix the core of the issue here, not find workarounds for myself, cus I can just pass an env variable.

I understand, but do understand that some things can look visually bigger or smaller due to other elements, for example, taking your picture, I took the File from Kate and dragged it, to Krita and as you can see the font height is the same. I also took the mdi tab and it is also same height. The only difference is likely contrast making it seem more pronounced.

The text size might be close, but the buttons are tiny in comparasion, which really matters when you’re trying to hit these with a pen or finger.

Would increasing the padding on some things (In line with other KDE apps) or making a manual scaling option be too difficult?

The buttons are same size.

But yes, the file has about 2 pixels more height padding and around 6 pixels width padding

With this script of @AkiR that I link below, you can adjust the icons pixel wise:

Alternatively you can download it as python file that you can run via the Ten Scripts plugin:

Michelist

This script does not work in krita 6.0, as it relies on QT 5

That is sad. Sorry. :cry:

Michelist

Additionally:

  • The toolbar is a lot shorter, even if the buttons themselves are a simmilar size visually
  • Options in menubar menus have way less padding (and don’t have any icons)
  • Any buttons (like in the configure window) are shorter

I think the fact that krita ignores any QT styles in your system and uses it’s own Fusion is partially to blame here.

Scaling from 125% to 150% does give the buttons a simmilar size do what you see in Kate, but while an increased font size.

Actually yeah, Fusion is the issue.

Kate’s buttons do also get really tiny if you set its style to Fusion. If krita just used Breeze it would improve usablity on a tablet a lot.

Which version of Krita are you using? (by version I mean like appimage, package manager, flatpak) You can change themes by going to Settings and there is Themes and Styles. On my system it uses Breeze, not Fusion.

The appimage.
Yes, with system packages exclusively, you can set a custom style.
System packages are not the recommended format for krita anywhere, and are hard to get on immutable distros. The appimage, flatpak, snap or any other format doesn’t come with the Breeze theme.

From what I can find this was disabled back in 2020 because of some niche visual bug that has been fixed by now. I really think it should be bundled or even set as default now.

Sorry, missed the first post :P.

You can try setting QT_SCALE_FACTOR env variable to some other value, and see if Krita looks bigger. Tested with Kubuntu Krita 5.2.11 appimage, maybe also works with Krita6 (Qt 6)?

in console go to folder where krita AppImage is and start Krita with custom scaling. (change 3.2 to something that works for you)

QT_SCALE_FACTOR=3.2 ./krita-5.2.11-x86_64.AppImage

edit: sorry added.

/AkiR

Someone else made a thread on adding breeze again that was kinda ignored.

Not ignored. It is just not as relevant as other feature request or bugs for the community.

Actually, I’m surprised it isn’t considered more important, given that people are always asking for Krita to look more “modern” or “better.”