file-commander icon indicating copy to clipboard operation
file-commander copied to clipboard

UI font is set to Segoe UI 10, but it should be 9

Open ftphikari opened this issue 2 years ago • 10 comments

Standard system font in Windows seems to be Segoe UI 9, 10 looks too squished, so please make it default to 9. Also there is no option to change it anywhere, adding a settings section that allows changing UI font would be useful.

ftphikari avatar Feb 04 '23 16:02 ftphikari

The default font for the file list is Roboto Mono Light 9. As for all the other text elements, I don't think I'm altering the default font. Please share a screenshot of the main window so that I could see what the problem looks like.

VioletGiraffe avatar Feb 05 '23 10:02 VioletGiraffe

This is when I set font to Segoe UI 9, it now matches the font in the window frame, but font in the rest of the UI is different and looks too squished. image

Segoe UI is the default font for Windows GUI programs by the way, so this program should default to it as well. Most people do not have Roboto fonts.

ftphikari avatar Feb 05 '23 17:02 ftphikari

I'm deploying the font with the program, of course no one has it, but it's loaded from the resources. So the question is why it didn't load. The font in the file list should be monospace, which Segoe UI is not. However, I do not touch the font settings for the path navigator combobox which you also highlighted - I don't see anything wrong there.

VioletGiraffe avatar Feb 05 '23 19:02 VioletGiraffe

What's wrong there is that it doesn't use the font of the system, or it uses the wrong size, I can't tell. Default font in Windows is Segoe UI 9, every GUI element should use that. Also I should probably be able to change it in the settings.

ftphikari avatar Feb 06 '23 07:02 ftphikari

I understand what you mean (for the most part). Looking at the code - yes, I'm increasing the default font size by 1, so if your default was 9, it becomes 10. I do it for the whole application, but I don't change anything else. The default 9 is just too tiny. And I don't see anything squished, not even on your screenshots. It's just ~10% larger in size.

On top of that, the default font specifically for the file list is Roboto Mono Light 9, but you can select any font you like in the preferences.

This +1 to font size could also be made an optional configurable parameter.

VioletGiraffe avatar Feb 06 '23 16:02 VioletGiraffe

I highlighter squished part on the screenshot. ik is way closer on the size 10 than on size 9. Either way, it being too tiny is a user preference, since default system uses size 9. Making it 1 point bigger is not desirable because it deviates from the system style. If the user finds system text too small, he can use Windows scaling for it. I recommend going with system default, and adding an option to change the UI font separately.

ftphikari avatar Feb 06 '23 18:02 ftphikari

It is only this program where I find the font size too small. But I agree, it should be optional. I'm not a fan of messing with the system default look myself, I wouldn't have done it if it didn't improve my user experience significantly.

VioletGiraffe avatar Feb 06 '23 19:02 VioletGiraffe

Did you build File Commander with Qt 6? I'm trying Qt 6.2.2 now, and I see that the whole UI has a non-default font applied, I'm not even sure which one and that's not intended. No such problem with Qt 5.15.2.

VioletGiraffe avatar Mar 09 '23 11:03 VioletGiraffe

I didn't build it, I just downloaded latest relase

ftphikari avatar Mar 09 '23 11:03 ftphikari

Then it's built with Qt 5, odd.

VioletGiraffe avatar Mar 09 '23 12:03 VioletGiraffe