https://bugs.kde.org/show_bug.cgi?id=497149

--- Comment #3 from Blazer Silving <breakingsp...@gmail.com> ---
(In reply to David Edmundson from comment #2)
> >2. Turn Global scaling up (200% or so) in the same KCM.
> 
> That means it's X11. Can you confirm if on Wayland it works as expected.
> 

Good catch on the distinction here, I had forgotten scale is handled
differently in Wayland. 
Sure enough it scales properly in Wayland, here are screenshots showing both
compositors at 1440p 200%. 

> >but I cannot find that resulting variable (kcm.globalScale) referenced 
> >anywhere else
> 
> Somewhere on startup it gets into the environment variable
> QT_SCREEN_SCALE_FACTORS then Qt is using it implicitly everywhere to
> automatically scale.... everywhere except Kwin that is.

Thanks for the pointer, I see `KCMKScreen::exportGlobalScale()` in kcm.cpp now. 
main_x11.cpp and startplasma-x11.cpp also transform this env variable before it
is accessed. 

Could this mean that the effect is not using Qt units somewhere in the
Overview/Bar QML definition? 
The base height is calculated using `Kirigami.Units.gridUnit`, but there are
some other parameters in use, like
KWinComponents.SceneView.screen.geometry.width

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

Reply via email to