Bug 283783

Summary: KMyMoney does not show scheduled transactions in the ledger with a primary sort key different than the post date
Product: [Applications] kmymoney Reporter: harry bennett <kdebugs>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: kdebugs
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: view of configuration, schedule & ledger

Description harry bennett 2011-10-11 13:07:28 UTC
Created attachment 64410 [details]
view of configuration, schedule & ledger

Version:           4.6.0 (using KDE 4.4.5) 
OS:                Linux

I have set the "number of days to preview schedules in ledger -> 30", however not all scheduled transactions appear, if any.

Reproducible: Always

Steps to Reproduce:
create scheduled transaction, see if they appear in ledger.

Actual Results:  
not all scheduled transactions appear, if any.

Expected Results:  
all scheduled transactions _should_ appear, if any.

saved my data anonymously, reopened kmymoney2 using that file, same, same.
Comment 1 harry bennett 2011-10-11 14:03:02 UTC
it has been found that this will occur when the primary sort of the ledger is set to 'reconcile'.

regardless of the ledger sort, I think that scheduled transactions should be displayed in the register. Maybe under a header of future/pending/scheduled,..._something_
Comment 2 harry bennett 2011-10-11 14:17:40 UTC
(In reply to comment #1)
> it has been found that this will occur when the primary sort of the ledger is
> set to 'reconcile'.
> 
> regardless of the ledger sort, I think that scheduled transactions should be
> displayed in the register. Maybe under a header of
> future/pending/scheduled,..._something_

this of course presumes the appropriate settings under configure->schedule transactions.
Comment 3 Jack 2011-10-11 14:30:34 UTC
I can confirm that changing the sort order does change whether or not a future scheduled transaction is displayed in the ledger.  I'll try to create a sample kmy file.
Comment 4 Cristian OneČ› 2012-01-15 09:02:49 UTC
The scheduled transactions are shown in the ledger only if the primary sort key is the post date on purpose.
This is because only then the 'Future transactions' separator is added in the ledger.

Maybe we can get rid of this condition and always display the scheduled transactions in the ledger.

This would be OK if one argues that the future transactions are displayed differently anyway (dimmed). We just need to be careful to add this feature, if we add it, in a way that does not generate future bug reports.

Comments are welcomed on how to do this; meanwhile I'm changing this to a whishlist item.
Comment 5 Jack 2022-12-19 22:22:49 UTC
While 5.1 seems to still only show future scheduled transactions if the sort order is primary date ascending, current master shows them for any sort order (that I have tested.)  They are shown very dim, so they are definitely distinguishable, but not very readable.  Is there a better status then CONFIRMED, as I don't think it should be FIXED until it is actually closer to being released.