Bug 478158 - Some shortcuts are not possible on non-English keyboard layout
Summary: Some shortcuts are not possible on non-English keyboard layout
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface & Miscellaneous (show other bugs)
Version: 23.08.3
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2023-12-06 11:45 UTC by fnx
Modified: 2024-10-27 09:13 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Sample with CTRL+SHIFT+2 (5.38 KB, image/png)
2024-01-06 12:28 UTC, fnx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fnx 2023-12-06 11:45:46 UTC
SUMMARY
***
Shortcut  CTRL+SHIFT+2 for example is not possible on a German keyboard, because Kdenlive saves the shortcut as "@", which is assign to a different key on the German keyboard. 
***


STEPS TO REPRODUCE
1. Use the German keyboard layout 
2. Try to assign CTRL+SHIFT+2 to a action
3. Check what Keyboard shortcut is actually asigned

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 Eugene Savitsky 2023-12-09 20:06:02 UTC
Do you have set the language change shortcut to CTRL-Shift?
Comment 2 fnx 2023-12-10 05:00:14 UTC
(In reply to ezh from comment #1)
> Do you have set the language change shortcut to CTRL-Shift?

no shortcut is set to change the language
Comment 3 emohr 2024-01-06 12:02:13 UTC
CTRL+SHIFT+2 is a user defined shortcut. Which of the official shortcuts doesn’t work for you https://docs.kdenlive.org/en/user_interface/shortcuts.html ?
Comment 4 fnx 2024-01-06 12:27:27 UTC
Defining a user shortcut for CTRL+SHIFT+2 doesn't work. The same issue occurs also for CTRL+ALT+2.
Just try defining an action to CTRL+SHIFT+2 and you will see that it is saved as CTRL+@, which of course is wrong on a German keyboard. Without knowing the code, I would say the issue is that the actual caracter is stored (in this case English Keyboard layout), and not the keys the user pressed (CTRL+SHIFT+2).
Comment 5 fnx 2024-01-06 12:28:10 UTC
Created attachment 164705 [details]
Sample with CTRL+SHIFT+2
Comment 6 emohr 2024-01-07 18:06:11 UTC
Yes, you are right. Some key combinations are not possible as it takes the sign allocated to shift or alt key.
 I’m not sure if this is a Qt limitation.