Summary: | Krunner incorrectly sets "GDK_SCALE" and "GDK_DPI_SCALE" under wayland and HiDPI | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Xu Zhao <i> |
Component: | general | Assignee: | Alexander Lohnau <alexander.lohnau> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fabian, kde, nate, plasma-bugs |
Priority: | NOR | Keywords: | wayland-only |
Version: | 5.21.4 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Result of incorrect scaling |
Description
Xu Zhao
2021-04-26 16:08:35 UTC
Created attachment 137931 [details]
Result of incorrect scaling
This is because when I start my computer, I first login X11 session. After I logout X session and login Wayland session, this bug will appear, because in the wayland session, krunner still uses startplasma-x11.cpp to start an application (not startplasma-wayland.cpp). My guess is that GDK_SCALE and GDK_DPI_SCALE are "inherited" from the previous session's systemd launch environment. It probably needs to be added to the exclusion list added in https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/580 as well. We now reset this var explicitly, please reopen it's an issue on Plasma 5.23 or newer |