Bug 346122

Summary: [a11y][u7y] kcmshell5 fonts - > Choose (Select Font) initial window size much too small (DPI>96)
Product: [Applications] systemsettings Reporter: Felix Miata <mrmazda>
Component: kcm_fontsAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: cfeck, hrvoje.senjan, lbeltrame, simonandric5, tittiatcoke, unassigned-bugs
Priority: NOR    
Version: 5.2.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
URL: https://bugreports.qt.io/browse/QTBUG-45522
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: KDE4 font choose window @ 144 DPI
KF5.8 select font window @ 144 DPI on Tumbleweed
KF5.9 select font window @ 132 DPI on Rawhide

Description Felix Miata 2015-04-13 00:08:09 UTC
Created attachment 92000 [details]
KDE4 font choose window @ 144 DPI

Misfeatures of current Select Font window at initially opened size (numbers for #'s 1-6 all for 144 DPI):
1-font select list too short to hold even 2 lines
2-size list too short to hold more than 2 lines
3-style list too short to hold more than 2 styles
4-style list omits selection "Bold" (distinct bug?)
5-scrollbars too narrow to be targeted using default mouse pointer threshold
5-scrollbars too short to be useful
6-512px in width regardless of screen density
7-varies only slightly in height according to applied font size; e.g. with size 10, 393px tall @ 96 DPI, 403px tall @ 120 DPI, 413px tall @ 132 DPI, 437px tall @ 144 DPI

Shortcomings increase as DPI increases, decrease as DPI decreases approaching 96, but are not entirely gone even at 96 DPI.

As display density increases, so should initial Select Font window size in px, remaining approximately the same physically.
Comment 1 Felix Miata 2015-04-13 00:12:10 UTC
Created attachment 92001 [details]
KF5.8 select font window @ 144 DPI on Tumbleweed
Comment 2 Felix Miata 2015-04-13 00:13:18 UTC
Created attachment 92002 [details]
KF5.9 select font window @ 132 DPI on Rawhide
Comment 3 Christoph Feck 2015-04-13 07:19:53 UTC
This is QFontDialog, please report this issue directly to Qt developers via https://bugreports.qt.io/
Comment 4 Felix Miata 2015-04-13 08:36:21 UTC
(In reply to Christoph Feck from comment #3)
> This is QFontDialog, please report this issue directly to Qt developers via
> https://bugreports.qt.io/

I thought "downstream" from here was places like Debian, Fedora and openSUSE???

https://bugreports.qt.io/browse/QTBUG-45522 filed even though I could not find any place except commentary to mention QFontDialog.
Comment 5 Felix Miata 2015-05-06 19:05:01 UTC
Upstream has a proposed fix at https://codereview.qt-project.org/#/c/111859/ that I am unable to test unless someone builds an openSUSE or Fedora rpm using it that I can simply install.
Comment 6 Hrvoje Senjan 2015-05-06 19:26:18 UTC
I can add it to our Qt5 packaging. Will post back when/where, etc. It *appears* it shouldn't break anything ;-)