Bug 416565

Summary: Date control in ledger should allow me to enter date with keyboard
Product: [Applications] kmymoney Reporter: BigH29 <hh29junk>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:

Description BigH29 2020-01-22 08:04:47 UTC
SUMMARY
Date control fights keyboard entry by the user.

STEPS TO REPRODUCE
1. Create new entry in a ledger 
2. Use tab key to highlight date column. 
3. Press CTRL-A to select all text in date field
4. Try to type the date "12/29/19" with the keyboard

OBSERVED RESULT
Date control wigs out and tries to outsmart use input.  


EXPECTED RESULT
Date control should accept the input text as the date


ADDITIONAL INFORMATION
When I am entering in lots of ledger entries, I should be able to just type in a date without reaching for the mouse, or reaching for the arrow keys.
Comment 1 Jack 2020-01-22 15:05:53 UTC
It may not be completely obvious, but when you first tab into the date field, note exactly where the cursor is.  (From memory) it starts with the day part selected.  At that point, you can just type the day, and then the year gets selected.  Unfortunately, you then need to use the left arrow to move back to the month part.  I am not certain if the order of the date parts (month, day, year) adjusts based on your locale setting.
I don't know exactly what underlying QT and/or KDE widgets are used to make up the complete date widget, but that is what controls what KMM is able to do there.
So, you can enter dates with the keyboard, but it is not a convenient as you desire.  Might it make sense to change this to a wishlist to improve the use of that field?