INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Key to cancel search or change focus out of search box?  (Read 2383 times)

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Key to cancel search or change focus out of search box?
« on: June 14, 2015, 11:01:53 pm »

This is minor but...

I keep finding myself doing a search, then clearing the search box by clicking the X.  But I'm still focused on the search box at that point.  So when I go to use other hot keys, like Play/Pause for example, I get nothing.   Because most of these types of keys don't work when focused on an input box like search.

I had hoped that Escape would not only clear the search, but also "exit from search".  It doesn't do anything (at least on Mac) (Yes I know I'm posting on the windows forum; it gets a lot more traffic.).

I've searched a bit for this, including looking for core commands for clearing search, or for changing focus, but I can't seem to find anything.

Any help is appreciated.

Thanks,

Brian.
Logged

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Key to cancel search or change focus out of search box?
« Reply #1 on: June 14, 2015, 11:12:22 pm »

Yeah.  ESC does something on Windows, but it doesn't do that. It just closes the little "search wizard" pop-over, but leaves the search intact. Control-A, Delete, then Tab will do it, kinda.  This still appears to run a search, but an empty one, so it "works" (but the Search Box shows "Wizard").

It would be nice if ESC cleared any entered search and moved focus back to where it came from before the Search box was activated.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Key to cancel search or change focus out of search box?
« Reply #2 on: June 15, 2015, 12:17:11 am »

Just tried the combo a few times:  Command-A, delete, Tab.  Like you said, it pulls up the wizard, and runs some kind of search, as it narrows my current view way down.  Plus my other hot keys are still disabled.  That's really the point for me, is to get back my hot keys for play/pause, etc.

Not a big deal at all... just asking here in case there's a good way I've missed.

Thanks,

Brian.
Logged

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Re: Key to cancel search or change focus out of search box?
« Reply #3 on: June 15, 2015, 04:20:42 am »

+1

ESC should clear the search
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Key to cancel search or change focus out of search box?
« Reply #4 on: June 15, 2015, 07:57:08 am »

Next build:
Changed: Pressing escape while the search box is focused will clear the search.
Logged
Matt Ashland, JRiver Media Center

blgentry

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 8014
Re: Key to cancel search or change focus out of search box?
« Reply #5 on: June 15, 2015, 08:31:26 am »

^ Wow, thanks Matt.  :)

Will this also remove focus from the search box?  I ask because shift-esc already does a "clear" action.  It just leaves focus in the search box, which is the source of my question.

Thanks again,

Brian.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Key to cancel search or change focus out of search box?
« Reply #6 on: June 15, 2015, 08:40:59 am »

^ Wow, thanks Matt.  :)

Will this also remove focus from the search box?  I ask because shift-esc already does a "clear" action.  It just leaves focus in the search box, which is the source of my question.

Thanks again,

Brian.

No, it'll leave the focus in the search box.  It took me a little longer to do because that was important to me (and originally clearing it was tossing the focus).
Logged
Matt Ashland, JRiver Media Center

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10935
Re: Key to cancel search or change focus out of search box?
« Reply #7 on: June 15, 2015, 08:43:25 am »

Actually, double escape seems to de-focus the search box for me right now, which is inline how some other search boxes work that I've seen. Single escape clears, double closes.
Logged
~ nevcairiel
~ Author of LAV Filters

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Key to cancel search or change focus out of search box?
« Reply #8 on: June 15, 2015, 08:54:17 am »

Actually, double escape seems to de-focus the search box for me right now, which is inline how some other search boxes work that I've seen. Single escape clears, double closes.

If you get the latest, a second escape won't clear the focus.  I suppose I could make it do that, but who cares?
Logged
Matt Ashland, JRiver Media Center

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42373
  • Shoes gone again!
Re: Key to cancel search or change focus out of search box?
« Reply #9 on: June 15, 2015, 09:48:56 am »

I'll change is so that pressing escape a second time will kill the suggestions and the focus.
Logged
Matt Ashland, JRiver Media Center

glynor

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 19608
Re: Key to cancel search or change focus out of search box?
« Reply #10 on: June 15, 2015, 10:16:53 am »

Cool.  Thx.
Logged
"Some cultures are defined by their relationship to cheese."

Visit me on the Interweb Thingie: http://glynor.com/

marko

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 9139
Re: Key to cancel search or change focus out of search box?
« Reply #11 on: June 15, 2015, 12:54:06 pm »

I'll change is so that pressing escape a second time will kill the suggestions and the focus.
That's great. Thanks Matt, and thanks to Brian for bringing it up.
Pages: [1]   Go Up