Summary: | Ledger scroll position is wrong after new transaction | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | David Houlden <djhoulden> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | SVN | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | video showing the problem |
Description
David Houlden
2011-03-28 17:26:55 UTC
Do you still observe this behavior in the current SVN trunk? Updating bug with comments from emails while BKO was unavailable.
> > Hi Cristian,
> > BKO seems to be down just now so I can't update the bug report but yes, I
> > still see the same behaviour.
>
> Hm, strange because I've asked after not being able to reproduce it
> base on you description, which seems pretty simple. Does this happen
> for all account types?
>
Yes, I see it on investment, cash, savings, current and credit card accounts.
In case it is relevant, here are the settings I have selected for the ledger.
Ledger -> Display
Show a grid in the register.
Use the ledger lens.
Show transaction form.
Show group header between transactions.
Ledger -> Sorting
Post date
Reconcile state
Amount
Ledger -> Data Entry
Automatic reconciliation
Default state - Not Reconciled
Autofill if amount differs less than 10%
Scheduled Transactions
Enter 0 days in advance.
Number of days to preview in ledger - 5
I also have the filter set to hide transactions before 1st Jan 2010.
I am still seeing this problem but today I happened to run kmymoney in a smaller window than usual and the ledger was displayed correctly after adding a transaction. Usually I have the window maximised to full screen and I always get the problem described. I experimented with different window sizes and sometimes the new ledger entry gets displayed correctly, sometimes I only see the top half of the ledger line and sometimes the whole line is hidden and I have to scroll down to see it. In summary, the problem comes and goes depending on the size of the kmymoney window. I am seeing this on two different PCs. Created attachment 65851 [details]
video showing the problem
Git commit afa411fa865ecd67f2cae6c8ea46ed24b6c34ec2 by Cristian Oneț. Committed on 27/11/2011 at 22:32. Pushed by conet into branch 'master'. Since the register has a mechanism to make the selected item visible remove the external viewport vertical scroll position setting mechanism from kgloballedgerview since the two mechanisms conflicted with each other causing this bug. This was the code is also simplified and we can assume that scrollTo does not change the viewport's position if the item is visible. BUG: 269622 M +0 -43 kmymoney/views/kgloballedgerview.cpp M +0 -6 kmymoney/views/kgloballedgerview.h M +2 -1 kmymoney/widgets/register.cpp http://commits.kde.org/kmymoney/afa411fa865ecd67f2cae6c8ea46ed24b6c34ec2 Git commit 9004e476ae5d7e382c5f8b333eda6085b67e30e9 by Cristian Oneț. Committed on 27/11/2011 at 22:32. Pushed by conet into branch 'stable'. Since the register has a mechanism to make the selected item visible remove the external viewport vertical scroll position setting mechanism from kgloballedgerview since the two mechanisms conflicted with each other causing this bug. This was the code is also simplified and we can assume that scrollTo does not change the viewport's position if the item is visible. BUG: 269622 M +0 -43 kmymoney/views/kgloballedgerview.cpp M +0 -6 kmymoney/views/kgloballedgerview.h M +2 -1 kmymoney/widgets/register.cpp http://commits.kde.org/kmymoney/9004e476ae5d7e382c5f8b333eda6085b67e30e9 |