Version: (using KDE Devel) Installed from: Compiled sources OS: Linux Refresh imap cache is shown in the file menu even when imap is not in use. Even worse it is enabled and pops up a dialog saying you should setup an imap account first. This is very poor UI design.
I can verify that the 'refresh imap cache' option does indeed appear in the file menu when you've no imap accounts setup. But for me at least it doesn't seem to be causing any dialogs to pop up, and since no one else has picked on this bug for over 14 months then perhaps it could be marked as resolved?
Created attachment 10771 [details] Patch to disable menu item "Refresh Local IMAP Cache" when no cachedimap accounts exist This patch disables/enables the menu item "Refresh Local IMAP Cache" depending on the existance of cachedimap accounts. I removed the messagebox in KMAcctMgr::invalidateIMAPFolders because the condition can not be met anymore. The patch ist against KDE_3_4_BRANCH.
Could someone please review this patch and see if it resolves the original issue?
I do not see this item in the context menu and the item is disabled in the menu for all non dimap accounts. So I think this is resolved.
The "Refresh Local IMAP Cache" is present and enabled in kmail 1.10.1 without any imap account.
SVN commit 995429 by bbigras: Only activate the "Refresh Local IMAP Cache" action in the File menu when at least one "Disconnected IMAP" account exist. BUG: 71945 M +7 -3 kmmainwidget.cpp M +1 -1 kmmainwidget.h WebSVN link: http://websvn.kde.org/?view=rev&revision=995429