nostalgy-xpi icon indicating copy to clipboard operation
nostalgy-xpi copied to clipboard

Sometimes I become trapped inside the Search box

Open TigBuh99 opened this issue 2 years ago • 7 comments

Occasionally I find that no matter what keystroke I use, everything is entered in the Search box and I simply cannot get out of it using the keyboard. The only solution is to use my mouse in order to clear the accumulated keystrokes in the Search box.

TigBuh99 avatar Oct 13 '22 14:10 TigBuh99

does using (multiple) esc help?

opto avatar Oct 13 '22 14:10 opto

Having the same problem - no, Esc just puts the letters "esc" into the search box. You have to click once with the mouse in the search box then it works...

salzrat avatar Oct 13 '22 15:10 salzrat

Multiple ESC doesn't help, but it simply adds it in the search box. As @salzrat wrote above.

TigBuh99 avatar Oct 14 '22 06:10 TigBuh99

I can confirm, too. Same thing here. But I haven't figured out yet under what conditions one gets "trapped". I will try to keep my eyes open.

Olifair avatar Oct 14 '22 08:10 Olifair

I've had the same thing when moving a mail to a folder (and then not wanting to), with ESC or DEL showing up. Had to click elsewhere on the bottom status bar to get out

internationils avatar Oct 25 '22 06:10 internationils

TB102.4.0 N3.6.1

internationils avatar Oct 25 '22 06:10 internationils

issue can be reproduced (Win8.1, TB102.4.0 (64-Bit)):

  1. use shortcut "s" or "g", so that search box becomes active
  2. click with the mouse to another e-mail or folder in Thunderbird
  3. after this the cursor is 'trapped' and ESC-key no longer works as expected and it writes only 'Escape' in the search box).
  4. any click on the status bar is necessary to end this

In practice, the problem occurs when I enter a search term that doesn't exist (between step 1. and 2.) and I do not explicitly quit the search with ESC (e.g. because I click directly on another e-mail or on a folder in the directory tree).

I think the search box should be closed when a mouse click appears outside the search box / result list.

ungeahnt avatar Oct 25 '22 11:10 ungeahnt

issue can be reproduced (Win8.1, TB102.4.0 (64-Bit)):

  1. use shortcut "s" or "g", so that search box becomes active
  2. click with the mouse to another e-mail or folder in Thunderbird
  3. after this the cursor is 'trapped' and ESC-key no longer works as expected and it writes only 'Escape' in the search box).
  4. any click on the status bar is necessary to end this

In practice, the problem occurs when I enter a search term that doesn't exist (between step 1. and 2.) and I do not explicitly quit the search with ESC (e.g. because I click directly on another e-mail or on a folder in the directory tree).

I think the search box should be closed when a mouse click appears outside the search box / result list.

I can confirm the above also on Windows 11 v.22H2 TB 102.4.1 (64 bit)

TigBuh99 avatar Nov 03 '22 10:11 TigBuh99

I can confirm for Windows 10 as well.

szmontsaroff avatar Nov 04 '22 05:11 szmontsaroff

It occurs also under Linux. TH102.4.2 Nostalgy++ 3.6.1

doegox avatar Nov 07 '22 16:11 doegox

the bad things is that we test for this already: if (ev.key == "Escape") but it seems it does no longer work (it did when I introduced that a long time ago)

opto avatar Nov 08 '22 22:11 opto

this follows ungeahnt's proposal to close box on blur for input box: https://github.com/opto/nostalgy-xpi/releases/tag/v3.6.12

opto avatar Nov 08 '22 22:11 opto

Thanks! It fixes the issue for me

doegox avatar Nov 08 '22 22:11 doegox

Thx! solved also for me

but it seems it does no longer work (it did when I introduced that a long time ago)

"The only constant is change." ;)

this follows ungeahnt's proposal to close box on blur for input

... I hope this doesn't affect other functions/user

ungeahnt avatar Nov 09 '22 09:11 ungeahnt

Based on a quick test I can conclude that it's fixed for me too.

TigBuh99 avatar Nov 16 '22 05:11 TigBuh99

Thank you! Fixed it for me, this was a distracting problem, glad it's resolved.

tonycanike avatar Nov 16 '22 18:11 tonycanike

resolved

opto avatar Dec 26 '22 06:12 opto