Bug 187217

Summary: Column order is not remembered between sessions when having used drag and drop
Product: [Applications] kmail2 Reporter: Michael Leupold <lemma>
Component: message listAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: bjoern, bko, florian.lindner, itsjustarumour.tech, kmm, kollix, matthewetaft, mauromancini27, mh, mmtsales, montel, ram.mahaseth, rdu, registration, wstephenson
Priority: NOR Keywords: junior-jobs
Version: 4.9.4   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Leupold 2009-03-15 12:15:21 UTC
Version:           KMail trunk r939506 (using Devel)
OS:                Linux
Installed from:    Compiled sources

(I hope this hasn't been reported before. It's hard to get around as there seem to be plenty of duplicates currently)

I'm using the classic view in the new message list on KMail trunk r939506. The column order has certain weirdnesses:

- If I add a new column in the Theme Customizer it gets added at the position I choose.

- If I reopen the Theme Customizer and drag a column to a different position it get shown correctly in the customizer but the change vanishes upon closing it (the actual message list doesn't show the new order and if I open the customizer the order has reset to what it was before).

- If I change the column order by dragging the headers in the message list, the order changes at first. Those changes however aren't reflected in the theme customizer. If I close and restart kmail the changes are gone.

I suppose those changes are all pretty much related so I'm filing them as one single bug.
Comment 1 Jedd 2009-04-11 01:16:50 UTC
I'm seeing the same bug on 1.11.2 (kde 4.2.2, debian unstable packages).

Setting the order of the columns - in particular making Sender appear to the left of Subject - by either dragging them in the main view, or by using the 'Select View Appearance (theme)' option as you've outlined above - retains the settings for the remainder of the session, but quitting and restarting kmail reverts to the default of Subject to the left of Sender.

I'm only using the Theme setting to get around one of the other known bugs with kmail - which is that custom font settings are ignored (you have to set them within the theme).  Since we're both using themes, it's possible that this is contributing to the problem .. ?
Comment 2 Matthias Heinz 2009-04-13 12:16:07 UTC
It seems as https://bugs.kde.org/show_bug.cgi?id=135412 is a duplicate.
Comment 3 Jedd 2009-04-13 13:19:54 UTC
Except that bug refers originally to a 3.5.x series problem.  During my 3.5.x experiences - which sadly ended a week ago when Debian introduced 4.2.2 into their unstable branch - the column order (and size) was retained perfectly between instances of kmail.

What I think we have here is a failure specific to the 4.x (4.2?) version of kmail - or whenever the theme-functionality was introduced.  Themes appear to mess with the 'normal' configuration items in kmail for, at least, column order and fonts (so far!).
Comment 4 Matthias Heinz 2009-04-13 13:56:07 UTC
True, but somehow that bug reappeard again. Looks to me like the column order just doesn't get saved.

(and yes, its really sad that we've got to deal with kde4.2 in unstable now)
Comment 5 Michael Leupold 2009-04-13 15:01:26 UTC
The bugs are separate. Bug 135412 deals with the column order not changing in the first place (dragged but jumps back). This bug deals with the column order being unchangeable in the theme customizer and the changes not being saved on exiting KMail.
Comment 6 Michael Leupold 2009-08-25 12:52:11 UTC
Still reproducible in 1.12.0 (KDE 4.3).
Comment 7 Will Stephenson 2009-11-02 16:09:17 UTC
Downstream bug https://bugzilla.novell.com/show_bug.cgi?id=551675
Comment 8 Björn Ruberg 2010-02-15 13:11:56 UTC
Just tried it in KDE 4.3.5 and it works. I remember there was a duplicate bug which is not there anymore - so this is probably fixed.
Comment 9 Marcelo Sales 2010-02-15 13:42:33 UTC
I'm running 4.3.5 and when I change columns order by dragging their headers, the change lasts only until I close Kontact. Next time I run it, columns are back in their original positions. I'm running KMail embedded in Kontact, don't know if it makes any difference in this case.
So, at least part or the problem described is not solved. Don't know about Theme Customizer, I do not use it.
Comment 10 Björn Ruberg 2010-02-15 14:05:46 UTC
Ah, okay. It does only happen when you drag around manually. Must be some missing "save" call.
Comment 11 Björn Ruberg 2010-03-01 23:57:34 UTC
*** Bug 200070 has been marked as a duplicate of this bug. ***
Comment 12 km 2010-10-13 10:49:32 UTC
Is there a chance it will be fixed soon? It is really very annoying having to reorder the columns every time after starting the app.
Comment 13 Marcelo Sales 2012-05-04 02:04:57 UTC
This bug is still reproducible in Kmail 2, KDE SC 4.8.2
Comment 14 rdu 2012-11-02 12:35:21 UTC
(In reply to comment #13)
Version 4:4.9.2-0ubuntu2 (Quantal) - bug persist.
Comment 15 rdu 2012-12-05 10:43:06 UTC
Kmail version 4:4.9.4-0ubuntu0.1, KDE version 4.9.4 - bug still persists.
Comment 16 Matthew Taft 2013-01-08 14:01:40 UTC
Using Kontact Version 4.4.11,  KMail Version 1.13.7.  Issue persists.  This has been going on for years now with no apparent serious attention given to it.  As has been asked before, is there a temporary fix we can make in some configuration file, or can we get an update on whether this is going to be looked at soon?
Comment 17 Laurent Montel 2013-01-08 14:39:54 UTC
4.4.11 is obsolete.
We never fix it in 4.4.11

I worked on 4.10 to fixing it but not perfect yet.
Comment 18 Marcelo Sales 2013-02-06 22:23:41 UTC
It seems this has been fixed in 4.10! Thanks!
Comment 19 rdu 2013-02-07 10:27:20 UTC
Hooray! In 4.10 bug seems fixed and Kmail is faster. Thank you.
Comment 20 Florian Lindner 2014-04-16 06:13:32 UTC
I can confirm that the bug is still around with KMail 4.12.4 on Arch.
Comment 21 mauromancini27 2014-04-22 12:54:44 UTC
I have the same bug in Kmail 4.13 (kubuntu 14.04; kde 4.13.0; kernel 3.13.0-24-generic). Column order is not remembered.
Comment 22 Denis Kurz 2016-09-24 17:59:45 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 23 Denis Kurz 2017-01-07 22:20:20 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.