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 304816 - Filter creation doesn't occur when filters window is open
Filter creation doesn't occur when filters window is open
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.30.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[filters]
Depends on:
Blocks:
 
 
Reported: 2005-05-19 22:26 UTC by Jack Aboutboul
Modified: 2011-04-08 06:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jack Aboutboul 2005-05-19 22:26:15 UTC
Version details: 2.2.2

Description of problem:
Creating a filter while the filter window is open will go through and complete
successfully, although the filter you are trying to will not ever be created. 

Version-Release number of selected component (if applicable):
Check against 2.0.4-4 and 2.2.2

How reproducible:
Always

Steps to Reproduce:
1. Open the filters window to view filters
2. Behind the open window try and create a filter
3. Click "OK" Filter dialog will close successfully but the filter won't be created 
  
Actual results:
Filter dialog closes with no error yet no filter is created

Expected results:
Filter dialog should either close with an error or create the filter.

It seems as though what is hapenning is this.  When you create a filter behind
the filters window, it gets written to filters.xml, but does isn't updated
within the window.  Then when you click "OK" on the filters window, it rewrites
filters.xml WITHOUT the new rule.  However, if you create a filter behind the
filters window and then cancel and re-open the filters window, the new filter
will show up.  Presumably because upon clicking cancel, filters.xml wasn't
overwritten.  There should be uniform behavior here when you click on either
"OK" or "Cancel", or have the filters window update state while it is open.
Comment 1 André Klapper 2005-05-20 14:36:10 UTC
adding keywords
Comment 2 Khasim Shaheed 2005-05-23 09:48:14 UTC
I am able to reproduce this bug with the 2.2.2 version of evolution.

Steps to reproduce:

1. Open the filters window using Tools->Filters and keep it open.
2. Select a mail from the messages of any folder.
3. Try to create a filter from the selected message, say Tools->Create Filter from
   Message->Filter on Subject.
4. Select a folder to move the filtered messages and click OK
Comment 3 Calum Benson 2005-07-28 10:36:06 UTC
Apologies for any spam... cc'ing usability-maint on all Evolution usability
bugs. Filter on EVO-USABILITY-SPAM to ignore.
Comment 4 Bharath Acharya 2010-03-25 04:55:31 UTC
Wonderful. Confirming

Some more observations. Instead of doing an "OK" at the end on the filter dialog, do a "Cancel" and the next time when you open the filters window, the filter would be visible.

So the exact problems,
1) Filter changes not getting synced up in the window when the window was open.
2) Doing an "OK" overwrites it and hence filter is not created, but doing a "Cancel" creates the new filter.

Updating the version.
Comment 5 Akhil Laddha 2011-04-08 06:14:58 UTC
I cann't reproduce original bug and issue mentioned in comment#4 in Evolution 3.0.