Bug 388521 - When opening folder treats "Unknown" email date as newest
Summary: When opening folder treats "Unknown" email date as newest
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: folders (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 12:39 UTC by Kai Uwe Broulik
Modified: 2018-01-05 09:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Uwe Broulik 2018-01-04 12:39:56 UTC
I have configured KMail to show the newest mail when I enter a folder. In my folder, for some reason, at the bottom I have an email with "Unknown" date. This one is then always selected when I enter the folder, despite being at the bottom of the list. If I configure it to show the oldest mail, it uses the last one before the "Unknown" one.
Comment 1 Kai Uwe Broulik 2018-01-04 16:34:01 UTC
Git commit b6534794f87f757efe07f4d9498d2db366e0ec5f by Kai Uwe Broulik.
Committed on 04/01/2018 at 16:33.
Pushed by broulik into branch 'master'.

Check date validity before comparing it

Prevents it from treating items with unknown date to be newer than anything else.

Differential Revision: https://phabricator.kde.org/D9654

M  +7    -5    messagelist/src/core/model.cpp

https://commits.kde.org/messagelib/b6534794f87f757efe07f4d9498d2db366e0ec5f
Comment 2 Kai Uwe Broulik 2018-01-05 09:24:40 UTC
Git commit cc0e08dc88461384293840a5ee296189d71dc426 by Kai Uwe Broulik.
Committed on 05/01/2018 at 09:24.
Pushed by broulik into branch 'master'.

[Kickoff] Hide tab bar if only one tab button is configured

In Kickoff you can re-arrange and hide individual tab buttons.
If you remove all but one the tab bar becomes pointless.
FIXED-IN: 5.12.0

Differential Revision: https://phabricator.kde.org/D9655

M  +5    -2    applets/kickoff/package/contents/ui/FullRepresentation.qml

https://commits.kde.org/plasma-desktop/cc0e08dc88461384293840a5ee296189d71dc426
Comment 3 Kai Uwe Broulik 2018-01-05 09:24:54 UTC
Urgh, closed wrong bug