The column width in kmail message list is not retained after a restart, especially (but not only) when started within kontact. The changes happen randomly, sometimes the columns are very tight, sometimes wider.
Can confirm this bug in two different computers after upgrading from openSUSE Leap 42.2 to Leap 42.3. The column widths in the classic (traditional) list view are not retained after a restart. The column widths must be adjusted manually after every restart.
It's still there in 5.8.3. A workaround is to click the column headings and choose "adjust column width" (not sure, my settings are German). A possible solution would be to add a setting to always automatically adjust column widths.
(In reply to Martin Tlustos from comment #2) > It's still there in 5.8.3. A workaround is to click the column headings and > choose "adjust column width" (not sure, my settings are German). > A possible solution would be to add a setting to always automatically adjust > column widths. Unfortunately the workaround doesn't help permanently. By the way it is called "Adjust columns sizes". I have to adjust the column sizes almost after every restart of KMail.
I can confirm this, very annoying bug.
I can also confirm this bug. ### Affected Versions - KMail 19.04.3-0ubuntu2 (Kubuntu 19.10) - KMail 19.12.3-0ubuntu1 (Kubuntu 20.04 LTS) ### Steps to reproduce 1. Start Kontact. This can be done on a freshly installed system and you don't need to create an account either. Note that the window is not maximized. 2. Select the mail-view inside Kontact. 3. Maximize the window. 4. From the menu, select View --> Message List --> Theme --> Classic. 5. Close and restart Kontact a few times. ### What is the current bug behavior? Occasionally the first two columns "subject" and "sender" will shrink from restart to restart while the last column "date" stays visible. After about 10 to 20 restarts of Kontact, only the last column "date" will be visible while the first to columns will have shrunken to a width of almost zero. ### What is the expected correct behavior? The columns' width should stay the same between restarts even when the window is maximized. ### Further observations - When starting KMail directly instead of using Kontact, the bug still happens, but less frequently. - There seems to be a race condition with KMail maximizing its window and recalculating its columns' width. - The bug does not happen if Kontact starts with another view (e.g. the calendar) instead of the mail-view. If you switch from mail- to calendar-view before closing Kontact and then switch back from calendar- to mail-view after restarting Kontact, the columns in the mail-view stay the same. ### Possible fixes I've successfully tested the following workaround with the aforementioned versions of KMail/Kubuntu: 1. If the window (of KMail or Kontact) is maximized, click the maximize-button on the window decoration to unmaximize it. 2. Manually move the window in the top-left corner of the screen. 3. Manually resize the window by dragging the lower-right corner of Kontact to the lower-right corner of the screen, so that the windowed position and size are now the same as if the window had been maximized. Confirm that the window decoration does not treat the window as being maximized. 4. Close Kontact and restart it. The window manager might treat the window as maximized again, but the column width should now stay the same between restarts.