Bug 178402 - JJ: custom font settings overwritten new message list settings
Summary: JJ: custom font settings overwritten new message list settings
Status: REOPENED
Alias: None
Product: kmail
Classification: Applications
Component: new message list (show other bugs)
Version: 1.11.90
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Szymon Stefanek
URL:
Keywords:
: 179702 179915 181135 182969 184229 203825 204207 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-21 21:29 UTC by Andreas Kuhl
Modified: 2019-04-19 15:35 UTC (History)
20 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kuhl 2008-12-21 21:29:51 UTC
Version:           1.10.92 (using Devel)
Installed from:    Compiled sources

KMail ignores custom font settings made in "settings" -> "appearance" -> "fonts". This is caused by the new message list settings.

Reproduce: I have choosen bold fonts in KMail settings for new and unread messages, but all new and unread messages appear in normal style:
http://imagebin.ca/view/HPO87htM.html

Thomas McGuire has already confirmed this bug:

"I'm not sure how to best fix this, though, as the font can also be specified in the setting of the theme. It is not clear if the font of the configure dialog should override all fonts of the theme (might not make sense for the fancy theme, where the sender/receiver has a different font, for example). 
One option is to remove the message list stuff from the font settings altogether, and add a theme option for making the text bold instead."

I commented afterwards:

"If the settings would be integrated into the new theming, there should be an option to set a "new or unread" style for at least the subject."
Comment 1 Jaime Torres 2009-02-05 17:00:59 UTC
*** Bug 181135 has been marked as a duplicate of this bug. ***
Comment 2 Jaime Torres 2009-02-07 11:04:21 UTC
*** Bug 179915 has been marked as a duplicate of this bug. ***
Comment 3 Jaime Torres 2009-02-07 13:20:33 UTC
*** Bug 182969 has been marked as a duplicate of this bug. ***
Comment 4 Joshua Dunamis 2009-02-13 16:02:11 UTC
This bug affect also to me! I cannot change the fonts settings in Kmail. 
Comment 5 Thomas McGuire 2009-03-19 00:23:57 UTC
*** Bug 184229 has been marked as a duplicate of this bug. ***
Comment 6 GMkl 2009-04-07 11:58:06 UTC
Unfortunately this bug turns out to be a showstopper for kmail users who are used to new or unread messages in bold. It may force people to stick to KDE 3.1.4 in their productive environment.
Comment 7 GMkl 2009-04-08 12:21:31 UTC
Sorry forthe typo - must read 4.1.4.
Comment 8 Jedd 2009-04-09 23:26:02 UTC
So it looks like there's no workaround for this at all?  I don't have theming enabled, and it still won't let me change the font sizes at all for the message list.  I seem to have wrangled the folder list to respect a smaller font, but can't easily reproduce.

Aside - I've just been forcibly pushed into KDE4.2, and am finding lots of these kinds of surprises (one reason I reverted to 3.5.x about 6 months ago after experimenting with 4.x).  I suspect we'll see quite a few new followers of these bugs over the next few weeks, as Debian has just dropped KDE 4.2 into their unstable branch.
Comment 9 don Christophe 2009-04-29 22:34:59 UTC
I'm pleased to use kde 4.2.2 but this bug prevent me to manage a great amount of mails: how to underline important ones if you can only rely on the beautifull little icons in front of each item in the list?
Thank you for the work!
Comment 11 Martin Koller 2009-08-05 21:48:19 UTC
*** Bug 179702 has been marked as a duplicate of this bug. ***
Comment 12 Martin Koller 2009-08-07 15:01:06 UTC
FYI: I'm currently working on this.
Comment 13 Martin Koller 2009-08-09 23:21:15 UTC
SVN commit 1009385 by mkoller:

BUG: 178402

Make custom fonts settings work again.



 M  +0 -1      configuredialog.cpp  
 M  +1 -1      configuredialog_p.h  
 M  +1 -1      messagelistview/core/delegate.cpp  
 M  +7 -0      messagelistview/core/messageitem.h  
 M  +2 -30     messagelistview/core/model.cpp  
 M  +2 -47     messagelistview/core/theme.cpp  
 M  +1 -106    messagelistview/core/theme.h  
 M  +89 -132   messagelistview/core/themedelegate.cpp  
 M  +6 -9      messagelistview/core/themedelegate.h  
 M  +3 -3      messagelistview/core/themeeditor.cpp  
 M  +1 -1      messagelistview/core/themeeditor.h  
 M  +41 -33    messagelistview/storagemodel.cpp  
 M  +14 -1     messagelistview/storagemodel.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1009385
Comment 14 Thomas McGuire 2009-08-14 13:59:26 UTC
*** Bug 203825 has been marked as a duplicate of this bug. ***
Comment 15 Martin Koller 2009-08-17 22:00:38 UTC
*** Bug 204207 has been marked as a duplicate of this bug. ***
Comment 16 Graham Anderson 2009-08-18 01:50:35 UTC
Now working in openSUSE, thanks for the fix, much appreciated!

Version 4.3.00 (KDE 4.3.0) "release 155"

Repository: @System (KDE4 Factory)
Name: kdepim4
Version: 4.3.0-154.1
Vendor: openSUSE Build Service
Comment 17 Andy Neitzke 2009-12-16 00:10:35 UTC
On my machine (Kubuntu, KMail 1.12.4, KDE 4.3.4) this isn't completely fixed:  just now I tried changing the font size in the message list and found that the change had no effect.  It turns out that it only takes effect after restarting KMail, but it took me a little while to figure that out.
Comment 18 Peter Hatina 2016-09-02 14:00:05 UTC
Running KMail 5.1.3, I also experienced this bug.

The only workaround I found is to manually edit the font settings in kmailrc:
UnreadMessageFont=Monospace,10,-1,5,75,0,0,0,0,0 <- this is bold
UnreadMessageFont=Monospace,10,-1,5,50,0,0,0,0,0 <- this is not

the value 75 defines the bold font.

Please, fix this.
Comment 19 Peter Hatina 2019-04-19 15:35:28 UTC
Any updates?