Bug 246146 - Mail list columns width shrink when sorted or view changed
Summary: Mail list columns width shrink when sorted or view changed
Status: RESOLVED INTENTIONAL
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 5.3.2
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-29 13:03 UTC by osavill
Modified: 2020-02-24 10:59 UTC (History)
4 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 osavill 2010-07-29 13:03:41 UTC
Version:           1.13.3 (using KDE 4.4.3) 
OS:                Linux

When any sort header is clicked in the mail list or the view is changed to a different folder all the visible columns shrink dramatically. Each time a table header is clicked the columns shrink further until they become impossible to click in!

I am using KMail within KDE. I have the message viewer to the right of the message list and the Subject, Sender, Date and Attachment columns are visible. The problem doesn't seem to occur when the message viewer is below the message list.

I have Compiz disabled but 3D acceleration enabled in X. I have Desktop Effects enabled in KDE, Compositing active using OpenGL. Disabling Desktop Effects appears to make no difference.

Reproducible: Always

Steps to Reproduce:
Launch KMail
Click a column header

Actual Results:  
All visible columns shrink to almost nothing.

Expected Results:  
The column width should not change
Comment 1 Justin T. Frisch 2012-01-25 13:25:35 UTC
i can confirm this behaviour with Kontact 4.8 rc2 in KDE 4.7.97 Arch Linux
the issue does NOT occur when I directly run the kmail executable.
the column shrinking only happens to the mail listing inside kontact (also with message viewer below the list). the rss articles or to-do lists for example, are not affected.
Comment 2 Justin T. Frisch 2012-02-09 09:20:20 UTC
the shrinking also happens when changing to different imap mail folders! it's really annoying
Comment 3 Bernd Oliver Sünderhauf 2012-08-24 12:50:52 UTC
According to #1, this still applies to kmail2, component: message list.
However I can't reproduce this bug using kontact 4.9. Can someone else?
Comment 4 Myriam Schweingruber 2012-08-27 22:27:13 UTC
Setting status correctly.
Comment 5 Alex Merry 2014-05-23 10:31:06 UTC
I can reproduce this with standalone KMail 4.13.1, using kdelibs 4.13.1, on ArchLinux (Qt 4.8.6).

As with the others, I have the message list on the left (under the folder list), and the message pane on the right. I also have a very small screen real estate (1024x600). The columns shrink whenever I change the sorting (by clicking a column header) or change mail directory.

I don't recall having this issue even a few months ago (I don't use email much on this machine, so I'm not sure quite what the timing was). I'm going to try playing around with configuration settings, and possibly building a local copy of KMail and/or kdepimlibs and putting debug statements in.
Comment 6 Alex Merry 2014-05-23 11:16:30 UTC
The precise bit of my kmailrc that seems to be causing issues is:

