DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: [bug report] when in html view mode : escape does not work anymore  (Read 6,120 times)

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
a few releases ago, when in html view mode, escape would put the cursor in the search box
as of last release this does not work anymore, however if you click inside the html view, escape works as expected
so i guess the fix is to focus the html view

same goes with wheel... before wheel was working right away, now you have to click in the html view to focus then wheel works

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Quote
when in html view mode, escape would put the cursor in the search box
as of last release this does not work anymore, however if you click inside the html view, escape works as expected

i don't get it.. when does escape not put you back in search box?

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
ok i just got it...

consider the following alias :
regex :
Quote
^(https?://)?(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?(([0-9]{1,3}\.){3}[0-9]{1,3}|localhost|alextd|mickytd|([0-9a-z_!~*'()-]+\.)*([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\.[a-z]{2,6})(:[0-9]{1,4})?((/?)|(/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+/?)$

with this result :
Quote
$$4$$8$$9 | http://$$4$$8$$9
FARR browser | htmlviewurl http://$$4$$8$$9
when you select FARR browser, escape does not work

with this one :
Quote
FARR browser | htmlviewurl http://$$4$$8$$9
$$4$$8$$9 | http://$$4$$8$$9
it works as expected...


escape does not work as expected when htmlviewurl is not the first result

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
ok i think i might understand.. you may be in the result list view when you trigger, and then when html view engages, it doesnt start you out in the html view, so you cant use scroll wheel or escape.  i'll fix that so focus shifts into the html view.

nitrix-ud

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 560
great !

Original address: https://www.donationcoder.com/forum/index.php?topic=13634.0