SUMMARY Reproducible on both Arch (Plasma 5.20 beta) and neon unstable. STEPS TO REPRODUCE 1. select an icon on desktop 2. press F2 3. right-click on the label of the selected icon OBSERVED RESULT nothing happens EXPECTED RESULT context menu opens and we can copy the right-clicked label SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.19.90 KDE Frameworks Version: 5.74.0 Qt Version: 5.15.1
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