Bug 359349 - Fancy Headers: when CC field has a collapse/expand button, text is misaligned
Summary: Fancy Headers: when CC field has a collapse/expand button, text is misaligned
Status: CONFIRMED
Alias: None
Product: kdepim
Classification: Applications
Component: messageviewer (show other bugs)
Version: 5.4.*
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-13 13:17 UTC by Alexander Potashev
Modified: 2017-01-21 19:09 UTC (History)
1 user (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 Alexander Potashev 2016-02-13 13:17:49 UTC
See steps to reproduce below.

Reproducible: Always

Steps to Reproduce:
1. Open an e-mail with a lot of people in CC. There should be an icon that you click to expand/collapse the list of addresses.
2. Change header style to "Fancy Headers".

Actual Results:  
Notice how the list of addresses is rendered: the commas are significantly above the baseline of actual the addresses. And the icon is also misaligned vertically with the text.

Expected Results:  
Single baseline for all text; the icon should be centered vertically with the text.

KMail version 4.14.10.
Comment 1 Denis Kurz 2017-01-17 19:27:47 UTC
Alexander, are you able to reproduce this bug in a recent version of KMail (>= 5.0 or >= 15.08.0)? And if you are, would you please add a(n anonymized) screenshot of the misaligned headers as an attachment for this bug?
Comment 2 Alexander Potashev 2017-01-19 20:45:19 UTC
(In reply to Denis Kurz from comment #1)
> Alexander, are you able to reproduce this bug in a recent version of KMail
> (>= 5.0 or >= 15.08.0)? And if you are, would you please add a(n anonymized)
> screenshot of the misaligned headers as an attachment for this bug?

In KMail 5.3.3 (KDE Applications 16.08.3) the icon doesn't work at all: nothing happens when I click on it.

Package: kmail-16.08.3-1.fc25.x86_64
Comment 3 Denis Kurz 2017-01-21 19:09:02 UTC
OK, I managed to find a message with many receivers myself. I think the commas are now aligned properly. The collapse icon is still too high, though.

Btw, the direction of the arrows on the expand/collapse buttons are confusing, too. The button is in front of the receiver list. In collapsed state, the arrows point away from the list. Arrows towards the collapsed list are more common, and common in KDE, too. Examples: Collapsed folders in Dolphin's Details View Mode,  collapsed code blocks in KDevelop, or even folders in the folder list of KMail itself.