Bug 499174

Summary: Conflicting keyboard shortcut Alt+A in Payee Matching
Product: [Applications] kmymoney Reporter: Tristan Miller <psychonaut>
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tristan Miller 2025-01-27 00:04:39 UTC
In the Matching tab of the Payees menu, the Add button is assigned the keyboard shortcut Alt+A, but this shortcut is already assigned to the Account pull-down menu.

KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Comment 1 Thomas Baumgart 2025-01-27 07:03:35 UTC
That's a problem introduced by using two upstream components: KXmlGui5 and KEditListWidget which both assign Alt+A independently in this case. Not much we can do about.
Comment 2 Tristan Miller 2025-01-28 03:34:52 UTC
Really?  Does the KDE API provide no general way to override a widget's shortcut, or to provide an additional alternative shortcut for a widget?
Comment 3 Thomas Baumgart 2025-01-29 17:29:39 UTC
Git commit 14b15891c1f8eaba0fd1116200d3a5de33dc0e4d by Thomas Baumgart.
Committed on 29/01/2025 at 17:29.
Pushed by tbaumgart into branch 'master'.

Avoid duplicate assignment of Alt+A in payees matching tab

This change removes the mnemonic from the button in favor of the menu
entry. It has the disadvantage that the button cannot be reached with an
Alt+X combination anymore. I tried to use Alt+D but that is also used by
one of the tabs.

M  +4    -0    kmymoney/views/kpayeesview_p.h

https://invent.kde.org/office/kmymoney/-/commit/14b15891c1f8eaba0fd1116200d3a5de33dc0e4d