Bug 472064 - List of scheduled transactions can't be sorted by Next Due Date
Summary: List of scheduled transactions can't be sorted by Next Due Date
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: ux-ui (show other bugs)
Version: unspecified
Platform: macOS (DMG) macOS
: NOR major
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-08 04:40 UTC by Patrick
Modified: 2023-07-08 12:55 UTC (History)
0 users

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


Attachments
Video showing sorting by due date (76.69 KB, video/x-matroska)
2023-07-08 06:35 UTC, Thomas Baumgart
Details
View of the Scheduled Transactions Column headers on a Mac (19.56 KB, image/png)
2023-07-08 09:47 UTC, Patrick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick 2023-07-08 04:40:42 UTC
SUMMARY

(Version: 5.1.80-79bc85e02 on MacOs)

The list of Scheduled Transactions is sorted by Schedule Name. 
This list *should* be sorted by Next Due Date but it is impossible to do so (clicking the Next Due Date column header doesn't do anything). This makes the list almost useless, certainly if you have a lot of scheduled transactions. 
I found nothing in the settings to change this, and I don't see any UI element that would enable sorting by Next Due Date.

STEPS TO REPRODUCE
1. Click the "Scheduled Transactions" icon 

OBSERVED RESULT
The list of Scheduled Transactions is sorted by "Schedule Name"
Clicking on the "Next Due Date" column header doesn't do anything
This renders the list almost useless as it is very hard to find something or get a chronological view on upcoming transactions.

EXPECTED RESULT
Either a click on the Next Due Date column header should change the list sorting (toggle between ascending / descending) or there should be a setting in the Configure dialog that allows for sorting this list by Next Due Date

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: 13
Linux/KDE Plasma: N/A 
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: N/A 
Qt Version: N/A

ADDITIONAL INFORMATION
KMyMoney version 5.1.80-79bc85e02
Comment 1 Thomas Baumgart 2023-07-08 06:35:19 UTC
Created attachment 160136 [details]
Video showing sorting by due date

I am unable to duplicate this behavior on Linux using that version. What happens to the sort indicator when you change columns? Does it change between ascending and descending when you click on the name column?
Comment 2 Patrick 2023-07-08 09:47:00 UTC
Created attachment 160194 [details]
View of the Scheduled Transactions Column headers on a Mac
Comment 3 Patrick 2023-07-08 09:49:21 UTC
I've added a screenshot of the column headers in the Scheduled Transactions list. Clicking on any of those column headers doesn't do anything at all. There's also not sort indicator.
Clicking on column headers does work fine in other list views (e.g. in the account ledgers).
Comment 4 Thomas Baumgart 2023-07-08 12:55:06 UTC
Git commit 3afe41e93adf25c68c7fd0c57e1128d91d5405f6 by Thomas Baumgart.
Committed on 08/07/2023 at 12:54.
Pushed by tbaumgart into branch 'master'.

Show sort options in schedules view
FIXED-IN: 5.2

M  +4    -0    kmymoney/views/kscheduledview_p.h

https://invent.kde.org/office/kmymoney/-/commit/3afe41e93adf25c68c7fd0c57e1128d91d5405f6