     $('#app').append @notificationWidget.el
 
   searchFocus: (e) =>
-    @query = '' # reset query cache
+    @clearDelay('emptyAndCloseDelayed')
+    @throttledSearch()
     App.PopoverProvidable.anyPopoversDestroy()
     @searchContainer.addClass('focused')
-
-  searchBlur: (e) =>
-    # delay to be able to click x
-    update = =>
-      query = @searchInput.val().trim()
-      if !query
-        @emptyAndClose()
-        return
-
-    @delay(update, 100, 'removeFocused')
+    @selectAll(e)
 
   listNavigate: (e) =>
     if e.keyCode is 27 # close on esc

    if e
      e.preventDefault()
    query = @searchInput.val()
    @searchInput.val('').blur()
    if query
      @navigate("#search/#{encodeURIComponent(query)}")
      return

    'submit form.search-holder': 'preventDefault'
    'dblclick form.search-holder .icon-magnifier': 'openExtendedSearch'
    'focus #global-search': 'searchFocus'
    'keyup #global-search': 'listNavigate'
    'click .js-global-search-result': 'emptyAndCloseDelayed'
    'click .js-details-link': 'openExtendedSearch'
    'change .js-menu .js-switch input': 'switch'

