Summary: | wine applications in system tray do not react to click/right click when using PLASMA_USE_QT_SCALING | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Fushan Wen <qydwhotmail> |
Component: | XembedSNIProxy | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahmed.com, materka, nate, slawek |
Priority: | NOR | ||
Version: | 5.25.0 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=399234 https://bugs.kde.org/show_bug.cgi?id=448050 |
||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/commit/7e7313a8d655b9ecf25e14442a1fefb1b25eb01f | Version Fixed In: | 5.27 |
Bug Depends on: | |||
Bug Blocks: | 356446 |
Description
Fushan Wen
2022-06-30 12:33:23 UTC
*** Bug 457376 has been marked as a duplicate of this bug. *** *** Bug 459101 has been marked as a duplicate of this bug. *** Yet another Qt scaling bug A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2503 Git commit 8b1250ac9d6f858a5e4374c795348f48801c511f by Fushan Wen. Committed on 25/01/2023 at 02:07. Pushed by fusionfuture into branch 'master'. applets/systemtray: fix xembed icon not receiving click events when using Qt scaling On X11, when using Qt scaling, mapToGlobal will return a scaled position which is unusable in `SNIProxy::sendClick`. This fixes the bug by multiplying the position by devicePixelRatio. FIXED-IN: 5.27 M +1 -0 applets/systemtray/CMakeLists.txt M +23 -2 applets/systemtray/systemtray.cpp https://invent.kde.org/plasma/plasma-workspace/commit/8b1250ac9d6f858a5e4374c795348f48801c511f Git commit 6249f888045f38cad10947d1b77adc975e8233f9 by Fushan Wen. Committed on 25/01/2023 at 02:10. Pushed by fusionfuture into branch 'cherry-pick-8b1250ac'. applets/systemtray: fix xembed icon not receiving click events when using Qt scaling On X11, when using Qt scaling, mapToGlobal will return a scaled position which is unusable in `SNIProxy::sendClick`. This fixes the bug by multiplying the position by devicePixelRatio. FIXED-IN: 5.27 (cherry picked from commit 8b1250ac9d6f858a5e4374c795348f48801c511f) M +1 -0 applets/systemtray/CMakeLists.txt M +23 -2 applets/systemtray/systemtray.cpp https://invent.kde.org/plasma/plasma-workspace/commit/6249f888045f38cad10947d1b77adc975e8233f9 Git commit 7e7313a8d655b9ecf25e14442a1fefb1b25eb01f by Fushan Wen. Committed on 25/01/2023 at 04:07. Pushed by fusionfuture into branch 'Plasma/5.27'. applets/systemtray: fix xembed icon not receiving click events when using Qt scaling On X11, when using Qt scaling, mapToGlobal will return a scaled position which is unusable in `SNIProxy::sendClick`. This fixes the bug by multiplying the position by devicePixelRatio. FIXED-IN: 5.27 (cherry picked from commit 8b1250ac9d6f858a5e4374c795348f48801c511f) M +1 -0 applets/systemtray/CMakeLists.txt M +23 -2 applets/systemtray/systemtray.cpp https://invent.kde.org/plasma/plasma-workspace/commit/7e7313a8d655b9ecf25e14442a1fefb1b25eb01f Git commit 033b9dd14c6c807990f780858e543ad8eec0e913 by Fushan Wen. Committed on 27/01/2023 at 15:37. Pushed by fusionfuture into branch 'master'. applets/systemtray: fix xembed icon not receiving click events when screen scale > 1 on Wayland On Wayland, when using "Scaled by application", mapToGlobal will return a scaled position which is unusable in SNIProxy::sendClick. This fixes the bug by multiplying the position by devicePixelRatio. Related: bug 448050 FIXED-IN: 5.27 M +10 -0 CMakeLists.txt M +14 -0 applets/systemtray/CMakeLists.txt M +120 -8 applets/systemtray/systemtray.cpp M +11 -0 applets/systemtray/systemtray.h A +1 -0 config-WaylandProtocols.h.cmake https://invent.kde.org/plasma/plasma-workspace/commit/033b9dd14c6c807990f780858e543ad8eec0e913 Git commit 46cb1454335cd20b5ce705ed3c1205843119055b by Fushan Wen. Committed on 27/01/2023 at 21:43. Pushed by fusionfuture into branch 'cherry-pick-033b9dd1'. applets/systemtray: fix xembed icon not receiving click events when screen scale > 1 on Wayland On Wayland, when using "Scaled by application", mapToGlobal will return a scaled position which is unusable in SNIProxy::sendClick. This fixes the bug by multiplying the position by devicePixelRatio. Related: bug 448050 FIXED-IN: 5.27 (cherry picked from commit 033b9dd14c6c807990f780858e543ad8eec0e913) M +10 -0 CMakeLists.txt M +14 -0 applets/systemtray/CMakeLists.txt M +120 -8 applets/systemtray/systemtray.cpp M +11 -0 applets/systemtray/systemtray.h A +1 -0 config-WaylandProtocols.h.cmake https://invent.kde.org/plasma/plasma-workspace/commit/46cb1454335cd20b5ce705ed3c1205843119055b A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2552 |