Bug 243312 - Seperator entries in ledger view cut date part when No. field is not shown
Summary: Seperator entries in ledger view cut date part when No. field is not shown
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 08:11 UTC by Thomas Baumgart
Modified: 2010-07-23 21:44 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
I wasn't able to reproduce this based on the description (10.14 KB, image/png)
2010-07-01 19:53 UTC, Cristian Oneț
Details

Note You need to log in before you can comment on or make changes to this bug.
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