| Summary: | Impossible to copy the labels of icons on desktop via context menu ("ReferenceError: mouse is not defined") | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Patrick Silva <bugseforuns> |
| Component: | Desktop icons & Folder View widget | Assignee: | Eike Hein <hein> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | justin, nate, plasma-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.80 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/b76365e19cd49215deaf26a1672ab1126524b33c | Version Fixed/Implemented In: | 6.2.0 |
| Sentry Crash Report: | |||
|
Description
Patrick Silva
2020-10-03 13:37:47 UTC
Huh, works for me. Tested again on neon unstable, X11 and Wayland sessions. It's still reproducible, but not consistently. The context menu fails to open in 90% of the times after the provided steps. This bug is still happening, but I can't reproduce consistently. When the right-click fails, the Konsole prints this error: file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Private/EditMenu_base.qml:167: ReferenceError: mouse is not defined Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.24.80 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 Graphics Platform: Wayland The error message indicates that the problem unfortunately may be in Qt. Worth re-testing with Qt 6. Now that Qt6 and Plasma 6 is out can we test this and check if it's still an issue? The bug is still reproducible. Operating System: Arch Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.5.0 Qt Version: 6.8.0 Graphics Platform: Wayland Ah I now see what this is about, after pressing F2 to rename, you cannot right-click to copy the text of the filename. The right click context menu that does come up is for the icon, not the "text field" that the rename happens in. A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2547 Git commit 127230c02c7bba30ee1dde09f0c38a67c7755b79 by Akseli Lahtinen. Committed on 26/09/2024 at 07:43. Pushed by akselmo into branch 'master'. desktop/RenameEditor.qml: Use QQC2 TextArea to add context menu Due to PlasmaComponents.TextArea not having a context menu, change the textArea to QQC2 one. This adds a working context menu. FIXED-IN: 6.2.0 M +8 -1 containments/desktop/package/contents/ui/RenameEditor.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/127230c02c7bba30ee1dde09f0c38a67c7755b79 Git commit b76365e19cd49215deaf26a1672ab1126524b33c by Akseli Lahtinen. Committed on 26/09/2024 at 07:55. Pushed by akselmo into branch 'Plasma/6.2'. desktop/RenameEditor.qml: Use QQC2 TextArea to add context menu Due to PlasmaComponents.TextArea not having a context menu, change the textArea to QQC2 one. This adds a working context menu. FIXED-IN: 6.2.0 (cherry picked from commit 127230c02c7bba30ee1dde09f0c38a67c7755b79) ae58f737 desktop/RenameEditor.qml: Use QQC2 TextArea to add context menu 11866266 Add comment 3d6d2f52 Turn off spellchecker Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev> M +8 -1 containments/desktop/package/contents/ui/RenameEditor.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/b76365e19cd49215deaf26a1672ab1126524b33c |