UI element is way too small. How to make it larger?

The Show Common Colors palette (CTRL+U) is a feature I use quite often to help maintain colour consistency. Am I in a minority of users who finds it nearly too difficult to use because it is just far too small especially on HD displays?

When moving the pointer to the little circle icon I stray outside the narrow little strip and the palette loses focus.

May I respectfully propose a slight redesign; a more compact and user-friendly size?

I’ve changed the category to Develop: Feature Requests and removed the linux tag.

I have a similar issue with the right-click panel. Even when I set it to max size, on a 4K screen it’s still quite small.

Hi muhuk, just to check, are you running Krita in hi-dpi mode? It should make the UI bigger. I haven’t tested it, maybe it wouldn’t affect the widgets you mention.

I think so:

These are my pop-up pallette settings:

Maybe try
set QT_SCALE_FACTOR=0.75
as a boot up parameter.
I guess this should work on all operating systems and not only using Windows.

@freyalupen described it here in detail:

Michelist

1 Like

Oh I see you are on Linux. You can’t enable fractional scaling? It will matter if your screen scale is 150% or something like that. I need fractional on Windows, because I use a 4K display @ 150% scale.

Fractional scaling is only supported on Windows.

On Linux/macOS, you’d do export QT_SCALE_FACTOR=[factor] in the command line instead. (Different environment variable setting syntax.)

Both the Show Common Colors and Popup Palette are affected correctly by display scale factor. With the former, it’s just a bit small by default, and extremely finicky with closing itself when the mouse leaves it. However, the size of the color patches can be configured in the Advanced/Wide-Gamut Color Selector dockers’ settings.

2 Likes

@freyalupen: I knew it was good to refer to you, because I only know Windows really well.

Michelist

1 Like

Setting envvar QT_SCALE_FACTOR=1.5 seems to make the pop-up pallette larger. However now everything else is also larger. Because my KDE scaling is already 1.5 (like @YRH ) and it seems the scale factor applied it 2.25 all over the app. I just wanted to make the pop-up pallette larger.

Sorry, but then you need your feature request implemented, because we only can apply global settings here, at least as I understand it.

Michelist

1 Like

A “good day” for me, is a day when I learn something new. Coders have already allowed the tiny palette to be enlarged.

These new settings now make the popup much more comfortable to use.

Thanks to all who provided enlightenment.

1 Like

Argh, I did not realize it was this palette, because I never used it via this shortcut. :joy:
I guess you had got your answer a lot earlier, but at least we now have learned something new! :+1:

Michelist

@muhuk Do you have problems with the size of any other UI elements, like the toolbar icons? Maybe there is an issue with your scaling settings somewhere, as the maximum popup palette size should normally be very large.

I did some testing on Linux, and it’s best explained in screenshots.
I’m using Plasma 5 with Wayland (Fedora KDE spin), with display scale set to 200%.
This is what Krita looks like normally:


It’s wrong, the text is the right size but most everything else is not scaled. (But I’m used to my VM Linux being kinda broken, so I usually ignore it.) In Krita’s System Info log, it shows scale under Display Information as 1, not 2.

This is what Krita looks like if I change Plasma’s System Settings->Display Configuration->Legacy Applications (X11) from the “Apply scaling themselves” to “Scaled by the system”:


It’s blurry (as expected), but otherwise correct, matching what I see on macOS with 2x scaling.

@freyalupen I am running Krita on Linux Mint 21.3 Cinnamon with NVIDIA GP107 [GeForce GTX 1050] driving a 2560x1440 monitor. All of the other UI elements are displaying correctly and appear to be in proportional harmony.

Maybe the shipped defaults of the “List Colors from Image” popup need to be changed as most displays nowadays are of relatively high dpi. Also, I made a mistake in original post - the hotkey of course is U and not Ctrl+U.

Another day, another senior moment.

1 Like

Like I said above, I’m happy with everything else. I just want to be able to make the pop-up palette larger.

(Also BTW I’m not on Wayland)

@mugwah apologies for hijacking your thread.

Now that I think of it, there is a way to do that, by modifying the config file. In .config/kritarc search for the line popuppalette/size= and modify it, it will respect values beyond the maximum in the UI.

1 Like

Oops, I didn’t even realize that the questioner changed from @mugwah to @muhuk in the course of this topic.
:flushed:

Michelist

@muhuk Not a problem - your issue is in the same ballpark. My pop-up palette (on linux) is comfortable at a setting of 390px.

I can shift it up to Max at 550px but at that size it looks like it escaped from the large type section of the municipal library!

2 Likes

Most indeededly it works! I set it as 850 and also made the color selector 360. Thanks a lot!