It still uses the nonexistent get method. switch(event.key) { case Qt.Key_Enter: case Qt.Key_Return: { if (clipboardMenu.view.currentIndex >= 0) { var uuid = clipboardMenu.model.get(clipboardMenu.view.currentIndex).UuidRole if (uuid) { clipboardSource.service(uuid, "select") if (main.hideOnWindowDeactivate) { main.expanded = false; } } } break; }
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3414
Git commit fd5c0faee24aac222a71c061f3bb72482635e591 by Fushan Wen. Committed on 18/10/2023 at 19:29. Pushed by fusionfuture into branch 'master'. applets/clipboard: move Enter/Return handler to item FIXED-IN: 6.0 M +2 -0 applets/clipboard/contents/ui/ClipboardItemDelegate.qml M +0 -13 applets/clipboard/contents/ui/ClipboardPage.qml https://invent.kde.org/plasma/plasma-workspace/-/commit/fd5c0faee24aac222a71c061f3bb72482635e591
Git commit 553d6f56c79dc6c135fa8ec8d557a4ae3a9dec0b by Fushan Wen. Committed on 19/10/2023 at 02:51. Pushed by fusionfuture into branch 'master'. clipboardtest: consolidate fd5c0faee24aac222a71c061f3bb72482635e591 M +1 -1 appiumtests/CMakeLists.txt M +71 -52 appiumtests/clipboardtest.py M +- -- klipper/autotests/data/onetextentry.lst https://invent.kde.org/plasma/plasma-workspace/-/commit/553d6f56c79dc6c135fa8ec8d557a4ae3a9dec0b