https://bugs.kde.org/show_bug.cgi?id=501633
Bug ID: 501633
Summary: When QQC2(-desktop-style) menus are used in Plasma,
disabled menu items do not have their labels disabled,
only their icons
Classification: Plasma
Product: plasmashell
Version: master
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
SUMMARY
There are a couple of cases where Plasma opens QQC2 menus. This includes, for
example, the context menus of notification bodies (either popup or in history),
which use Kirigami.SelectableLabel (in turn a QQC2 TextField) or the context
menu of the notes widget, which intentionally uses QQC2 for desktop-style
context menus in the editable text.
In these menus, items can be disabled as usual if their action is not
appropriate, such as copying text with no text selected. But this is not
displayed properly – the icon takes on the usual gray color and does not have
the hover effect, but the label is displayed in its usual presentation for
active elements. This is a rather confusing user experience.
STEPS TO REPRODUCE
1. Right-click a notification body, or the notes widget text
OBSERVED RESULT
Context menu does not have disabled context menus correctly grayed out.
EXPECTED RESULT
Context menu is correctly grayed out, including label.
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.13.5-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: Intel® HD Graphics 520
ADDITIONAL INFORMATION
Happens on master and stock Fedora 41.
I have not been able to isolate a minimal test case that exhibits the issue.
Switching QQC2 menu stuff to PC3 menu stuff in the notes widget fixes the issue
there (but this is harder with Kirigami.SelectableLabel).
I'm really not sure where the issue is (PC3? Breeze theme? QQC2-deskop-style?)
so I'm filing it in plasmashell/general for sorting.
--
You are receiving this mail because:
You are watching all bug changes.