Bug 71945 - JJ: Refresh imap cache shown in menu even when not in use
Summary: JJ: Refresh imap cache shown in menu even when not in use
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: keys and menus (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-01-06 01:04 UTC by Richard Moore
Modified: 2009-07-12 20:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch to disable menu item "Refresh Local IMAP Cache" when no cachedimap accounts exist (1.90 KB, patch)
2005-04-23 21:18 UTC, Tobias Schaefer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Moore 2004-01-06 01:04:41 UTC
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.
Comment 1 Rich Birch 2005-03-21 21:43:49 UTC
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?
Comment 2 Tobias Schaefer 2005-04-23 21:18:54 UTC
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.
Comment 3 Dave Rowe 2006-10-09 20:45:13 UTC
Could someone please review this patch and see if it resolves the original issue?
Comment 4 Alexander Egger 2007-12-15 22:42:15 UTC
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.
Comment 5 Jaime Torres 2008-09-09 17:24:43 UTC
The "Refresh Local IMAP Cache" is present and enabled in kmail 1.10.1 without any imap account.
Comment 6 Bruno Bigras 2009-07-12 20:01:48 UTC
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