Bug 433880

Summary: shortcuts don't work
Product: [Frameworks and Libraries] frameworks-kconfig Reporter: Rüdiger <linux>
Component: generalAssignee: Matthew Dawson <matthew>
Status: RESOLVED FIXED    
Severity: normal CC: kde, kdelibs-bugs, kfm-devel, nate
Priority: NOR    
Version: 5.79.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: shurtcut-problem-in-dolphin
shortcut-failure-in-konqueror
shortcuts work in clementine
shortcuts-settings

Description Rüdiger 2021-03-02 21:50:00 UTC
SUMMARY
Using general shortcuts which you can find also in the right mouse button moving within dolphin they do not work reliably. Sometimes they  function sometimes they do not function. Mainly I am using the shortcut functions for copy, paste and cut.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-03-03 00:37:49 UTC
Which shortcuts? Like Ctrl+C and Ctrl+V? Have you redefined any shortcuts in System Settings > Shortcuts? Are you using any custom software that re-binds keys or handles key events? A screen recording might also be useful.
Comment 2 Rüdiger 2021-03-04 21:50:23 UTC
(In reply to Nate Graham from comment #1)
> Which shortcuts? Like Ctrl+C and Ctrl+V? Have you redefined any shortcuts in
> System Settings > Shortcuts? Are you using any custom software that re-binds
> keys or handles key events? A screen recording might also be useful.

Yes, like Ctrl+C, +V, +X.

I have not defined any personal shortcuts. 

The strange thing, if I click on the right mouse button sometimes the shortcuts are shown additionally, but sometimes not. And if sometimes I even can see the shortcuts within the right mouse button menu but still the shortcuts do no work.
Today I have tried to take a screen video but due to no logic I skipped it.
I opened the properties of a folder in dolphin wanting to copy the path with a shortcut. I did not work. Than I copied with right mouse button copy function. I tried to insert with a short cut into a the dolphin address line. It did not work. Than I used the right mouse button function for inserting without shortcut. THis worked. Than again I tried to insert the path again with ctrl+v and it worked - absolutely not understandable what is going on there. There is not a clear reproduceable logic in this failure.

SYSTEM INFORMATION
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.15-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 3 Nate Graham 2021-03-05 19:49:18 UTC
I'd like to see that video anyway, especially if it shows menus being shown without shortcuts in them. That's very odd.
Comment 4 Rüdiger 2021-03-09 09:03:21 UTC
Created attachment 136516 [details]
shurtcut-problem-in-dolphin
Comment 5 Rüdiger 2021-03-09 09:07:13 UTC
I have taken the videos. Firstly using shortcuts. They did not work. Than using the menu function. This worked.
I have also this problem of not shown or not working of shortcuts in other applications in KDE, e.g. as firefo.
Comment 6 Nate Graham 2021-03-09 17:01:37 UTC
OK, so the screen recording shows missing shortcuts for the URL navigator, which actually lives elsewhere, not in Dolphin.

Questions:

1. Are you missing the same shortcuts in the URL navigator in Gwenview or the file open/save dialogs?
2. Are you missing shortcuts in any other menus in Dolphin, or any other menus in any other KDE app? Let's forget about Firefox for now.
Comment 7 Rüdiger 2021-03-09 20:32:53 UTC
Created attachment 136539 [details]
shortcut-failure-in-konqueror

Yes, I have attached a video with shortcut-failure-in-konqueror.
Comment 8 Nate Graham 2021-03-09 22:10:23 UTC
Thanks. So the URL navigator has the same problem in Konqueror. How about other context menus in other parts of the UI in Konqueror and other KDE apps? Do any of them have the same problem?
Comment 9 Rüdiger 2021-03-11 12:01:29 UTC
Created attachment 136583 [details]
shortcuts work in clementine

Shortcuts work /exist in clementine, if I edit a the name of song file. But in gwenview there is no copy, paste or cut function in the right mouse button menu at all. Thus no shortcuts.
Comment 10 Nate Graham 2021-03-11 16:50:57 UTC
Can you go to System Settings > Shortcuts > scroll down to "Common actions" > Edit, and then see if the default shortcuts for Cut, Copy, and Paste have gotten removed or overridden?
Comment 11 Rüdiger 2021-03-11 16:59:18 UTC
Created attachment 136591 [details]
shortcuts-settings

The shortcuts are set. May be a problem is that the are 2 shortcuts for one function defined?
Comment 12 Nate Graham 2021-03-11 19:38:05 UTC
Nah, that should be fine.

Well, I'm out of ideas. :( Thanks for all the information you've provided.
Comment 13 David Redondo 2021-03-12 08:03:38 UTC
> The strange thing, if I click on the right mouse button sometimes the shortcuts are shown additionally, but sometimes not

I would guess somehow the actions are not assigned the shortcuts. I do not know how this is done programmatically in Dolphin. I assume Kstandardaction?

Of course it could some weird bug where the action loses its shortcut sometimes?
Comment 14 Rüdiger 2021-03-12 09:45:37 UTC
In the system settings for shortcuts there two shortcuts for one function assigned originally by default. I have deleted one of each. Now there is only left one shortcut for each function:
copy --> strg+c
paste --> strg+v
cut --> strg+x

Even the shortcuts are not always completely shown in the right button menu, yet, but now they seem to work!!

I will keep you updated, if I it still works in the long term run.
Comment 15 Nate Graham 2021-03-12 14:14:59 UTC
Yes, I imagine. FWIW for the reporter, it affects KURLNavigators in multiple KDE apps, not just Dolphin.
Comment 16 Rüdiger 2021-03-25 09:21:34 UTC
After having taken out the double shortcuts which were set by default now it seems to work properly still after some time of testing. One shortcut per function is enough of course.
Thanks for all your kind support.