[kmymoney] [Bug 396405] Last digit of date field is obscured by "details column" in ledger view

Ralf Habacker bugzilla_noreply at kde.org
Wed Jul 11 21:49:11 BST 2018


https://bugs.kde.org/show_bug.cgi?id=396405

Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1

--- Comment #2 from Ralf Habacker <ralf.habacker at freenet.de> ---
Just recognized, that this fix does not help, if the transaction form below the
ledger view is used. 

> In "Ledger view", date displays full CCYY format
How do you setup this format ? I cannot enter this format in the KDE regional
settings kcontrol module, started inside kmymoney with "settings"->"KDE
regional/language settings".

The date column in the ledger view uses the regional short date format.

If I enter the long format e..g "WOCHENTAG, tT. MONAT JJJJ" I can see that some
dates e.g. "Donnerstag, 26. September 6999" in german, the last digit is still
hidden.

This is because int Register::minimumColumnWidth(int col) there is used       
 KGlobal::locale()->formatDate(QDate(6999, 12, 29), KLocale::ShortDate) + " 
"); for calculating the date column width.

This returning 

"Sonntag, 29. Dezember 6999"

for german language, which is shorter than the longest possible string in
german.

"Donnerstag, 26. September 6999"

In other languages the longest date string may be on a different date.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list