Closed plata closed 5 months ago
Where is this in the application?
The font rendering code is deep within Qt and we don't have a lot of control over it, but we can switch between native and Qt font rendering in the specific view where the problem is happening and hope that fixes the problem.
It's in the article list (all articles). I've not noticed it anywhere else (e.g. in the article content) yet.
Native text rendering was already disabled in the article view to address a similar problem. Looks like I might have to disable it globally and switch to Qt's internal rendering across the board.
https://bugs.kde.org/show_bug.cgi?id=479891
I've set the env var. Will report back if this is the problem after some testing.
QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor
seems to fix it indeed. I didn't see the problem again. I'm not sure if there will be a general solution but in the meantime setting this in Flatpak finish-args
(--env=QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor
) might be an option.
Setting the environment variable shouldn't be necessary. QGuiApplication::setHighDpiScaleFactorRoundingPolicy
is supposed to do the same thing.
Sometimes:
It's not persistent. After some time/interaction with the UI, it's normal again.