SUMMARY Holding the right mouse button, then moving to a context menu entry and releasing the button, usually allows to quickly select an entry from the context menu. On X11 this works everywhere, even inside the plasmashell. Under Wayland this does not work for anything in the plasmashell. Neither on the desktop, nor on the panels or widgets. One has to release the button, before being able to select an entry. STEPS TO REPRODUCE 1. Press and hold right mouse button on the desktop 2. Drag mouse over any entry 3. Release OBSERVED RESULT While dragging no entry in the context menu is getting highlighted. Releasing the mouse button then does not select anything. EXPECTED RESULT The hovered entry should be highlighted and be selected when releasing the mouse button. SOFTWARE/OS VERSIONS Operating System: Garuda Linux KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2
Can reproduce.
*** Bug 492912 has been marked as a duplicate of this bug. ***
Funnily enough, after updating to 6.1.90 the problem was solved for me. Operating System: Arch Linux KDE Plasma Version: 6.1.90 KDE Frameworks Version: 6.6.0 Qt Version: 6.8.0 Kernel Version: 6.10.7-arch1-1 (64-bit)
*** Bug 477201 has been marked as a duplicate of this bug. ***
Just to note, this regressed under X11 too when Qt 6.7.3 was released. The problematic commit was found and reverting fixes it again for X11. Even though the bug found isn't the same as our menu rolling issue, it was related to how Qt handles input. https://gitlab.archlinux.org/archlinux/packaging/packages/qt6-base/-/issues/6 https://bugreports.qt.io/browse/QTBUG-129509 https://code.qt.io/cgit/qt/qtbase.git/commit/?id=9c1f39b93e6fd5261da4324d17a5ecd40db5f05b Still non-functional under Wayland with the current stable releases, for now!
reproducer: import QtQuick import org.kde.plasma.extras as PlasmaExtras Window { visible: true PlasmaExtras.Menu { id: menu PlasmaExtras.MenuItem { text: "foo" } PlasmaExtras.MenuItem { text: "foo" } PlasmaExtras.MenuItem { text: "foo" } PlasmaExtras.MenuItem { text: "foo" } } MouseArea { anchors.fill: parent acceptedButtons: Qt.RightButton onPressed: mouse => menu.open(mouse.x, mouse.y) } }
I can reproduce in Qt 6.7 + breeze and Qt 6.7 and fusion but not with QT dev + fusion
Confirmed fixed upstream by https://invent.kde.org/qt/qt/qtbase/-/commit/e4ef0f03e6f1fddc397980fd7fbf6f6b829f16d9 (Qt 6.8)
Created attachment 174859 [details] Menu rolling still not working 100% Unless I need more than just the Qt 6.8 update, I'm afraid it's not fully fixed yet. The selection entries are now highlighted on hover, but releasing the mouse button does not select the hovered element. In applications like dolphin this works as expected (it worked even before Qt 6.8 there). See the screen recording.
That's my fault, I tested wrong, since highlighting was not working, I didnt imagine activating would be broken once selecting works
I tested Qt dev, Qt 6.8 and Qt 6.8.0 it works. Another plasma devs tested this on their machines with Qt 6.8 and it works there as well. Not sure what's going on for your.
Can also confirm it's fixed in Qt 6.8.0 — at least the version that comes with Arch, as tested using KDE Linux.