[kmymoney] [Bug 389631] New: Date edit should default on day section

Anguo bugzilla_noreply at kde.org
Tue Jan 30 06:58:52 UTC 2018


https://bugs.kde.org/show_bug.cgi?id=389631

            Bug ID: 389631
           Summary: Date edit should default on day section
           Product: kmymoney
           Version: 4.8.1
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: kde_bugs at overshoot.tv
  Target Milestone: ---

When adding a new entry in a ledger and tabbing into the date widget, the
default focus should be the day section.

I have just upgraded from kmymoney 8.0 to kmymoney 8.1, and I couldn't not
notice a very annoying change in the way the date widget is being handled.
I have tracked the changes to this commit:

https://bugs.kde.org/show_bug.cgi?id=374123 
Git commit b22c965f5848642725ceb6c7ed7b22fdc296a950  
Committed on 25/12/2016 
Pushed by tbaumgart into branch '4.8'.
Use first date section to start editing
Use the first section of the date edit widget for the selected date
format instead of always using the day section
FIXED-IN: 4.8.1
M  +12   -8    kmymoney/widgets/kmymoneydateinput.cpp
M  +33   -24   kmymoney/widgets/kmymoneydateinput.h


When using kmymoney, most of the time is spent keying in new transactions in
the ledger. For efficiency purposes, it is important to be able to do so
without using the mouse, but simply and quickly tabbing from field to field.
My usage pattern for some accounts is to enter about 1~2 weeks worth of
transactions with a small handful of transactions for any given day, with my
date format being YYYYMMDD.
With KMM 4.8.0, tabbing into the date widget, the focus was on the day section
by default, which suited me fine, because I am entering the transactions in
chronological order and a single 'arrow up' key press allowed me to move on to
the next day. Now, the focus is on the year by default, and for each
transaction that occurred on the next day, I have to press 6 times the right
arrow to focus on the day field and select the right day.

Basically, the logic of the above 'fix' is a bit faulty as it assumes that the
first section (the leftmost section) is the most useful/relevant one, whereas
the day section is the most relevant. Reverting the above commit would suit me
fine.

Also, since we're speaking about the date selection widget, what I'd really
like is to be able to move to the next month/year simply by incrementing the
day part. E.g. with the focus on the day section, arrow up increments the day
from 01 to 02, from 02 to 03, etc. and on the 31st of one month, to the 1st of
the next month, from the 28th (or 29th) of February to the 1st of March, from
the 31st of December to the 1st of January of the following year. Have the same
logic applied in reverse with a arrow down key press (moving from the 1st
January to the 31st of December of the previous year, from the 1st to the last
day of the previous month, etc.).  Do the KDE/Qt libraries have such a
functionality for their date widget?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list