[MessageListView::Themes]
Count=3
Set0=0000cafe00001002000000180031003300310039003500360030003200380035002d00390000000e0043006c00610073007300690063000000600041002000730069006d0070006c0065002c0020006200610063006b0077006100720064007300200063006f006d00700061007400690062006c0065002c002000730069006e0067006c006500200072006f00770020007400680065006d006500000010190000000100ffff0000000000000000000000070000000000000010000000110000000e005300750062006a006500630074ffffffff01000000000600000001000000020152000f000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000015000a000000080000001400530061006e00730020005300650072006900664022000000000000ffffffff0001004b10006401000000000000000000ffff000000000000000000000000000000010000000700480015000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0008000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a0017000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000480018000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0011000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0010000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000002d0001000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000001000000130000001e00530065006e006400650072002f00520065006300650069007600650072ffffffff010100000003000000000000000100000001000d0003000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000000000000000010000000e0000000c00530065006e006400650072ffffffff000000000004000000000000000100000001000d0004000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff0000001000520065006300650069007600650072ffffffff000000000005000000000000000100000001000d0005000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff000000080044006100740065ffffffff010000000001000000000000000100000001001d0002000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000000000000000010000000700000020004d006f0073007400200052006500630065006e007400200044006100740065ffffffff0000000000020000000100000001001d0014000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000000000000000000100000001001d0014000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff0000000800530069007a0065ffffffff000000000007000000000000000100000001000d0006000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff00000014004100740074006100630068006d0065006e00740000001e006d00610069006c002d006100740074006100630068006d0065006e0074000000000000000000000000000100000001004a0008000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000001000003670000000c0055006e00720065006100640000001e006d00610069006c002d0075006e0072006500610064002d006e0065007700000000000900000000000000010000000100480007000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff0000000e005200650070006c00690065006400000018006d00610069006c002d007200650070006c006900650064000000000000000000000000000100000001004a0009000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff000000120049006d0070006f007200740061006e0074000000200065006d0062006c0065006d002d0069006d0070006f007200740061006e0074000000000000000000000000000100000001014a000c000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff000000160041006300740069006f006e0020004900740065006d00000012006d00610069006c002d007400610073006b000000000008000000000000000100000001014a000b000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff00000010005300700061006d002f00480061006d0000001c006d00610069006c002d006d00610072006b002d006a0075006e006b000000000000000000000000000100000001014a000d000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff0000001e0057006100740063006800650064002f00490067006e006f00720065006400000022006d00610069006c002d007400680072006500610064002d00770061007400630068000000000000000000000000000100000001014a000e000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff000000140045006e006300720079007000740069006f006e00000026006d00610069006c002d0065006e0063007200790070007400650064002d00660075006c006c000000000000000000000000000100000001004a0010000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff00000012005300690067006e0061007400750072006500000028006d00610069006c002d007300690067006e00650064002d00760065007200690066006900650064000000000000000000000000000100000001004a0011000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff000000100054006100670020004c0069007300740000001c0066006500650064002d00730075006200730063007200690062006500000000000000000000000000010000000100480016000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000000ffffffff0000babe
Set1=0000cafe000010020000001a0031003300310039003500360030003200380035002d003100300000000a00460061006e006300790000004c0041002000660061006e006300790020006d0075006c00740069006c0069006e006500200061006e00640020006d0075006c007400690020006900740065006d0020007400680065006d006500000010190000000100ffff0000000000000000000000070000000100000010000000010000000e004d006500730073006100670065ffffffff01000000000000000001000000020152000f000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000015000a000000080000001400530061006e00730020005300650072006900664022000000000000ffffffff0001004b10006401000000000000000000ffff0000000000000000000000000000000200000001002d0001000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000c00480007000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0009000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0008000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a0017000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000480018000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0010000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0011000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000480016000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a000b000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a000c000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a000d000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a000e000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000000001000d0003000000180000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003211006401000000000000000000ffff000000000000000000000001001d0002000000180000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003211006401000000000000000000ffff000000000000000000000001ffffffff0000babe
Set2=0000cafe000010020000001a0031003300310039003500360030003200380035002d003100310000003600460061006e006300790020007700690074006800200043006c00690063006b00610062006c006500200053007400610074007500730000008a0041002000660061006e006300790020006d0075006c00740069006c0069006e006500200061006e00640020006d0075006c007400690020006900740065006d0020007400680065006d0065002000770069007400680020006100200063006c00690063006b00610062006c0065002000730074006100740075007300200063006f006c0075006d006e00000010190000000100ffff0000000000000000000000070000000000000010000000020000000e004d006500730073006100670065ffffffff01000000000000000001000000020152000f000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000015000a000000080000001400530061006e00730020005300650072006900664022000000000000ffffffff0001004b10006401000000000000000000ffff0000000000000000000000000000000200000001002d0001000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000800480007000000000000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0009000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0008000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a0017000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000480018000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0010000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000004a0011000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000480016000000010000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff000000000000000000000001000d0003000000180000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003211006401000000000000000000ffff000000000000000000000001001d0002000000180000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003211006401000000000000000000ffff000000000000000000000001ffffffff0000000c005300740061007400750073ffffffff010000000000000000000000000200000002014a000b000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a000c000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000002014a000d000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff0000000000000000014a000e000000020000001400530061006e00730020005300650072006900664022000000000000ffffffff0001003210006401000000000000000000ffff00000000000000000000000000000001ffffffff0000babe

I have no idea what any of this means, but the problem goes away if I delete my kmail2rc and restart kmail, but if I then select the "show the message preview pane next to the message list" (this is actually the only way I can see the message list on my small screen), quit kmail, replace the existing MessageListView::Themes section of my kmail2rc file with the above and start kmail again, the problem comes back.
Comment 7 Justin T. Frisch 2015-10-30 07:42:11 UTC
This issue still exists even with KMail 4.14.10.

Like suggested by Alex Merry, it can be worked around be deleting the [MessageListView::Themes] section in kmail2rc config file.
Comment 8 Justin T. Frisch 2016-10-29 16:46:27 UTC
with 16.08.2-1, the workaround deleting [MessageListView::Themes] section from kmail2rc no longer works.
the columns not only shrink when re-sorting but also when changing imap folders. this renders the list view fundamentally unusable
Comment 9 osavill 2020-02-24 10:59:15 UTC
This report is very old now. Kmail won't start on my system as I don't use Akonadi so I can no longer even test it. Will set status to resolved