qt apps in hidpi looks tiny

Bug #1834061 reported by Carlos Pita on 2019-06-24
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

I use qt5ct to configure the font of qt apps. I also set:


Even with the auto scaling factor, the default qt font is tiny in my hidpi screen, so I have to increase its size from qt5ct from 10 to 11 or 12. Now, this is all lost in the isolated snap environment so, in brief, I'm unable to reasonably run *any* qt app. This is not a matter of fancy themes, it's a basic matter of accessibility.

This report was motivated by the inability to properly install and run Anki in Ubuntu 19.04:

1. The deb package is broken (there is a bug filed for this but unattended as of today).

2. The flatpak and the snap packages use a tiny font and it doesn't seem to be possible to change it.

I have posted about this in Ubuntu discourse too: https://discourse.ubuntu.com/t/please-do-not-use-snap-into-ubuntu-its-too-early/11206/97?u=memeplex

Carlos Pita (carlosjosepita) wrote :

Do you know of any workaround? Is it possible to somehow get qt5ct installed inside the snap runtime?

description: updated
description: updated
description: updated
description: updated
Carlos Pita (carlosjosepita) wrote :

I've been comparing snap and flatpak versions of Anki side to side.

The flatpak version is not perfect but get more things right than the snap one.

Look at the attached screenshot. On the left, we have the flatpak app, it clearly has scaled using the auto scaling factor, so my environment is taken into account; still there is no qt5ct support, which is easily spotted by looking at the menu font size: smaller than my system font size. On the right, the snap app is a mess: the window is too small, the menu is tiny, when the mouse pointer is over the menu it becomes a barely visible tiny dot, qt5ct support obviously isn't there, the fonts in the window itself (vs the menu) are large (I can't explain this difference).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers