<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Hitting escape in the search field doesn&#039;t clear it</title> 
  <pubDate>Fri, 10 Apr 2026 03:14:11 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7196</link> 
  <atom:link rel="self" type="application/rss+xml" title="Hitting escape in the search field doesn&#039;t clear it" href="https://bugs.horde.org/ticket/7196/rss" /> 
  <description>Hitting escape in the search field doesn&#039;t clear it</description> 
 
   
   
  <item> 
   <title>I took a quick look here but didn&#039;t see an obvious place. Wh</title> 
   <description>I took a quick look here but didn&#039;t see an obvious place. When you hit escape while the viewport filter is focused, the field isn&#039;t focused anymore, but it&#039;s not disabled either, and the value reverts to &quot;Search&quot;. The viewport shows the results of searching for Search, instead of resetting.</description> 
   <pubDate>Wed, 13 Aug 2008 01:29:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48162</link> 
  </item> 
   
  <item> 
   <title>Chuck reports he saw this when using FF3/Mac, but I can&#039;t re</title> 
   <description>Chuck reports he saw this when using FF3/Mac, but I can&#039;t reproduce using that browser/OS combination, or any other browser for that matter.  An escape in the filter field does nothing for me.</description> 
   <pubDate>Fri, 15 Aug 2008 22:01:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48227</link> 
  </item> 
   
  <item> 
   <title>I don&#039;t see this either with that combination.</title> 
   <description>I don&#039;t see this either with that combination.</description> 
   <pubDate>Fri, 15 Aug 2008 22:09:06 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48228</link> 
  </item> 
   
  <item> 
   <title>Does it work correctly if you hit tab (which for me focuses </title> 
   <description>Does it work correctly if you hit tab (which for me focuses the search field) and then tab again to blur the search field? That displays similar behavior for me - seems like tabbing out of the field with an empty search should be the same as closing/canceling the search.</description> 
   <pubDate>Sun, 17 Aug 2008 04:54:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48233</link> 
  </item> 
   
  <item> 
   <title>Still works fine.</title> 
   <description>Still works fine.</description> 
   <pubDate>Sun, 17 Aug 2008 13:05:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48238</link> 
  </item> 
   
  <item> 
   <title>So when you tab out of it the search bar closes and you see </title> 
   <description>So when you tab out of it the search bar closes and you see the non-search mailbox list.</description> 
   <pubDate>Sun, 17 Aug 2008 14:07:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48241</link> 
  </item> 
   
  <item> 
   <title>No, nothing happens if I tab out of the search field, or hit</title> 
   <description>No, nothing happens if I tab out of the search field, or hit the escape key.</description> 
   <pubDate>Sun, 17 Aug 2008 14:35:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48242</link> 
  </item> 
   
  <item> 
   <title>My point is, since both of them (at least tab; escape seems </title> 
   <description>My point is, since both of them (at least tab; escape seems a bit dodgy) blur the field, _shouldn&#039;t_ they dismiss the search? Escape is pretty standard keyboard nav for &quot;cancel&quot;, also, so even if it doesn&#039;t blur the field, I think ti should.</description> 
   <pubDate>Sun, 17 Aug 2008 15:38:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48243</link> 
  </item> 
   
  <item> 
   <title>&gt; Does it work correctly if you hit tab (which for me focuse</title> 
   <description>&gt; Does it work correctly if you hit tab (which for me focuses the 

&gt; search field) and then tab again to blur the search field? That 

&gt; displays similar behavior for me - seems like tabbing out of the 

&gt; field with an empty search should be the same as closing/canceling 

&gt; the search.



This would be incorrect behavior.  You need to be able to activate the search options *before* you do the search.</description> 
   <pubDate>Mon, 18 Aug 2008 17:24:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48267</link> 
  </item> 
   
  <item> 
   <title>I&#039;m not entirely convinced of that I guess In Apple Mail, fo</title> 
   <description>I&#039;m not entirely convinced of that I guess In Apple Mail, for example:



- the search bar doesn&#039;t appear until you&#039;ve typed something in as a search string, so you can tab in and out of the search box without mucking with your mailbox listing or doing an empty search.



- hitting escape while in the search field clears the search and hides the search bar



- since it&#039;s impossible to do an empty search, empty searches don&#039;t result in empty mailboxes. I think if we end up with nothing in the search filter box, we should either not run a search, or we should match everything - matching nothing, especially when what I&#039;ve done is tab in and out of the search box, is really disruptive.



Clicking the search box and then outside of it does leave the search bar open, but it doesn&#039;t seem to run an empty search - not sure why the difference from tabbing in and out.</description> 
   <pubDate>Mon, 18 Aug 2008 17:47:21 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t48271</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;m not entirely convinced of that I guess In Apple Mail, </title> 
   <description>&gt; I&#039;m not entirely convinced of that I guess In Apple Mail, for example:



Considering I&#039;m not a great fan of Apple Mail... take these comments with that grain of salt.



&gt; - the search bar doesn&#039;t appear until you&#039;ve typed something in as a 

&gt; search string, so you can tab in and out of the search box without 

&gt; mucking with your mailbox listing or doing an empty search.



Is Apple Mail doing search as you type?  If so, and it is hitting the IMAP server for every search (as opposed to its local cache) that is totally inefficient.  The whole point of allowing a user to set search parameters before typing in DIMP is to eliminate this inefficiency.  There is absolutely no reason to send an IMAP search request for &#039;c&#039;, &#039;ch&#039;, &#039;chu&#039;, &#039;chuc&#039;, and/or &#039;chuck&#039; in the From header if you are searching for that information in the Subject header.



&gt; - hitting escape while in the search field clears the search and 

&gt; hides the search bar



That is non-intuitive for me.  I never use ESC in this manner.  Although this is less intrusive than any of the other suggestions in this ticket, and wouldn&#039;t break anything that is already implemented so this is a reasonable request.



&gt; - since it&#039;s impossible to do an empty search, empty searches don&#039;t 

&gt; result in empty mailboxes. I think if we end up with nothing in the 

&gt; search filter box, we should either not run a search, or we should 

&gt; match everything - matching nothing, especially when what I&#039;ve done 

&gt; is tab in and out of the search box, is really disruptive.

&gt;

&gt; Clicking the search box and then outside of it does leave the search 

&gt; bar open, but it doesn&#039;t seem to run an empty search - not sure why 

&gt; the difference from tabbing in and out.



This is a feature: after all, why run an empty search?  When I click on the search box, I don&#039;t want the mailbox listing to go blank.  I haven&#039;t searched for anything yet.  An empty search string is NO search, not an empty search.</description> 
   <pubDate>Thu, 15 Jan 2009 19:14:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t51761</link> 
  </item> 
   
  <item> 
   <title>&gt; Is Apple Mail doing search as you type?  If so, and it is </title> 
   <description>&gt; Is Apple Mail doing search as you type?  If so, and it is hitting the 

&gt; IMAP server for every search (as opposed to its local cache)



I&#039;m 99% certain it&#039;s using the local Spotlight cache.



&gt; totally inefficient.  The whole point of allowing a user to set 

&gt; search parameters before typing in DIMP is to eliminate this 

&gt; inefficiency.  There is absolutely no reason to send an IMAP search 

&gt; request for &#039;c&#039;, &#039;ch&#039;, &#039;chu&#039;, &#039;chuc&#039;, and/or &#039;chuck&#039; in the From 

&gt; header if you are searching for that information in the Subject 

&gt; header.



Agreed.



&gt;&gt; - hitting escape while in the search field clears the search and

&gt;&gt; hides the search bar

&gt;

&gt; That is non-intuitive for me.  I never use ESC in this manner.  

&gt; Although this is less intrusive than any of the other suggestions in 

&gt; this ticket, and wouldn&#039;t break anything that is already implemented 

&gt; so this is a reasonable request.



I&#039;ve seen this in a lot of places more recently; ESC as a kind of cancel-out. I&#039;d like to see this.



&gt;&gt; - since it&#039;s impossible to do an empty search, empty searches don&#039;t

&gt;&gt; result in empty mailboxes. I think if we end up with nothing in the

&gt;&gt; search filter box, we should either not run a search, or we should

&gt;&gt; match everything - matching nothing, especially when what I&#039;ve done

&gt;&gt; is tab in and out of the search box, is really disruptive.

&gt;&gt;

&gt;&gt; Clicking the search box and then outside of it does leave the search

&gt;&gt; bar open, but it doesn&#039;t seem to run an empty search - not sure why

&gt;&gt; the difference from tabbing in and out.

&gt;

&gt; This is a feature: after all, why run an empty search?  When I click 

&gt; on the search box, I don&#039;t want the mailbox listing to go blank.  I 

&gt; haven&#039;t searched for anything yet.  An empty search string is NO 

&gt; search, not an empty search.



Right. The bug here is that if I tab into the search box and out, the mailbox listing *does* go blank. If I just click, it doesn&#039;t. I think that tabbing into the search box should behave the same as clicking it.</description> 
   <pubDate>Fri, 16 Jan 2009 01:56:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t51765</link> 
  </item> 
   
  <item> 
   <title>OK - I think I replicated what you are describing.  The prob</title> 
   <description>OK - I think I replicated what you are describing.  The problem seems to be in some Event handling issues.  I think I figured it out so give a shot:



http://cvs.horde.org/diff.php/imp/js/src/DimpBase.js?r1=8e47a01a7a1c4b49bb381f722800a7480a3bb35c&amp;r2=e0782650ce91e46659fcb85fadbb41ab16a4986c&amp;rt=horde-hatchery</description> 
   <pubDate>Fri, 16 Jan 2009 05:36:54 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t51766</link> 
  </item> 
   
  <item> 
   <title>Esc now works great. Tabbing into and then out of the field </title> 
   <description>Esc now works great. Tabbing into and then out of the field without typing anything doesn&#039;t close it - I think that would be better, but if you have a reason against that that&#039;s alright. However, continuing to tab through the page, I eventually get a blank search run. My steps for this are (FF 3.0.5/Mac): click to the left of the search box; hit tab - search box focused; hit tab - search box blurred; continue hitting tab. Eventually a blank search is run.</description> 
   <pubDate>Fri, 16 Jan 2009 18:23:27 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t51777</link> 
  </item> 
   
  <item> 
   <title>Slowly working our way there.  How&#039;s this?

http://git.horde</title> 
   <description>Slowly working our way there.  How&#039;s this?

http://git.horde.org/diff.php/imp/js/src/DimpBase.js?rt=horde-hatchery&amp;r1=5ff2521050f4a9f814d7f81f0de676c2984af61c&amp;r2=fad2e5875d4752ca81645ff957cbe447a3d96cf5</description> 
   <pubDate>Sun, 18 Jan 2009 00:16:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t51818</link> 
  </item> 
   
  <item> 
   <title>Looks good - thanks!</title> 
   <description>Looks good - thanks!</description> 
   <pubDate>Sun, 18 Jan 2009 03:12:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t51821</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Fix for Tick</title> 
   <description>Changes have been made in Git for this ticket:

Fix for Ticket #7196
ESC in DIMP search box now clears the search. Also, fix some wonkiness
with tabbing out of box due to conflicting Event handlers.

http://git.horde.org/diff.php/imp/docs/CHANGES?rt=horde-git&amp;r1=f9699cb7f31e388e088464fbaf9465750610b48e&amp;r2=e0782650ce91e46659fcb85fadbb41ab16a4986c
http://git.horde.org/diff.php/imp/js/DimpBase.js?rt=horde-git&amp;r1=8e47a01a7a1c4b49bb381f722800a7480a3bb35c&amp;r2=e0782650ce91e46659fcb85fadbb41ab16a4986c
http://git.horde.org/diff.php/imp/js/src/DimpBase.js?rt=horde-git&amp;r1=8e47a01a7a1c4b49bb381f722800a7480a3bb35c&amp;r2=e0782650ce91e46659fcb85fadbb41ab16a4986c</description> 
   <pubDate>Tue, 12 Jan 2010 23:57:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t57495</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Ticket #7196</title> 
   <description>Changes have been made in Git for this ticket:

Ticket #7196 - More search/TAB key improvements

http://git.horde.org/diff.php/imp/js/DimpBase.js?rt=horde-git&amp;r1=ce24318bb4fd92e869ed302418cfcc698128b525&amp;r2=fad2e5875d4752ca81645ff957cbe447a3d96cf5
http://git.horde.org/diff.php/imp/js/src/DimpBase.js?rt=horde-git&amp;r1=5ff2521050f4a9f814d7f81f0de676c2984af61c&amp;r2=fad2e5875d4752ca81645ff957cbe447a3d96cf5</description> 
   <pubDate>Tue, 12 Jan 2010 23:57:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7196#t57496</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
