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

            Bug ID: 408055
           Summary: Plasma panel height is ignoring both "force font dpi"
                    and "scale display" in system settings when resizing
                    window in virtualbox with auto-resize guest display
                    enabled
           Product: plasmashell
           Version: 5.15.90
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: plasma-b...@kde.org
          Reporter: mkleins...@gmail.com
  Target Milestone: 1.0

SUMMARY

This is a re-reported the closed bug 408003 with changed title and with
modified expectations/proposal.

Modern HiDpi laptops/tablets/convertibles need to set higher value in force
fonts DPI in systems setting. The logic that calculates default panel height 
does not take system settings force font dpi" into account. 
Panel height can be set manually by user easily if user is not happy and
fonts/icons are too small.
But when the screen resolution is constantly changing as is the face for users
of virtualbox with "auto-resize guest display" feature then this is no longer
an option.  Please review the logic for default/automatic panel height setting.

STEPS TO REPRODUCE
1. use HiDPI laptop with resolution at least 3200x1800. I use HP spectre x360
convertible with resolution 3840x2160. Set the highest resolution of the
laptop.

2. Use virtualbox 6 and install neon-developer-20190514-0001.iso into it,
update packages (as of 27may 2019)

3. In both the host and guest(neon) system set the highest resolution of the
laptop  and set true/genuine dpi for that resolution in force font dpi setting.
 You calculate true dpi by taking horizontal resolution of the screen and
divide horizontal dimension of the screen in inches . In my case 3840 / 29.5cm
= 3840/11.6 inch= 330dpi


OBSERVED RESULT
In the guest system neon the plasma panel height is too small and initially can
be set manually to an acceptable height to make opened applications names 
 readable. When resizing the window in virtualbox with "auto-resize guest
display" feature the panel height is not preserved "readable" height as set
manually because the kde/plasma always resets panel height to a very small
height as it was initially. Opened application titles are not readable with
that height on hidpi laptops.

EXPECTED RESULT
There are alternatives:

a) introduce some new checkbox in system settings or plasma panel setting
,which when checked would not change display height in pixels regardless of
changed resolution.(designed to work with fixed dpi situation such as guest os
inside virtual box)

or

b)  logic for the default/automatic panel height respects at least one of
"force font dpi" or/and "scale display" value in system setting 

c) Come up with something else to improve user experience regarding this issue
when used as a guest OS inside any VM.



Interesting when virtualbox window is in maximized state the guest OS panel
height (neon) is set correctly even with high "force font dpi" system
settings.The problem is observed only in windowed mode (not maximised state) in
virtual box. Even if the size of virtual box window in windowed mode is close
to actual size of maximized window the height of panel is too small to be
readable.

Note that menu/launcher/dashboard is not affected and fonts is always correct
when resizing display. Just the panel at the bottom 

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.16.80
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.0
Kernel Version: 5.0.0-15-lowlatency
OS Type: 64-bit
Processor: 1 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 3.9 GiB of RAM

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

Reply via email to