Bug 478717

Summary: Duplicate keyboard accelerators in the file menu
Product: [Applications] kate Reporter: Kotori Itsuka <cmdrkotori2>
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: christoph
Priority: NOR Keywords: qt6
Version First Reported In: 24.01.80   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kotori Itsuka 2023-12-19 10:13:24 UTC
SUMMARY
Duplicate keyboard accelerators in the file menu break Alt+F S.

STEPS TO REPRODUCE
1. Open file in kate
2. Press Alt+F S
3. Save is highlighted but not activated

OBSERVED RESULT
To actually save, I have to press enter after highlighting the save item.
With the file menu open, repeatedly pressing S switches the highlight between Close Other and Save As
The same thing also happens when I press A (switching between two menu items - Save As and Reload All).

EXPECTED RESULT
Save is activated and the file is saved immediately.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux with kde-unstable repo
(available in About System)
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1

ADDITIONAL INFORMATION
Alt+F Q works fine in kate and quits the application as expected. So does Alt+F C for closing the file. It just seems that the save menu item (and the other items above) are bugged.
The keyboard accelerator for Save (Alt+F S) and Save As (Alt+F A) are probably the more important keyboard accelerators to keep, due to consistency with other word processing applications.
My LANG is EN_AU.UTF-8 if that means anything.
Comment 1 Christoph Cullmann 2023-12-29 16:52:03 UTC
Can not reproduce that with latest master.