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 257118 - Clear button is not getting disabled after clearing the search
Clear button is not getting disabled after clearing the search
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: general
2.6.x (obsolete)
Other All
: Normal trivial
: Future
Assigned To: Harish Krishnaswamy
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2004-04-16 08:21 UTC by sudhakar
Modified: 2013-09-13 00:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (2.13 KB, patch)
2007-06-12 15:07 UTC, Milan Crha
rejected Details | Review
proposed patch (2.77 KB, patch)
2007-06-15 08:34 UTC, Milan Crha
committed Details | Review

Description sudhakar 2004-04-16 08:21:45 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
After seeing the search results i am clearing the search using clear
button.But afeter that the clear button is still unabled event though i
have not performed any search.

Steps to reproduce the problem:
1. Select search from the menu bar in contacts
   [drop down menu comes ]
2. select advanced and perform a search
   [search results appear on the screen]
3. Use clear button to clear the search
4.  search results will be cleared and all contacts will appear

Actual Results:
The clear button is still enabled even though we have not initiated any search

Expected Results:

The clear button should get enable when we initiate a search and disabled
when we clear a search
How often does this happen? 

Every time
Additional Information:
Comment 1 André Klapper 2005-02-07 15:10:42 UTC
please also fix bug 263207 and bug 262950 when working on this one, if
possible - it's a bit similar/related. :-)
Comment 2 André Klapper 2005-11-25 00:41:47 UTC
reassigning jpr's old evolution\miscellaneous bugs to harish
Comment 3 André Klapper 2006-01-22 16:02:50 UTC
still in 2.5.5, retargetting.
Comment 4 André Klapper 2006-03-22 01:29:43 UTC
removing old 2.5 target milestone and retargetting to future - sorry.
Comment 5 Milan Crha 2007-06-12 15:07:41 UTC
Created attachment 89814 [details] [review]
proposed patch

for evolution;
Comment 6 Milan Crha 2007-06-12 15:09:40 UTC
It worked for me on toolbar with 2.11.3, but not in menu, so I added some functions to synchronize sensitivity between clear_button and Clear menu item.
Comment 7 Srinivasa Ragavan 2007-06-15 06:22:30 UTC
Im not sure, if I want this. I do use (C+S+q) to clear my quick search(show options) too. It is really useful. By this patch, I would loose that. I would prefer to close this as WONTFIX unless any one has an objection.
Comment 8 Srinivasa Ragavan 2007-06-15 06:42:22 UTC
<mcrha> maybe to refactor it even for this menu?
<srag> that would be really great :)
<srag> may be add this point too :)
<mcrha> ok, mark patch as rejected, and write it there please, I'll look at it either today, or next week
<srag> sync the menu item, wrt to show as well as the clear button.
Comment 9 Milan Crha 2007-06-15 08:34:46 UTC
Created attachment 89998 [details] [review]
proposed patch

for evolution;

second chance.
Comment 10 Srinivasa Ragavan 2007-06-15 08:47:25 UTC
Patch works great. I will commit it for 2.11.4
Comment 11 Srinivasa Ragavan 2007-06-18 05:02:44 UTC
Committed.