Summary: | Wallpaper's open dialog's icons too small (with scaling 2.0) | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | postix <postix> |
Component: | general | Assignee: | David Edmundson <kde> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | kdelibs-bugs, nate, nicolas.fella, plasma-bugs, postix |
Priority: | NOR | ||
Version: | 5.22.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Other | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=366088 https://bugs.kde.org/show_bug.cgi?id=391682 |
||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screenshot: Wallpaper "open dialog"
Screenshot: Wallpaper "open dialog" for Okular which looks fine. |
Created attachment 130284 [details]
Screenshot: Wallpaper "open dialog" for Okular which looks fine.
I assume you are using X11? plasmashell (which is the process the wallpaper dialog runs in) does some unusual scaling things for reasons I don't know. Running plasma with PLASMA_USE_QT_SCALING=1 should fix this. There's ongoing work to enable that by default (https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/139), but it's not quite there yet (In reply to Nicolas Fella from comment #2) > I assume you are using X11? Yes > plasmashell (which is the process the wallpaper dialog runs in) does some > unusual scaling things for reasons I don't know. > Running plasma with PLASMA_USE_QT_SCALING=1 should fix this. $ PLASMA_USE_QT_SCALING=1 plasmashell --replace indeed fixes it. However, now my taskbar panel is twice the height (like it's when I switch from an X11 to a Wayland session). *** This bug has been marked as a duplicate of bug 356446 *** (In reply to Postix from comment #3) > > plasmashell (which is the process the wallpaper dialog runs in) does some > > unusual scaling things for reasons I don't know. > > Running plasma with PLASMA_USE_QT_SCALING=1 should fix this. > $ PLASMA_USE_QT_SCALING=1 plasmashell --replace > > indeed fixes it. However, now my taskbar panel is twice the height (like > it's when I switch from an X11 to a Wayland session). In fact it's the correct height. :) It doesn't know that you previously worked around the height being too low by doubling it manually. Once we can turn on Qt scaling by default, you won't have to do this manual step; using a high DPI scale factor will scale your panel just like you expect. *** This bug has been marked as a duplicate of bug 390147 *** Actually this is a separate issue. The root cause is that Plasma does not use Qt scaling by default and uses its own Plasma Scaling system to scale Plasma-drawn UI elements. However this system does not apply to Qt-drawn UI elements such as menu items, QWidgets-based dialogs, and so on. See also Bug 366088 and Bug 391682. All three of these issues may have the same root cause in the end. And upon further investigation and consultation with colleagues, it is impossible to fix without turning on Qt scaling, because you can't selectively turn on or off Qt scaling for only certain UI elements. The only thing we could do is split plasmashell into multiple processes and have one process draw everything that is drawable using Plasma scaling and another process draw everything that needs to be drawn using Qt scaling. Such an endeavor would be an enormous amount of work and add substantial complexity and fragility though, so it's not really feasible. Re-duping to Bug 356446, and I will re-open it. *** This bug has been marked as a duplicate of bug 356446 *** |
Created attachment 130283 [details] Screenshot: Wallpaper "open dialog" SUMMARY While the file dialog for Okular and Kate look fine (please see the 2nd attachment), the one for the wallpapers is too tiny. SOFTWARE/OS VERSIONS Operating System: Manjaro Linux KDE Plasma Version: 5.19.3 KDE Frameworks Version: 5.72.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION Scaling: 2.0