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 207481 - Apply store configuration changes without requiring a restart
Apply store configuration changes without requiring a restart
Status: RESOLVED OBSOLETE
Product: evolution
Classification: Applications
Component: Mailer
2.6.x (obsolete)
Other All
: Normal major
: Future
Assigned To: evolution-mail-maintainers
Evolution QA team
: 212160 212952 251904 258836 335785 383213 521898 537440 605484 615240 667036 675226 681574 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-08-17 06:34 UTC by Ovidiu Gheorghioiu
Modified: 2013-09-05 11:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ovidiu Gheorghioiu 2001-08-17 06:35:00 UTC
Package: Evolution
Priority: Normal
Version: 0.12.99
Synopsis: "Apply filters to new messages in INBOX on this server" does not take effect until restart.
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer

Description:
Checked Apply filters to new msgs, but the setting did not take effect until I restarted Evolution. 

The same thing happens when unchecking this option.

Using Cyrus IMAP4 v1.5.19 server over an stunnel connection, Aug 16 2001 snapshot

Comment 1 Luis Villa 2001-08-31 15:53:07 UTC
Hrm. I could swear that this is a duplicate, but I guess not. This is
 definitely a 1.0 bug- otherwise, many people are going to get the
impression filters don't work.
Comment 2 Not Zed 2001-09-11 01:57:02 UTC
One of the problems of using the store uri to pass such parameters.

Maybe we need a generic store 'set parameter' call that can be used to
post-apply parameters?
Comment 3 Jeffrey Stedfast 2001-10-15 22:37:26 UTC
*** bug 212160 has been marked as a duplicate of this bug. ***
Comment 4 Not Zed 2001-10-19 18:23:24 UTC
saying its store configuration, which is really what it is, the uri is
just the mechanism.

Not sure we can do this by 1.0 although *basically* its probably not
that hard by the mechanism above.
Comment 5 Luis Villa 2001-10-21 17:57:19 UTC
If we can't do this by 1.0 should we move it to 1.1 now?
Comment 6 Dan Winship 2001-10-23 03:24:17 UTC
Maybe we can hack *just* the filter thing for 1.0, but there's no
way we can make changing the IMAP namespace work, for instance.

The 1.0 fix may be to just let the user know "Changes will take
effect on restart". Um, without breaking the string freeze.
We can just show an animated gif that mimes that.
Comment 7 Luis Villa 2001-11-26 17:04:57 UTC
Because of the decision to remap 1.1->1.2 and 1.2->1.4, I'm going to be
moving a large number of bugs around in the bugzilla. You can just
search on 'body contains' 'Because of the decision to remap' and mark
all as read. Please direct all questions about this change to
evolution@ximian.com, not the bug.
Luis

Comment 8 Jeffrey Stedfast 2002-01-22 19:12:30 UTC
marking with keyword "feature" because it kinda is. Maybe it's not
really, I dunno.
Comment 9 Not Zed 2002-01-31 01:51:35 UTC
Actually there are a lot of follow on effects of changing the store
uri like this:
 - filters might include the uri which includes such parameters
 - shortcuts likewise
 - already opened folders, etc.

There needs to be a separation of 'target store', i.e. server, port,
user, password, auth, and other uri options, like indexing,
namespaces, filtering, etc?

