Bug 243312

Summary: Seperator entries in ledger view cut date part when No. field is not shown
Product: [Applications] kmymoney Reporter: Thomas Baumgart <tbaumgart>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: I wasn't able to reproduce this based on the description

Description Thomas Baumgart 2010-07-01 08:11:23 UTC
Version:           unspecified (using KDE 4.3.5) 
OS:                Linux

In case a ledger is supposed to hide the no. field, the separators that show a date (e.g. online statement balance) display that date incomplete. It begins out of sight and only the right part is visible.

Reproducible: Didn't try

Steps to Reproduce:
- Disable the "Always show no. field" option
- Enable the "Show group header between transactions"
- Open the ledger of an account that hides the no. field (e.g. Cash or Savings account)
- Make sure that this account shows a group header/separator that contains a date in the left column


Actual Results:  
Date is displayed incomplete.

Expected Results:  
Display of date should be complete.

Note for developers: use the first visible column to determine the location of the date field in GroupMarker::paintRegisterCell()
Comment 1 Cristian OneČ› 2010-07-01 19:53:24 UTC
Created attachment 48525 [details]
I wasn't able to reproduce this based on the description

The date shows up just fine here.
Comment 2 Thomas Baumgart 2010-07-23 09:52:44 UTC
Try the following:

- create a new account of type asset with an opening balance of 1000.
- open the ledger for that account
- check that the date is displayed correctly and remember the size of the date column
- delete the opening balance transaction from within the ledger
- notice how the date column is shifted to the left
- it comes back if you create another transaction (anyone will do)
Comment 3 Cristian OneČ› 2010-07-23 21:44:18 UTC
SVN commit 1153702 by conet:

BUG: 243312
Implemented a minimum width feature for the date field. We had a fixed width policy in the past for this column.

 M  +8 -0      register.cpp  


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