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 663748 - Unable to reconfigure GOA GMail account
Unable to reconfigure GOA GMail account
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Milan Crha
Evolution QA team
evolution[goa]
Depends on:
Blocks:
 
 
Reported: 2011-11-10 07:16 UTC by Milan Crha
Modified: 2012-06-11 10:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (1.14 KB, patch)
2011-11-10 12:48 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2011-11-10 07:16:01 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=752524

It's impossible to reconfigure the automaticly created gmail-account to use
POP3 instead of IMAP+. It seems to be reset to IMAP+ on every start of
evolution

Version-Release number of selected component (if applicable):
evolution-3.2.1-2.fc16.i686

How reproducible:
allways

Steps to Reproduce:
1. open evolution
2. open settings-dialog
3. reconfigure the automaticly created gmail-account to use pop3 for fetching
mails

Actual results:
On next evolution start the automatic created gmail-account is set back to use
IMAP+

Expected results:
Evolution should use POP3 to fetch mails from the gmail-account.

----------------------------------------------------------------------------

Why in the world would you prefer POP3 over IMAP for a GMail account?

----------------------------------------------------------------------------

One inbox etc for all of my account, a clear folder-tree etc

But at least it should be the users choice which protocol her prefers. I don't
like it if my mail client wants to tell me which protocol I've to use.
Comment 1 Milan Crha 2011-11-10 12:48:14 UTC
Created attachment 201149 [details] [review]
evo patch

for evolution;

I can reproduce it too. This patch is skipping account configuration if it was already found. I suppose that the goa's account ID is persistent across sessions; documentation suggests it is. Otherwise an update to GOA_KEY would be needed there, but my testing showed this is fine.
Comment 2 Milan Crha 2011-11-10 12:50:11 UTC
Created commit abd5354 in evo master (3.3.2+)
Created commit b34d0b2 in evo gnome-3-2 (3.2.2+)
Comment 3 Matthew Barnes 2011-11-10 13:05:08 UTC
That's the wrong solution.

The real bug is that settings for accounts created by the GOA module give the impression they can be changed in the account editor.  The receiving and sending tabs should instead be desensitized if the GOA_KEY is present.  I was just holding out for a cleaner solution than hacking it directly into the account editor, but I guess that will have to do for now.
Comment 4 Heiko Adams 2011-11-10 13:09:37 UTC
In this case GOA should have an option to configure if POP3 or IMAP should be used for fetching mails. Telling the users which protocol they have to use is IMHO a bad idea.
Comment 5 Matthew Barnes 2011-11-10 13:36:45 UTC
GOA only provides IMAP and SMTP settings, and Evolution manifestations of GOA accounts should be sufficiently locked down so they stay synchronized with GOA.
Comment 6 Milan Crha 2011-11-11 07:22:13 UTC
Where's the freedom? If user wants to use other protocol, then let him do that. He'll save the password the first time, and then it's it. And he'll lost his account once he'll remove it from Gnome's Online Accounts dialog, but that may not surprise much.
Comment 7 Matthew Barnes 2011-11-11 13:08:05 UTC
I'm also going to remove the ability to switch account types once you have it initially set up.  We don't allow it for address books and calendars, doesn't make sense for mail accounts either.
Comment 8 Milan Crha 2011-11-14 10:54:32 UTC
In that case, will you require (open a new bug) against gnome-online-accounts to provide a preference which mail type should be used?
Comment 9 Matthew Barnes 2011-11-14 15:07:10 UTC
I doubt it would go anywhere.  The whole point of GNOME Online Accounts is to trade flexibility for ease of setup.  If you need more "freedom", go through Evolution's normal account setup process and choose POP instead of IMAP.
Comment 10 Matthew Barnes 2012-06-08 22:04:41 UTC
This is fixed now in 3.5.3.  Pages for account settings that are dictated by GOA are no longer shown in the Account Editor.
Comment 11 Milan Crha 2012-06-11 10:35:20 UTC
(In reply to comment #10)
> This is fixed now in 3.5.3.  Pages for account settings that are dictated by
> GOA are no longer shown in the Account Editor.

Hmm, how is update time, junk filtering, filtering at all, my PGP and/or S/MIME certificates for the account dictated by GOA?