Bug 409622 - Falkon doesn't scale normally in Wayland in KDE
Summary: Falkon doesn't scale normally in Wayland in KDE
Status: RESOLVED WORKSFORME
Alias: None
Product: Falkon
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.1.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-08 15:17 UTC by mcadoo.chen
Modified: 2019-07-20 13:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mcadoo.chen 2019-07-08 15:17:41 UTC
I tried to use Wayland this time. change the Font DPI to 120. Everything seems working well except for Falkon. Falkon doesn't scale normally in Wayland in KDE Plasma. It shows too small while Chrome works well. Please help to figure out how to make it work. Thanks. If you need any other information, please let me know. 

QtWebEngine version 5.12.3
KDE-Plasma 5.12.5
Comment 1 Nate Graham 2019-07-15 14:54:06 UTC
The Force Fonts DPI control is not intended to be used as a global scaling knob. Instead, the recommended method is to use the global scaling slider in System Settings > Display and Monitor > Displays > Scale display. If you do that, and set it 1.3 or 1.4, does it work?
Comment 2 mcadoo.chen 2019-07-15 15:28:54 UTC
(In reply to Nate Graham from comment #1)
> The Force Fonts DPI control is not intended to be used as a global scaling
> knob. Instead, the recommended method is to use the global scaling slider in
> System Settings > Display and Monitor > Displays > Scale display. If you do
> that, and set it 1.3 or 1.4, does it work?

Thank you for your comment. I thought it's the Falcon's problem. However, I only have 1x and 2x in my Display setting. I will try to figure it out. Thanks.
Comment 3 mcadoo.chen 2019-07-15 15:34:16 UTC
(In reply to Nate Graham from comment #1)
> The Force Fonts DPI control is not intended to be used as a global scaling
> knob. Instead, the recommended method is to use the global scaling slider in
> System Settings > Display and Monitor > Displays > Scale display. If you do
> that, and set it 1.3 or 1.4, does it work?

But Chrome and other apps work fine with DPI change. Don't know why
Comment 4 Nate Graham 2019-07-15 15:36:06 UTC
Yeah, let me know if 2x works.
Comment 5 mcadoo.chen 2019-07-15 16:41:29 UTC
(In reply to Nate Graham from comment #4)
> Yeah, let me know if 2x works.

If I set 2x, all will be too large. Others won't work.
Comment 6 Nate Graham 2019-07-15 17:03:58 UTC
Sure. But does Falkon scale as expected with 2x?

If so, then the solution would be to use this system once fractional scaling on Wayland is turned on, which is actually pretty soon.
Comment 7 mcadoo.chen 2019-07-20 13:09:04 UTC
(In reply to Nate Graham from comment #6)
> Sure. But does Falkon scale as expected with 2x?
> 
> If so, then the solution would be to use this system once fractional scaling
> on Wayland is turned on, which is actually pretty soon.

Yes. Falkon scale will scale with 2x system display setting. But I don't see any scale options like 1.3x or 1.4x. Now I changed falkon default zoom setting. Thank you for your attention.
Comment 8 Nate Graham 2019-07-20 13:52:43 UTC
All right, then this is actually working properly when you use the appropriate scaling setting.

Fractional scaling on Wayland is in progress right now, with a patch submitted: https://phabricator.kde.org/D22468

So once that's in, you should be able to use your favorite fractional scale factor and hare everything just work properly.