| Summary: | [Wayland] Virtual desktops listed under "Desktops" submenu of the window decoration are not highlighted on mouseover | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Patrick Silva <bugseforuns> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.19.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Patrick Silva
2019-01-18 14:16:32 UTC
This also applies to activities menu as well. Let me explain why desktop names are not highlighted. On Wayland we allow a window to be present on several virtual desktops. It would be not good (this is very subjective) to close the menu if a user selected only one out of several desired desktops. Currently, there is no any sane way to prevent a QMenu from closing if one of checkable QActions was triggered. I'm aware of several ways to work around this issue: * Put a QCheckBox into QWidgetAction; * Re-implement some of QMenu's event handlers. The latter approach would be PITA because there are many ways to check a checkable action and we would have to implement all of them. So, we'd sticked with the former approach. Because checkboxes and menu items are styled differently, there is some inconsistency in "padding", highlighting, etc. But, on a brighter note, QMenu behaves as desired, at least that's something. :| TLDR: It's complicated... Fixed on Plasma 5.23 beta. :) Operating System: Arch Linux KDE Plasma Version: 5.22.90 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Graphics Platform: Wayland |