Comment 10 Dan Winship 2002-02-03 18:30:21 UTC
Yeah, agreed, putting the params into the URI was just wrong.
Comment 11 Dan Winship 2002-03-01 20:39:13 UTC
*** bug 212952 has been marked as a duplicate of this bug. ***
Comment 12 Jeffrey Stedfast 2002-05-08 22:09:39 UTC
so the plan is to overload the new getv/setv CamelObject methods
(which I've implemented for all the base classes now). If something
changes that requires a reconnect, at the CamelService implementation
of setv, it will disconnect and then connect again.

one problem is that CamelSession will have to somehow be notified
about the URL changes so that it can update it's service cache.

danw suggested having:

camel_session_service_setv (CamelSession *session, CamelService
*service, CamelException *ex, CamelArgv *args);

as a wrapper around camel_object_setv() so that the session could,
after issuing a setv, update itself.
Comment 13 Jeffrey Stedfast 2002-05-14 00:11:18 UTC
I've just implemented getv/setv for IMAP and it doesn't look like POP
really needs it, since it is created/destroyed each time. Same goes
for SMTP. Not to mention these don't really have anything specific to
themselves that can change anyway.

Minor problem with IMAP: since changing the namespace and/or whether
or not to override the namespace (afaik) require a reconnect, I need
to find some way of chaining this up to the camel-service
implementation of setv. I *could* just create a special
CAMEL_SERVICE_RECONNECT tag or something and reset any imap tags that
require a restart with this new tag. Kinda kludgy perhaps, but overall
not too bad?
Comment 14 Jeffrey Stedfast 2002-06-03 19:40:59 UTC
this is gonna have to wait till 1.4
Comment 15 Gerardo Marin 2003-02-13 18:08:23 UTC
This has to wait at least until 1.6
Comment 16 Gerardo Marin 2003-11-28 19:48:19 UTC
Futuring for now unless there are advances on this. Please retarget if
needed.
Comment 17 Jeffrey Stedfast 2003-12-10 20:23:52 UTC
*** bug 251904 has been marked as a duplicate of this bug. ***
Comment 18 Roalt Aalmoes 2004-03-29 11:43:25 UTC
I also just encountered this bug. It's really annoying and takes a
long time to figure out why changing the setting does not work.

Because the bug has been around since 2001 (and not yet solved), I
suggest adding a 'warning dialog' box saying you have to restart
evolution to prevent other people from hitting the same rock until the
matter has been resolved.
Comment 19 Jeffrey Stedfast 2004-03-29 13:57:11 UTC
this is actually "fixed" in 1.5 - the store gets ripped out of the
folder tree and re-added with the new settings.

still not resolved the way we'd like tho, which is that we want to
simply apply changes without needing to rip the tree out (tho that
might not always be possible anyway? namespace change/etc?)
Comment 20 Christian Krause 2004-09-30 21:41:11 UTC
Hi,

I filed recently http://bugzilla.gnome.org/show_bug.cgi?id=267253
which was closed as dupe. IMHO it is a dupe of this one.

As I described in #67253 I think this is really a serios security problem:

People configure their mail account from "SSL: Never" to "SSL: Always"
but the connection still doesn't use SSL and the password is
transfered unencrypted although the user expects a secure connection.
This problem should be taken more seriosly and at least a message box
after applying the settings could tell the user that he has to restart
until the changes take effect.

Nevertheless I am a little bit upset how bug reports from users are
handled here. :-(
Comment 21 Not Zed 2005-08-11 03:57:26 UTC
*** Bug 258836 has been marked as a duplicate of this bug. ***
Comment 22 André Klapper 2006-03-24 17:39:45 UTC
still in 2.6
Comment 23 André Klapper 2006-03-24 17:40:06 UTC
*** Bug 335785 has been marked as a duplicate of this bug. ***
Comment 24 Milan Crha 2010-09-30 09:19:28 UTC
*** Bug 615240 has been marked as a duplicate of this bug. ***
Comment 25 Milan Crha 2012-04-11 16:19:52 UTC
*** Bug 667036 has been marked as a duplicate of this bug. ***
Comment 26 Milan Crha 2012-04-11 16:22:11 UTC
*** Bug 383213 has been marked as a duplicate of this bug. ***
Comment 27 Milan Crha 2012-04-11 16:23:11 UTC
*** Bug 521898 has been marked as a duplicate of this bug. ***
Comment 28 Milan Crha 2012-04-11 16:24:33 UTC
*** Bug 605484 has been marked as a duplicate of this bug. ***
Comment 29 Milan Crha 2012-05-04 07:21:18 UTC
*** Bug 675226 has been marked as a duplicate of this bug. ***
Comment 30 Enrico 2012-05-04 08:58:59 UTC
Hi, is the solution for these issues going to pushed out as an update or a new release?

Regards
Enrico
Comment 31 André Klapper 2012-05-04 10:28:34 UTC
Enrico: This was already answered in bug 675226, anyway: The next stable version to likely include it will be version 3.6.0. Definitely not 3.4.x stuff.
Comment 32 André Klapper 2012-06-18 09:47:46 UTC
*** Bug 537440 has been marked as a duplicate of this bug. ***
Comment 33 Milan Crha 2012-08-31 16:13:06 UTC
*** Bug 681574 has been marked as a duplicate of this bug. ***
Comment 34 André Klapper 2013-09-05 11:19:22 UTC
mbarnes / mcrha: Could this get a status update on plans, please?
Comment 35 Matthew Barnes 2013-09-05 11:47:42 UTC
Only read comment #0, but I believe I fixed most all the places in Camel where we read a setting once at startup and then stash it for the rest of the session.

The CamelSettings API largely fixed this.  We now re-read the CamelSettings property every single time in every place where a setting is applicable.

Closing as OBSOLETE.