Bug 415084 - Web pages are scaled incorrectly when using High DPI mode
Summary: Web pages are scaled incorrectly when using High DPI mode
Status: REPORTED
Alias: None
Product: Falkon
Classification: Applications
Component: general (show other bugs)
Version: 3.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-12 11:21 UTC by Elmar Stellnberger (AT/K)
Modified: 2022-02-13 21:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elmar Stellnberger (AT/K) 2019-12-12 11:21:37 UTC
The reason why I do not use Falkon as my default browser is that it has no option to set a default scale factor. However this would be highly required for anyone working with UHD/HiDPI because otherwise web pages are viewed too small by default.
Comment 1 Nate Graham 2019-12-13 11:13:00 UTC
The app should use the scale factor set by the user in the settings app of whatever platform it's running on. What's your OS? Linux with KDE Plasma or GNOME? Windows? Something else?
Comment 2 Elmar Stellnberger (AT/K) 2019-12-13 15:06:03 UTC
The user interface is scaled right. Only the web pages are too small. If I set QT_SCALE_FACTOR=2 then the user interface is twice as big as it should be while the web pages seem to be displayed correctly. Using Debian GNU Linux 10 (Buster) with KDE desktop.
Comment 3 Nate Graham 2019-12-13 16:39:08 UTC
Thanks. Re-titling to reflect the issue itself.
Comment 4 Elmar Stellnberger (AT/K) 2019-12-13 18:28:30 UTC
  I would like an option to set the web content default scale factor independent of the UI scale factor which can be set via QT_SCALE_FACTOR or via systemsettings5. It may depend on the user what he finds to be comfortable.
Comment 5 David E. Narvaez 2022-02-13 21:31:38 UTC
(In reply to Elmar Stellnberger (AT/K) from comment #2)
> The user interface is scaled right. Only the web pages are too small. If I
> set QT_SCALE_FACTOR=2 then the user interface is twice as big as it should
> be while the web pages seem to be displayed correctly. Using Debian GNU
> Linux 10 (Buster) with KDE desktop.

I started falkon with QT_AUTO_SCREEN_SCALE_FACTOR=1 and now the UI elements are properly scaled (in fact, a little better, I need to look closely into what is different) and the web pages are scaled as well.