Bug 362575

Summary: Cannot unsubscribe IMAP folder
Product: [Applications] kmail2 Reporter: Piotr Budny <piotr.budny+bugskde>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: REOPENED ---    
Severity: major CC: benoitg, matt.drzazga, microcris, olaf.the.lost.viking, panard, till2.schaefer
Priority: NOR    
Version: 5.9.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.4.1
Sentry Crash Report:

Description Piotr Budny 2016-05-02 07:12:28 UTC
Isubscribing imap folder has no effect, it does not dissapear from folder list.

Reproducible: Always

Steps to Reproduce:
1. Right click on folder, manage local subscriptions
2. Uncheck folder you want not to subscribe
3. OK

Actual Results:  
Folder is still subscribed

Expected Results:  
Unsubscribe unsselected folders

Checked also on freshly added IMAP account.
Comment 1 Till Schäfer 2016-09-14 13:16:46 UTC
i can confirm this bug. It is still present in version 5.3.0.

The missing change is directly visible in the local description dialog. After unchecking some items, clicking ok, and re-opening the dialog, all unchecked items are checked again and the folder are never hidden. 

When turning on all debug output, i receive the message whenever i open the dialog: 
    log_akonadicore: Connected to "Akonadi" , using protocol version 53
    log_akonadicore: Server says: "Not Really IMAP server"
Comment 2 Olivier Churlaud 2016-09-15 07:36:48 UTC
*** Bug 362804 has been marked as a duplicate of this bug. ***
Comment 3 Cristiano Rodrigues 2016-10-27 10:26:11 UTC
Same here. It has been that way since some time ago.

Warning: no reportbug configuration found.  Proceeding in novice mode.
Detected character set: UTF-8
Please change your locale if this is incorrect.

Getting status for kmail...
Will send report to Debian (per lsb_release).
Maintainer for kmail is 'Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>'.
Looking up dependencies of kmail...
Getting changed configuration files...

Package: kmail
Version: 4:16.04.3-2
Severity: wishlist

Dear Maintainer,

After unchecking some items, clicking ok, and re-opening the dialog, all unchecked items are checked again and the folder are never hidden.

