[Qt/KDE Flatpak Runtime] [Bug 407194] Honor system font scaling setting

2019-05-05 Thread Iiro Laiho
https://bugs.kde.org/show_bug.cgi?id=407194

--- Comment #4 from Iiro Laiho  ---
(In reply to Aleix Pol from comment #3)
> Can you make sure you have org.kde.PlatformTheme.QGnomePlatform installed? 
> 
> It could make sense to have this issue tracked in there
> https://github.com/flathub/org.kde.PlatformTheme.QGnomePlatform

$ flatpak list | grep QGnomePlatform
org.kde.PlatformTheme.QGnomePlatform/x86_64/5.12system,runtime

I installed it manually when investigating this issue, but it didn't have any
visible effect.

(In reply to David Edmundson from comment #2)
> What does tweak tool actually set?

Gnome internally stores it as "org.gnome.desktop.interface text-scaling-factor"
in gsettings. It also influences the Xft.dpi Xresource.

$ gsettings get org.gnome.desktop.interface text-scaling-factor
1.3999
$ xrdb -query | grep dpi
Xft.dpi:134.3994140625

-- 
You are receiving this mail because:
You are watching all bug changes.

[Qt/KDE Flatpak Runtime] [Bug 407194] New: Honor system font scaling setting

2019-05-03 Thread Iiro Laiho
https://bugs.kde.org/show_bug.cgi?id=407194

Bug ID: 407194
   Summary: Honor system font scaling setting
   Product: Qt/KDE Flatpak Runtime
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Keywords: accessibility
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: aleix...@kde.org
  Reporter: ila...@zoho.com
  Target Milestone: ---

SUMMARY
KDE flatpak apps do not seem to honor system font scaling setting. I run Gnome
3 as the host DE and have increased the font size from Gnome's tweak tool. When
I run Qt/KDE apps installed via Flatpak (have tested VLC and KeePassXC from
Flathub as well as Okular from kdeapps), the apps stubbornly display the
default font size instead of the one I have choosed. The problem does not seem
to extend to GTK flatpak apps. Also, Qt apps installed from system repository
work fine.

This problem has been evident for quite a while (1) but there doesn't seem to
be a formal bug report yet. Font scaling is important for not only those with
high DPI displays, but also those with visual impairment. There are strong
ethical obligations towards and in some locales even legal obligations to keep
accessibility in mind. Please take this seriously.

1)
https://www.reddit.com/r/kde/comments/910awy/how_to_make_kde_flatpak_apps_respect_font_settings/

STEPS TO REPRODUCE
1. Run Gnome DE and set the font scaling to e. g. 1.4 from the tweak-tool
2. Install some Qt/KDE flatpak app
3. Run the app and inspect the font size

OBSERVED RESULT
The default size font is displayed

EXPECTED RESULT
The font size should be bigger as set from the tweak-tool

SOFTWARE/OS VERSIONS
CentOS 7, Fedora 30

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.