Bug 405224 - KMail/Kontact mail list refreshed on (de)activation
Summary: KMail/Kontact mail list refreshed on (de)activation
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: message list (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-08 15:49 UTC by Mykola Krachkovsky
Modified: 2019-03-15 15:13 UTC (History)
0 users

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 Mykola Krachkovsky 2019-03-08 15:49:59 UTC
SUMMARY
Each time main KMail/Kontact window is activated or deactivated its mail list is refreshed and currently selected mail is lost.

STEPS TO REPRODUCE
1. Open some mail directory (and keep in mind which mail was selected).
2. Select one or other mail (not the same which was selected on directory switch).
3. Switch to another app, for example Alt+F2 (Alt+Space) to run KRunner, that doesn't matter.

OBSERVED RESULT
I. Current directory content list is refreshed.
II. Selected mail switches back to that from step 1.
(NB Selected mail is kept on switching mail directory)

EXPECTED RESULT
I. I can't see a reason to refresh list on activation/deactivation, though maybe I'm wrong and there is some reason. But flashing to empty and showing list again doesn't look good.
II. At least selected mail should be kept on deactivation/activation.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed (snapshot 20190305).
KDE Plasma Version: 5.15.2
KDE Applications Version: 18.12.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0
KMail/Kontact Version: 5.10.2
(XCB, not wayland)

ADDITIONAL INFORMATION
This strange behaviour might be (might be not) a trigger for next bugs:
https://bugs.kde.org/show_bug.cgi?id=405122
https://bugs.kde.org/show_bug.cgi?id=405220
Comment 1 Mykola Krachkovsky 2019-03-15 15:13:29 UTC
This looks like solved with 5.10.3.