Summary: | Menu rolling in plasmashell context menus does not work on wayland | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | sajito+kde |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | code, goodaqua, kde, kde, kdedev, nate |
Priority: | NOR | Keywords: | usability, wayland-only |
Version First Reported In: | 6.1.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | Qt 6.8.0 | |
Sentry Crash Report: | |||
Attachments: | Menu rolling still not working 100% |
Description
sajito+kde
2024-08-17 11:15:39 UTC
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. |