After unchecking some items in local subscriptions, clicking ok, and re-opening the dialog, all unchecked items are checked again and the folder are never hidden.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-4.2-liquorix-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kmail depends on:
ii  akonadi-server               4:16.04.3-2
ii  kdepim-runtime               4:16.04.2-2
ii  kdepimlibs-data              4:16.04.2-2
ii  kf5-kdepimlibs-kio-plugins   4:16.04.2-2
ii  libc6                        2.24-5
ii  libgcc1                      1:6.2.0-9
ii  libkf5akonadiagentbase5      4:16.04.3-2
ii  libkf5akonadicalendar5       16.04.2-2
ii  libkf5akonadicontact5        4:16.04.2-2
ii  libkf5akonadicore-bin        4:16.04.3-2
ii  libkf5akonadicore5           4:16.04.3-2
ii  libkf5akonadimime5           4:16.04.2-2
ii  libkf5akonadisearch-plugins  16.04.3-1
ii  libkf5akonadisearchdebug5    16.04.3-1
ii  libkf5akonadiwidgets5        4:16.04.3-2
ii  libkf5alarmcalendar5         16.04.2-2
ii  libkf5archive5               5.27.0-1
ii  libkf5bookmarks5             5.27.0-1
ii  libkf5calendarcore5          4:16.04.2-1
ii  libkf5calendarsupport5       4:16.04.2-2
ii  libkf5calendarutils5         16.04.3-1
ii  libkf5codecs5                5.27.0-1
ii  libkf5completion5            5.27.0-1
ii  libkf5configcore5            5.27.0-1
ii  libkf5configgui5             5.27.0-1
ii  libkf5configwidgets5         5.27.0-1
ii  libkf5contacts5              16.04.2-1
ii  libkf5coreaddons5            5.27.0-1
ii  libkf5crash5                 5.27.0-1
ii  libkf5dbusaddons5            5.27.0-1
ii  libkf5followupreminder5      4:16.04.2-2
ii  libkf5gpgmepp-pthread5       16.04.3-1
ii  libkf5gravatar5              4:16.04.2-2
ii  libkf5guiaddons5             5.27.0-1
ii  libkf5i18n5                  5.27.0-2
ii  libkf5iconthemes5            5.27.0-1
ii  libkf5identitymanagement5    16.04.2-1
ii  libkf5incidenceeditor-bin    16.04.2-2
ii  libkf5incidenceeditor5       16.04.2-2
ii  libkf5itemmodels5            5.27.0-1
ii  libkf5itemviews5             5.27.0-1
ii  libkf5jobwidgets5            5.27.0-1
ii  libkf5kcmutils5              5.27.0-1
ii  libkf5kdelibs4support5       5.27.0-1
ii  libkf5kiocore5               5.27.0-2
ii  libkf5kiofilewidgets5        5.27.0-2
ii  libkf5kiowidgets5            5.27.0-2
ii  libkf5kmanagesieve5          4:16.04.3-1
ii  libkf5kontactinterface5      16.04.2-1
ii  libkf5ksieveui5              4:16.04.3-1
ii  libkf5libkdepim-plugins      4:16.04.2-3
ii  libkf5libkdepim5             4:16.04.2-3
ii  libkf5libkleo5               4:16.04.2-1
ii  libkf5mailcommon-plugins     4:16.04.2-2
ii  libkf5mailcommon5            4:16.04.2-2
ii  libkf5mailimporter5          4:16.04.2-2
ii  libkf5mailtransport5         16.04.2-3
ii  libkf5messagecomposer5       4:16.04.3-2
ii  libkf5messagecore5           4:16.04.3-2
ii  libkf5messagelist5           4:16.04.3-2
ii  libkf5messageviewer5         4:16.04.3-2
ii  libkf5mime5                  16.04.2-1
ii  libkf5notifications5         5.27.0-1
ii  libkf5notifyconfig5          5.27.0-1
ii  libkf5parts5                 5.27.0-1
ii  libkf5pimcommon-plugins      4:16.04.2-2
ii  libkf5pimcommon5             4:16.04.2-2
ii  libkf5pimtextedit5           16.04.2-1
ii  libkf5sendlater5             4:16.04.2-2
ii  libkf5service-bin            5.27.0-1
ii  libkf5service5               5.27.0-1
ii  libkf5sonnetui5              5.27.0-1
ii  libkf5templateparser5        4:16.04.3-2
ii  libkf5textwidgets5           5.27.0-1
ii  libkf5wallet-bin             5.27.0-1
ii  libkf5wallet5                5.27.0-1
ii  libkf5widgetsaddons5         5.27.0-1
ii  libkf5windowsystem5          5.27.0-1
ii  libkf5xmlgui5                5.27.0-1
ii  libqt5core5a                 5.6.1+dfsg-3+b1
ii  libqt5dbus5                  5.6.1+dfsg-3+b1
ii  libqt5gui5                   5.6.1+dfsg-3+b1
ii  libqt5network5               5.6.1+dfsg-3+b1
ii  libqt5widgets5               5.6.1+dfsg-3+b1
ii  libqt5xml5                   5.6.1+dfsg-3+b1
ii  libstdc++6                   6.2.0-9

Versions of packages kmail recommends:
ii  accountwizard               4:16.04.3-2
ii  gnupg-agent                 2.1.15-6
ii  gnupg2                      2.1.15-6
ii  kdepim-addons               16.04.3-1
ii  kdepim-doc                  4:16.04.3-2
pn  kdepim-themeeditors         <none>
ii  ktnef                       4:16.04.3-2
ii  pinentry-qt [pinentry-x11]  0.9.7-6

Versions of packages kmail suggests:
ii  bogofilter    1.2.4+dfsg1-8
pn  clamav        <none>
ii  kaddressbook  4:16.04.3-2
ii  kleopatra     4:16.04.2-2
pn  procmail      <none>

-- no debconf information
Comment 4 Till Schäfer 2017-01-17 15:36:39 UTC
this bug does not occur anymore in version 5.4.1. Please reopen if the problem persists.
Comment 5 Mateusz 2017-01-17 15:39:33 UTC
I just checked and it works as expected.
Thanks to everyone involved in fixing this bug.
Comment 6 OlafLostViking 2018-09-28 12:42:05 UTC
Unfortunately, I just encountered that very problem on 5.9.1 with a Gmail account.