| Summary: | Enter/Return is broken in the clipboard widget | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Fushan Wen <qydwhotmail> |
| Component: | Clipboard widget & pop-up | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | nate |
| Priority: | NOR | Keywords: | qt6, regression |
| Version First Reported In: | master | ||
| Target Milestone: | 1.0 | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/fd5c0faee24aac222a71c061f3bb72482635e591 | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
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 |
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; }