turn off auto highlight in search box?

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

Moderators: trava90, satrow

tommy_k
Moongazer
Moongazer
Posts: 7
Joined: Wed, 27 Jul 2016, 22:13

turn off auto highlight in search box?

Postby tommy_k » Fri, 07 Jul 2017, 02:42

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, maybe that's how it got turned off for search box too in 25.x, don't recall.

anyway what is the about:config item to get traditional linux mouse highlight/mmb paste working in search box? as it is now, every time I select text to paste, search box auto highlights existing text and blows away what I intended to mmb there.

coffeebreak
Board Warrior
Board Warrior
Posts: 1090
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
Lunatic
Lunatic
Posts: 487
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
Lunatic
Lunatic
Posts: 487
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: 20814
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.

coffeebreak
Board Warrior
Board Warrior
Posts: 1090
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.

tommy_k
Moongazer
Moongazer
Posts: 7
Joined: Wed, 27 Jul 2016, 22:13

Re: turn off auto highlight in search box?

Postby tommy_k » Sat, 08 Jul 2017, 01:29

thanks guys I'm an idiot :oops: started working today after turning on my computer. I was messing with this/searching on it for two days and wouldn't you know as soon as I post it gets sorted out :)

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.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 20814
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.


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: No registered users and 11 guests