[Bug 1199020] Wrong resolution at Installation / Window background not cleared
https://bugzilla.suse.com/show_bug.cgi?id=1199020 https://bugzilla.suse.com/show_bug.cgi?id=1199020#c60 --- Comment #60 from Stefan Hundhammer <shundhammer@suse.com> --- AFAICS we have two heuristics which are now (since the introduction of that scale factor rounding) defeating each other: - We calculate a DPI value from the physical screen dimensions in millimeters that "xrandr" reports and "clean it up", i.e. we make sure it's a number that can be divided by 48 (but no less than 96), i.e. one of 96, 144, 192, 240, 288 (but no more than that) and set the "Xft.dpi" X resource to that value. - Qt reads that X resource and stores the value as QXcbScreen::logicalDpi() - It uses that value and a default dpi value of 96 to calculate a scaling factor, e.g. 144 / 96 = 1.5 (which would be a reasonable factor) - It uses its new default rounding policy for that factor to round it to the next integer number; in this case 2. - It now uses that nicely rounded scaling factor for everything: Window size, widget sizes including borders and line widths; and fonts. As a result, the fonts are now insanely oversized; no longer 150% of what we previously used, but 200%. And since all other geometry values in our YaST Qt UI depend on the font sizes, everything becomes way too large: Static texts, buttons, list content, everything. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com