Font size not controlled by Mate settings

5 respuestas [Último envío]
Avron

I am a translator!

Desconectado/a
se unió: 08/18/2020

I have increased the font size in the mate settings, it has immediate effects on abrowser, emacs and many apps, but it has no effect on others like KeePassXC, Quassel or Quaternion and then my eyes really hurt as they are too small.

I searched but I have no serious clue on that.

In general, I like Mate but I find it rather difficult to find help on Mate, perhaps the Ubuntu Mate forum?

lanun
Desconectado/a
se unió: 04/01/2021

There seems to be an integration problem in KDE/Gnome/Mate systems for applications based on some versions of Qt.

https://github.com/AppImage/AppImageKit/issues/125
https://github.com/AppImage/pkg2appimage/issues/88
https://github.com/flathub/flathub/issues/982

The first discussion seems to point to a problem larger than AppImage (see #issuecomment-285940889), although I could not investigate much further for now, but the problem seemed to be still on-going in July 2020.

Avron

I am a translator!

Desconectado/a
se unió: 08/18/2020

These issues are referring specifically to AppImage and Flathub and to applications that "bundle their own version of Qt". Is that really the case with KeePassXC, Quassel and Quaternion? If not, then it is a different problem.

With respect to the other issue mentioned in your other post, I also saw it under the name "high DPI issue" but in my understading, with high DPI what is needed is general scaling, not font size not using the general settings so that seems like a different problem.

There are in fact the two things I found when searching using search engines. Perhaps you searched with search engines too?

I tried setting the environment variable QT_SCALE_FACTOR to a value greater than 1. It works for Quassel (1.25 is my preferred value) but with KeePassXC, it works for a while until the process appears to be stopped and a CONT signal can't make it resume, the only solution is to kill it and start a new one. I tried with Quaternion: segmentation fault. So this method is not at all a general solution.

Avron

I am a translator!

Desconectado/a
se unió: 08/18/2020

Some new findings:
- on my laptop, whether on the laptop display or one an external display (2560x1440, connected via Display Port using Ultara base), KeePassXC, Quassel and Quaternion are exactly the same size (and too small), and changing the fonts in Mate has no effect
- on my desktop, with a 2560x1440 resolution display, KeePassXC, Quassel and Quaternion are actually scaled up, similar to what I get with the 1.25 scaling using QT_SCALE_FACTOR, but unlike on the laptop, they work fine.

So I need to see how to reproduce on the laptop (relatively new install of Trisquel 9 with text mode installer) what works on my desktop (initially Trisquel 8, no clue how it was installed).

Avron

I am a translator!

Desconectado/a
se unió: 08/18/2020

Scaling problem solved: install the qt5-gtk-platformtheme package, then KeePassXC, Quassel and Quaternion do reasonable scaling (fonts still not controlled by Mate settings, but thanks to scaling they become readable).

For some reason, that package was with status "unknown, not installed" on my laptop but "installed" on my desktop.

I found by searching "dpkg -l qt5*" on both, there are other differences (not sure why) but based on names, I checked that one first and it works in the ongoing Mate session as soon as it is installed.

$ apt-cache rdepends qt5-gtk-platformtheme
qt5-gtk-platformtheme
Reverse Depends:
  libqt5gui5
  libqt5gui5
  ubuntu-mate-desktop
  ubuntu-mate-core

libqt5gui5 was installed already (marked as "ii" in "dpkg -l"), why wasn't qt5-gtk-platformtheme installed?

lanun
Desconectado/a
se unió: 04/01/2021

It says here that they solved it - for Qt Creator - in the summer of 2019:

https://bugreports.qt.io/browse/QTBUG-65424

They say "presumed fixed", which might imply that the fix was not necessarily implemented back in the existing versions of Qt based applications.

It's a pretty easy fix though, for anyone fluent in Qt Creator.