Bug 483782 - Kmail Message list does not show anything in "Date" column (migration from 5.x broken)
Summary: Kmail Message list does not show anything in "Date" column (migration from 5....
Status: REOPENED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: 6.0.0
Platform: Manjaro Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-16 18:12 UTC by whatifgodwasoneofus
Modified: 2024-05-06 21:08 UTC (History)
2 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 whatifgodwasoneofus 2024-03-16 18:12:14 UTC
SUMMARY
After update to v6.0.0, the "Date" column in the message list of KMail show nothing.
This happens with any “Theme” (from View->Message List->Theme).
I Tried on two different installations, same behaviour.


If I click on the column

STEPS TO REPRODUCE
1. Open kmail 6.0.0
2. select a folder where you have some messages
3. select a theme where the Date column is displayed

OBSERVED RESULT
The "Date" column shows NOTHING.

EXPECTED RESULT
The "Date" column should show the date of the message.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.0.0
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
If you click on the column header, the message ilst is actually sorted ascending or descending, alternatively. It is just that the value of the "Message Date" is not shown at all.
Comment 1 Grósz Dániel 2024-03-26 09:07:09 UTC
Happens here too.

KMail or Kontact 6.0.0

Operating System: openSUSE Tumbleweed 20240321
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-1-default (64-bit)
Graphics Platform: X11
Comment 2 whatifgodwasoneofus 2024-05-06 16:50:55 UTC
Found the solution.

Go to Kmail Settings -> Configure KMail -> Appearance -> Message List and choose a different "Date Display" option.
Mine was set to "Smart format", I switched to Localized and hit "Apply", and I suddenly saw the date column being populated in the message list. Then, I clicked back on "Smart format" and applied again, and it worked as expected.

Probably there is some setting being stored differently in the configuration file, and the "migration" from the past version does not work perfectly. I wonder how many other similar issues are there...
Comment 3 Grósz Dániel 2024-05-06 21:08:21 UTC
It remains a bug that, if one has used Smart Format in KMail 5.x, the migration is broken, and no date is shown in 6.x.

In fact, switching back to another date format, and then back to Smart Format, it works.

In my config file, migrated from 5.x, the relevant line is
dateFormat=5
while after changing the format and back, it has no line containing dateFormat. I guess now that's the default, determined by having no such line, and the old number this choice had is no longer recognized?