Bug 402304

Summary: Cannot set keyboard shortcut for "Enter next transaction"
Product: [Applications] kmymoney Reporter: Alexander Potashev <aspotashev>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 5.0.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Potashev 2018-12-18 14:23:27 UTC
SUMMARY
Cannot set keyboard shortcut for "Enter next transaction".

STEPS TO REPRODUCE
1. open a document, go to tab Summary
2. set shortcut "Ctrl+N" for the action "Enter next transaction" (in Settings -> Configure shortcuts...)
3. press Ctrl+N

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
Should switch to tab Transactions and start editing a new transaction.

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2018-12-18 15:39:51 UTC
Sorry, but there is a misinterpretation on your side. "Enter next transaction" is used to enter the next instance of a scheduled transaction.

How's this to be used:
1. set shortcut
2. select 'Scheduled transactions' view
3. select a schedule
4. Press shortcut

Observed result:
Dialog to enter next scheduled transaction is shown
Comment 2 Alexander Potashev 2018-12-18 15:51:51 UTC
Hallo. Thanks for the clarification!

I seems that the action I need instead is "New" (Ctrl+Ins). However it only works in the Transactions tab. Is it possible to create a application-wide shortcut for this that would also work from the Summary tab?
Comment 3 Jack 2018-12-18 17:38:38 UTC
I suppose you could create a wish-list bug (or change this one) to request a new action or to modify the "New" action to work even when the ledger is not currently displayed.  I suppose it would just be a combination of switching to the Ledger View and then invoking the new transaction action.  Creating a shortcut should then be straightforward.
Comment 4 Alexander Potashev 2018-12-18 18:05:08 UTC
created https://bugs.kde.org/show_bug.cgi?id=402316
Thanks!