Summary: | Adaptive transparency doesn't work anymore when using Qt scaling on X11 | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Fushan Wen <qydwhotmail> |
Component: | Panel | Assignee: | veggero <niccolo.venerandi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, niccolo.venerandi |
Priority: | NOR | Keywords: | regression |
Version: | master | Flags: | qydwhotmail:
X11+
|
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/cba16a7a9d1ab3a7e159afe008f56b35f99cc8b8 | Version Fixed In: | 5.27 |
Bug Depends on: | |||
Bug Blocks: | 356446 |
Description
Fushan Wen
2022-10-26 15:04:29 UTC
Horizontal panel: https://invent.kde.org/plasma/plasma-desktop/uploads/035a0394103dde62cd26d7476fae2734/image.png Vertical panel: https://invent.kde.org/plasma/plasma-desktop/uploads/221504203509a52744e1126cfeb8929b/%E5%9B%BE%E7%89%87.png Can reproduce on X11. Also, a floating panel no longer de-floats when touched by a window or when there are any maximized windows. Probably the calculation is mixing logical and physical coordinates in a way that works on X11 without Qt scaling, and with Wayland with Qt scaling (where *everything* is scaled), but not X11 with Qt scaling (where some things are scaled and some things are not). Niccolò, can you investigate? Thanks! A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2373 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1308 Git commit cba16a7a9d1ab3a7e159afe008f56b35f99cc8b8 by Nate Graham, on behalf of Fushan Wen. Committed on 23/12/2022 at 21:34. Pushed by ngraham into branch 'master'. desktoppackage: fix adaptive panel on X11 when Qt scaling is enabled Geometry from TasksModel on X11 does not take devicePixelRatio into account unlike panel geometry. FIXED-IN: 5.27 M +6 -4 desktoppackage/contents/views/Panel.qml https://invent.kde.org/plasma/plasma-desktop/commit/cba16a7a9d1ab3a7e159afe008f56b35f99cc8b8 |