Bug 236458

Summary: Ledger View Cosmetic Issue
Product: [Applications] kmymoney Reporter: allan <agander93>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description allan 2010-05-05 18:48:43 UTC
Version:           3.97.2-svn1121075 (using 4.3.5 (KDE 4.3.5) "release 0", openSUSE 11.2)
Compiler:          gcc
OS:                Linux (i686) release 2.6.31.12-0.2-desktop

Sorry, another one, but very minor this time - I've been ignoring it.

When opening a transaction to examine it, all columns except the details column are obscured by blue.  Running the mouse over each column wipes the blue away and the proper column detail becomes visible, but moving the mouse outside the table widget obscures the details again.

In a bank item, a few rows are obscured, but an investment item can have more than 12 rows affected.
Comment 1 Cristian OneČ› 2010-05-05 20:00:58 UTC
I also saw this behaviour but only when the transaction for is disabled (when you edit the transaction directly in the register), right?
Comment 2 Cristian OneČ› 2010-05-08 13:55:36 UTC
SVN commit 1124253 by conet:

BUG: 236458
This commit contains two fixes:
1. Don't trigger the painting of previous items of the transaction if that is not needed (if the transaction is not selected). Even if it's needed trigger the painting of the previous item which, in turn, will trigger the painting of the previous item until the first item of the transaction is reached. This is an optimization also.
2. Fix the bug by correctly computing the rectangle of the selection when painting the selection in case the height of the rows vary in size (like when editing transactions without the form)

 M  +22 -8     transaction.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1124253