Bug 435624

Summary: Panel text and icon sizes
Product: [Plasma] plasmashell Reporter: serfreeman1337 <serfreeman1337>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.21.4   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: video demonstartion

Description serfreeman1337 2021-04-11 17:19:13 UTC
Created attachment 137508 [details]
video demonstartion

SUMMARY
After update to 5.21.4 I have noticed that task bar panel has smaller icon and text sizes than they were in 5.19.5. Prefered sizes can be restored by draging panel to side and back. Sizes will be reverted back after panel heigh change, relogin or opening desktop folder settings (right click on desktop -> change wallpaper).

STEPS TO REPRODUCE
1. Set force font dpi to 120.
2. Set panel height 36.
3. Drag panel to side and back.
4. Change panel height, relogin or open desktop folder settings. 

OBSERVED RESULT
In version 5.21.4 panel icons and text are smaller than they were in 5.19.5. Prefered sizes can be temporary bringed back by moving panel to side and back. 

EXPECTED RESULT
Panel icons and text sizes should be as they were in 5.19.5 version.   

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Force font DPI: 120
Scree Scale: 100%
Panel height: 36
Panel doesn't has any margin separators.
Comment 1 Nate Graham 2021-04-13 15:14:00 UTC
I'm afraid this was an intentional change, to unify margins between all panel applets. It may be interacting weirdly with your font DPI settings, but that's exactly why we don't recommend using the force fonts DPI setting to approximate full screen scaling. It will never work quite right. I would recommend doing one of the following instead:
1. Increase the font size
2. Use the X11 session with fractional scaling and PLASMA_USE_QT_SCALING=1 set
3. Use the Wayland session with fractional scaling
4. Replace your hardware with something that has a more appropriate screen resolution for its physical size (sorry; sad but true)