After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 307410 - prompted for IMAP password a second time after canceling first request
prompted for IMAP password a second time after canceling first request
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.2.x (obsolete)
Other Linux
: Normal minor
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 312670 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-06-12 19:17 UTC by Dan Winship
Modified: 2007-09-12 10:37 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed eds patch (834 bytes, patch)
2007-06-22 11:51 UTC, Milan Crha
committed Details | Review
proposed evo patch (5.80 KB, patch)
2007-06-22 11:51 UTC, Milan Crha
committed Details | Review

Description Dan Winship 2005-06-12 19:17:51 UTC
If evo is not set to remember your IMAP password, and you cancel the password
dialog when it comes up (eg, because you have two IMAP accounts and you only
want to check one of them), then it will immediately ask you for your password
again. (If you cancel a second time, it stays canceled.)
Comment 1 Nagappan Alagappan 2005-06-13 11:02:22 UTC
Dan: You want evolution to prompt once again ?
Comment 2 Dan Winship 2005-06-13 13:15:50 UTC
Sorry, I was describing the current behavior. I want it to only ask me once
(until I try to open that server in the folder tree, at which point it would
ask me again).
Comment 3 Jeffrey Stedfast 2006-04-14 17:21:34 UTC
probably for the same reason bug #252810 exists
Comment 4 Sam Morris 2006-09-07 16:16:56 UTC
With Evolution 2.6 I get prompted for my password once for each folder in my IMAP account, so I have to cancel the password dialog 15 times before Evolution gets the idea. :)
Comment 5 Sebastien Bacher 2006-12-22 11:50:21 UTC
*** Bug 312670 has been marked as a duplicate of this bug. ***
Comment 6 Milan Crha 2007-06-22 11:51:20 UTC
Created attachment 90446 [details] [review]
proposed eds patch

for evolution-data-server;
Comment 7 Milan Crha 2007-06-22 11:51:53 UTC
Created attachment 90447 [details] [review]
proposed evo patch

for evolution;
Comment 8 Milan Crha 2007-06-22 12:00:47 UTC
These patches together solves this issue in a way that for an EAccountService was added new property 'get_password_canceled' and here is stored if user did so, and in next attempt to use this account-service's password is the password dialog skipped based on previous user's choice. Flag is returned to its default value every time he/she invokes Send/Receive UI button/menu item.

There is one behavior I realized, unfortunately, you could see in status bar "Checking new mail" too long (for example when looking into folders of IMAP store), even it's not necessary. So here could be done some optimization on those providers.
Comment 9 Srinivasa Ragavan 2007-07-07 19:00:48 UTC
Milan, I'm fine with the approach you have taken. I dont think there is a better way to get away from such password popups. I feel that, it is going to help in my effort to reduce intrusive dialogs. I will get this in for 2.11.5.

I think we should be opening a bug about stop checking mails, if password is canceled for the first folder itself. 


Comment 10 Srinivasa Ragavan 2007-07-09 03:11:08 UTC
Committed to head.
Comment 11 Matthew Barnes 2007-07-16 15:33:21 UTC
Can this be closed now?
Comment 12 Akhil Laddha 2007-09-12 05:50:42 UTC
I tested in Evolution 2.11.91 and it is working fine for me.