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

            Bug ID: 460266
           Summary: Same scaling factor on X11 and on Wayland result in
                    different dock/panel size
    Classification: Plasma
           Product: lattedock
           Version: git (master)
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: chermnykh2...@gmail.com
  Target Milestone: ---

SUMMARY

When item size of a panel/dock is configured as absolute size in px the
behavior is diffirent:
- On X11: the pixels are treated as physical pixels
- On Wayland: the pixels are treated as logical pixels and then scaled with the
rest of the system

STEPS TO REPRODUCE
1. Set a fractional scaling factor in plasma settings
2. Create a panel in latte and set its size in logical pixel
3. Check the differences between sizes in Wayland and X11 

OBSERVED RESULT
The size of the panel/dock is different

EXPECTED RESULT
The sizes are the same

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6+kde+r177

ADDITIONAL INFORMATION
An option to use absolute pixels on wayland may be a solution. I think it's
also better to scale dock on X11 with the rest of the system.

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

Reply via email to