Bug 1040086

Summary: When setting up a brand new account IMAP in kmai5/kontakt it is impossible to modify it or to create another one.
Product: [openSUSE] openSUSE Distribution Reporter: Stakanov Schufter <stakanov>
Component: KDE ApplicationsAssignee: E-Mail List <opensuse-kde-bugs>
Status: VERIFIED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: forgotten_Ge8A28Ztio, lbeltrame, miso, nt1277, okurz, rickscafe.casablanca, stakanov, wbauer
Version: Leap 42.3   
Target Milestone: ---   
Hardware: x86-64   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Output when starting kontact from terminal and trying to modify the account
first run error output of akonadi

Description Stakanov Schufter 2017-05-22 07:15:41 UTC
Set up an account IMAP inside a brand new Kmail5. 
I used here a virgin install on a AMD Phenom Nvidia based PC. No prior akonadi data. 

First observation:
the AKONADI start window throws some error (without specifying). I did save them and will post them in an attachment. 
The account will be created correctly. However when you try to modify settings of the account nothing happens. Then repeated tries will crash apparently akonadi or a part of kmail because the account turn to a red flag (offline) with the warning "unable to start". You may restart with the restart button but after this again, no modification of the account is possible. 
New IMAP accounts are created empty, do not allow any modification. So substantially the mail functionality on a new system is reduced to one account, that is not modifiable. 
I tried this several times and it is stable. 
Then I tried to logout and login again: stable error 100% reproducible.

What the software does: crashes at first. Afterwards does not allow to modify the existing account, or to modify a new one. Mail can be looked at. 

What it should do: it should be able to accept settings for a new IMAP account (be it POP, too of course) and it should be possible to modify the settings as foreseen.
Comment 1 Stakanov Schufter 2017-05-22 07:23:14 UTC
Created attachment 725832 [details]
Output when starting kontact from terminal and trying to modify the account

this is the output of Kmail/kontact when trying to modify an account (if you start it from a terminal)
Comment 2 Stakanov Schufter 2017-05-22 07:25:17 UTC
Created attachment 725833 [details]
first run error output of akonadi

This is the popup output of the first run error of akonadi on a freshly installed system when starting kontact/kmail5 for the very first time.
Comment 3 Wolfgang Bauer 2017-05-22 12:53:31 UTC
Sounds like https://bugs.kde.org/show_bug.cgi?id=379155 and/or https://bugs.kde.org/show_bug.cgi?id=379996

Please try the kdepim-runtime package from here which includes the upstream fixes:
http://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Applications/KDE_Frameworks5_LTS_openSUSE_Leap_42.3

It's version 17.04.1, but I think it should work (and be installable) with 17.04.0 too.
If not you'd need to wait until 17.04.1 is in the 42.3 repo, which should happen very soon I suppose (it has been accepted to Factory/Tumbleweed 4 hours ago)...
Comment 4 Wolfgang Bauer 2017-05-22 14:49:30 UTC
Fix is on the way to Factory and 42.3.

I was able to reproduce the crash here, and it's fixed now, so let's close.

You can still try the package I mentioned, I will keep it until the new one is in the repos.
Comment 5 Wolfgang Bauer 2017-05-22 15:02:15 UTC
*** Bug 1040181 has been marked as a duplicate of this bug. ***
Comment 6 Bernhard Wiedemann 2017-05-22 16:01:06 UTC
This is an autogenerated message for OBS integration:
This bug (1040086) was mentioned in
https://build.opensuse.org/request/show/497336 42.3 / kdepim-runtime
https://build.opensuse.org/request/show/497337 Factory / kdepim-runtime
Comment 7 Michal Hlavac 2017-05-25 11:34:51 UTC
Is this fixed in 17.04.1? Because Tumbleweed snapshot 20170522 didn't fix it.
Comment 8 Luca Beltrame 2017-05-25 12:07:01 UTC
(In reply to Michal Hlavac from comment #7)
> Is this fixed in 17.04.1? Because Tumbleweed snapshot 20170522 didn't fix it.

Not until https://build.opensuse.org/request/show/497337 is accepted.
Comment 9 Wolfgang Bauer 2017-05-25 17:17:26 UTC
*** Bug 1040782 has been marked as a duplicate of this bug. ***
Comment 10 Wolfgang Bauer 2017-06-02 13:51:13 UTC
*** Bug 1042384 has been marked as a duplicate of this bug. ***
Comment 11 Oliver Kurz 2017-06-02 16:06:15 UTC
I could verify this in a current openSUSE Leap 42.3 now.
Comment 12 Swamp Workflow Management 2018-05-12 21:10:05 UTC
This is an autogenerated message for OBS integration:
This bug (1040086) was mentioned in
https://build.opensuse.org/request/show/606695 15.0 / kdepim-runtime