https://bugs.kde.org/show_bug.cgi?id=515381
Bug ID: 515381
Summary: Clipboard widget: selected item text invisible on
Wayland (OpacityMask not rendering)
Classification: Plasma
Product: plasmashell
Version First 6.5.5
Reported In:
Platform: Kubuntu
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Clipboard widget & pop-up
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
Created attachment 189131
--> https://bugs.kde.org/attachment.cgi?id=189131&action=edit
invisible text on selected item
SUMMARY
Clipboard widget: selected item text invisible on Wayland (OpacityMask not
rendering)
STEPS TO REPRODUCE
Use KDE Plasma 6.5.5 on Wayland with default Breeze theme
Copy some text to the clipboard
Open the clipboard widget (Meta+V or click the system tray icon)
Hover over or navigate to any item in the clipboard history list
OBSERVED RESULT
The currently selected/highlighted item shows completely blank — no text is
visible. Only the blue highlight background and the action buttons on the right
are shown. Non-selected items display their text correctly.
EXPECTED RESULT
Selected items should display their text content, either in the normal color or
using highlightedTextColor for contrast against the selection background.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.5.5
Wayland session
Breeze theme (also tested with other themes — same issue)
ADDITIONAL INFORMATION
After debugging, I found the root cause:
The QML files are loaded from Qt resources compiled into libklipperplugin.so
(via prefer :/qt/qml/org/kde/plasma/private/clipboard/ in the qmldir file). The
OpacityMask (from Qt5Compat.GraphicalEffects) used for the text fade effect on
selected items doesn't render properly — it produces a completely transparent
result.
In ClipboardItemDelegate.qml, the label is hidden when selected (visible:
!menuItem.ListView.isCurrentItem) and replaced by an OpacityMask that should
show the same content with a gradient fade. But the mask renders nothing.
Workaround:
Edit /usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/private/clipboard/qmldir
— comment out the line:
#prefer :/qt/qml/org/kde/plasma/private/clipboard/
Edit
/usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/plasma/private/clipboard/ClipboardItemDelegate.qml:
Change label.visible to true (around line 137)
Change labelMask.visible to false (around line 117)
Restart plasmashell
This disables the fade effect but makes text visible. The issue may be that
OpacityMask from Qt5Compat.GraphicalEffects has a rendering bug on Wayland, or
the QML compiled into the .so differs from the shipped source files.
--
You are receiving this mail because:
You are watching all bug changes.