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

            Bug ID: 502171
           Summary: kwin-wayland panel draws/places incorrectly if
                    QT_USE_PHYSICAL_DPI=1
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Panel
          Assignee: plasma-b...@kde.org
          Reporter: mich...@actrix.gen.nz
                CC: niccolo.venera...@gmail.com
  Target Milestone: 1.0

SUMMARY

With kwin-wayland, on a 27" 4K monitor I have set QT_USE_PHYSICAL_DPI=1 causes
the panel background to be incorrectly drawn, and the panel dialog to be
incorrectly placed.   This does not happen for kwin-x11.

This is only a bug for a special use-case, which you may decide not to support.
  However it would be useful to support it for those trying to do
print-proofing or image-proofing where 1-inch on the screen needs to match
1-inch on paper.  This is mainly because many linux tools are scaling-unaware,
using this variable allows them to be used without waiting for them to support
the use-case (if that ever happens).  If a fix is trivial, please consider it.

STEPS TO REPRODUCE
1. echo 'export QT_USE_PHYSICAL_DPI=1' >>
$HOME/.config/plasma-workspace/env/hidpi.sh
2. login to kwin_wayland   
3. in a Konsole, check QT_USE_PHYSICAL_DPI is set.
4. Observe and use the panel and launcher (standard launcher).

OBSERVED RESULT

Use launcher and see where the launcher dialog is placed - it is placed way
above the panel instead of close to it.
Observe the background placement of the panel (might need to be a floating
panel - not sure).

EXPECTED RESULT

Behaves like kwin-X11 with correct launcher dialog placement and correct panel
shadowing.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20250319
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600 6-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650 SUPER
Manufacturer: ASUS

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

Reply via email to