Version: (using Devel) Compiler: gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) Target: x86_64-suse-linux OS: Linux Installed from: Compiled sources When a CollectionRequester object is created and initially disabled (via setEnabled(false)), the CollectionView inside the corresponding CollectionView remains disabled even after setEnabled(true). It seems that the changeEvent is not correctly propagated but so far I failed to find out why. The attached code can be used to reproduce the issue as seen on the (also) attached screenshot.
Created attachment 36155 [details] testcase (code)
Created attachment 36156 [details] testcase (CMakeLists.txt)
Created attachment 36157 [details] screenshot
CC'ed Ingo Klöcker. I actually meant: "the CollectionView inside the corresponding CollectionDialog ..." It is also noteworthy that this doesn't happen when Akonadi::CollectionView is used standalone or when used only through a Akonadi::CollectionDialog.
I think it's better to ask on the kde-pim mailing list. Bugzilla is for users reporting defects, but not for developers reporting problems with the libraries.
Actually, I (a user) reported it directly to Sascha instead of opening a bug report here. So it's not quite misplaced...
it's confirmed by a testcase and user reports
Hej, this problem is caused by the Akonadi::Control::widgetNeedsAkonadi() call in EntityTreeView. The logic in widgetNeedsAkonadi() seems not handle enable/disable states correctly. Volker, can you have a look at it, please? Ciao, Tobias
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present? If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.