Bug 416565 - Date control in ledger should allow me to enter date with keyboard
Summary: Date control in ledger should allow me to enter date with keyboard
Status: REPORTED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-22 08:04 UTC by BigH29
Modified: 2020-01-22 15:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?