Re: extremely weird font behaviour with plasma / KDE from KDE: buildservice repos

Fabian Vogt <[email protected]> Sat, 11 Jan 2020 15:20:20 +0100
Newsgroups gmane.linux.suse.kde
Message-ID <[email protected]>
Hi,

Am Samstag, 11. Januar 2020, 15:10:50 CET schrieb Mathias Homann:
> Am Samstag, 11. Januar 2020, 14:42:26 CET schrieb Fabian Vogt:
> > Hi,
> > 
> > Am Samstag, 11. Januar 2020, 14:35:23 CET schrieb Mathias Homann:
> > > Am 11.01.2020 um 14:27 schrieb Fabian Vogt:
> > > > Hi,
> > > > 
> > > > Am Samstag, 11. Januar 2020, 10:29:06 CET schrieb Mathias Homann:
> > > >>> Any ideas how to fix that?
> > > >>> My guess is that somehow Frameworks5 or even Qt5 uses a different,
> > > >>> possibly
> > > >>> broken, libfreetype, to build, but it is not published.
> > > >> 
> > > >> Looking at the changes in KDE:Qt5.14... I'm not 100% sure but I think
> > > >> the start of this behaviour was just after Qt 5.14 appeared in the
> > > >> repo,
> > > >> or right after the three patches for QTBUG-80982 came in.
> > > > 
> > > > Looks like https://bugs.kde.org/show_bug.cgi?id=415421. No complete fix
> > > > known so far. You can set QT_AUTO_SCREEN_SCALE_FACTOR=0 for now, but it
> > > > might break with Qt 5.14.1 again when the bug got fixed...
> > > > https://bugzilla.opensuse.org/show_bug.cgi?id=1160624 is a downstream
> > > > report.> 
> > > where / how do I set that, just as a shell variable before I start the
> > > session? /etc/profile.d/ comes to mind.
> > 
> > You can put it into ~/.config/plasma-workspace/env/scale.sh:
> > export QT_AUTO_SCREEN_SCALE_FACTOR=0
> 
> That fixed the font issues - but it turns out that my issues with akregator 
> are unleated.

You mean this?

> On the other hand it also seems to break mouse click events at least in
> some apps, in kontact I can't click on anything inside the client area
> (folders in kmail, for example).

I haven't heard of an issue like that, when did it start?

> anyway, thanks a bucket! what's the best place to set that globally?
> /etc/profile.d/000-QT_FONT_SCALE_FIX.sh ?

/etc/xdg/plasma-workspave/env/scale.sh should do it as well.

Cheers,
Fabian

> Cheers
> MH


-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]