Bug 54429 - number of unread messages in folder list is garbled
Summary: number of unread messages in folder list is garbled
Status: RESOLVED DUPLICATE of bug 53521
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-10 21:07 UTC by Flavio Stanchina
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
kfoldertree.diff (1.00 KB, text/x-diff)
2003-02-10 22:40 UTC, Carsten Burghardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Flavio Stanchina 2003-02-10 21:07:21 UTC
Version:           1.5 (using KDE 3.1.0)
Installed from:     (3.0)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.20

The number of unread messages in the folder list is rendered incorrectly. A closer inspection reveals that apparently the number is rendered twice: once with the normal font and then with the bold font. This is not visible if the folder list is using a fixed-width font, only with a proportional font where the bold text is wider than the normal text.

If it matters, I'm using the Verdana TrueType font.
Comment 1 Carsten Burghardt 2003-02-10 22:33:51 UTC

*** This bug has been marked as a duplicate of 53521 ***
Comment 2 Carsten Burghardt 2003-02-10 22:40:17 UTC
Subject: Re:  New: number of unread messages in folder list is garbled

Am Montag, 10. Februar 2003 21:07 schrieb Flavio Stanchina:
> The number of unread messages in the folder list is rendered incorrectly. A
> closer inspection reveals that apparently the number is rendered twice:
> once with the normal font and then with the bold font. This is not visible
> if the folder list is using a fixed-width font, only with a proportional
> font where the bold text is wider than the normal text.

I don't see this behaviour but I assume it's because KListViewItem::paintCell 
is called in the kfoldertree and afterwards the bold font is set.
Perhaps the attached patch fixes this, perhaps somebody who sees this 
behaviour can test it .



Created an attachment (id=928)
kfoldertree.diff
Comment 3 Malte S. Stretz 2003-02-10 23:19:51 UTC
I'll have a try...