[kmail2] [Bug 378281] column width in messages list view not retained

Dennis Menschel bugzilla_noreply at kde.org
Mon May 25 22:06:18 BST 2020


https://bugs.kde.org/show_bug.cgi?id=378281

Dennis Menschel <menschel-d at posteo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |menschel-d at posteo.de

--- Comment #5 from Dennis Menschel <menschel-d at posteo.de> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list