turn off auto highlight in search box?

Support and discussions for the x86/x64 Linux version of Pale Moon.

Moderators: trava90, satrow

coffeebreak
Board Warrior
Board Warrior
Posts: 1211
Joined: Sat, 26 Sep 2015, 04:51
Location: U.S.

Re: turn off auto highlight in search box?

Postby coffeebreak » Fri, 07 Jul 2017, 05:12

Check that these two preferencess, which are new since PM 27.3, are set to false (default) in about:config.

Code: Select all

accessibility.typeaheadfind.highlightallbydefault

accessibility.typeaheadfind.highlightallremember

(See Release Notes for PM 27.3)

EDIT: OOPS! I take it back! I didn't catch that you're using PM 27.2.1 - before these prefs were present. XD
Last edited by coffeebreak on Fri, 07 Jul 2017, 05:34, edited 1 time in total.

GMforker
Astronaut
Astronaut
Posts: 509
Joined: Thu, 27 Aug 2015, 06:29
Location: Czech Republic

Re: turn off auto highlight in search box?

Postby GMforker » Fri, 07 Jul 2017, 05:26

tommy_k wrote:this wasn't a problem with 25.x but now using 27.2.1 I can't find an option to turn off the annoying auto highlight when clicking in search box. about:config has "browser.urlbar.clickselectsall" which I've set to false for urlbar...

It works ("browser.urlbar.clickSelectsAll"), but does not take effect until after the browser restarts.

If you would like to change it (add/remove an observer):
search.xml#L634
and
search.xml#L640

But I don't know why it is not there. Maybe there's a reason for that...
However, see: #1218
Last edited by GMforker on Fri, 07 Jul 2017, 06:37, edited 1 time in total.

GMforker
Astronaut
Astronaut
Posts: 509
Joined: Thu, 27 Aug 2015, 06:29
Location: Czech Republic

Re: turn off auto highlight in search box?

Postby GMforker » Fri, 07 Jul 2017, 05:46

coffeebreak wrote:Check that these two preferencess, which are new since PM 27.3, are set to false (default) in about:config.

Code: Select all

accessibility.typeaheadfind.highlightallbydefault

accessibility.typeaheadfind.highlightallremember

(See Release Notes for PM 27.3)

Also, "Search box" does not equal "Find bar" :angel:

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21195
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: turn off auto highlight in search box?

Postby Moonchild » Fri, 07 Jul 2017, 10:40

There is already code that should honor this (tied to browser.urlbar.clickselectsall) -- the only possible issue would be that a browser restart would be needed.
Adding the observers should fix this.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes

coffeebreak
Board Warrior
Board Warrior
Posts: 1211
Joined: Sat, 26 Sep 2015, 04:51
Location: U.S.

Re: turn off auto highlight in search box?

Postby coffeebreak » Fri, 07 Jul 2017, 13:16

Off-topic:
GMforker wrote:Also, "Search box" does not equal ....

No it doesn't. :\ Thank you.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21195
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: turn off auto highlight in search box?

Postby Moonchild » Sat, 08 Jul 2017, 12:19

tommy_k wrote:since the *clickselects* toggles had instantaneous affect on urlbar I figured it would too for search box. but now I know, restart is needed for that one.

Well, it won't be needed in the future ;)
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"The wisest men follow their own direction." - Euripedes


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: No registered users and 6 guests