Bug 509997 - TAB through parts of date field
Summary: TAB through parts of date field
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (other bugs)
Version First Reported In: 5.2.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-27 11:11 UTC by Thomas Baumgart
Modified: 2025-09-27 11:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.3
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Baumgart 2025-09-27 11:11:16 UTC
SUMMARY
In 5.1 it was very convenient, at least for me, to jump through all editable fields with tabulator key. This was including jumping over day, month and year in the date field. In the new editor this is no longer possible, arrow keys can be used here.

Can this behaviour somewhere be modified to get back the jumping with one single key (tab)?

(Copied from https://discuss.kde.org/t/5-2-1-jumping-through-date-fields-while-adding-new-transaction/39675)

STEPS TO REPRODUCE
1. Edit a transaction, set the focus to the date widget, select the left-most part (e.g. day)
2. Press the TAB key

OBSERVED RESULT
Keyboard focus jumps to the next widget (amout)

EXPECTED RESULT
Next part of date (e.g. month) is selected

ADDITIONAL NOTE
This is the opposite of the behavior described in bug #240107.
Comment 1 Thomas Baumgart 2025-09-27 11:12:43 UTC
Git commit 301b663ce6189a6f6ea443d71566fb65c7dac862 by Thomas Baumgart.
Committed on 27/09/2025 at 11:11.
Pushed by tbaumgart into branch 'master'.

Add option to control TAB handling in date edit widget
FIXED-IN: 5.3

M  +7    -0    kmymoney/dialogs/settings/ksettingsregister.ui
M  +4    -0    kmymoney/kmymoney.cpp
M  +4    -0    kmymoney/settings/kmymoney.kcfg
M  +45   -11   kmymoney/widgets/kmymoneydateedit.cpp
M  +36   -4    kmymoney/widgets/kmymoneydateedit.h

https://invent.kde.org/office/kmymoney/-/commit/301b663ce6189a6f6ea443d71566fb65c7dac862