turn off auto highlight in search box?

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

Moderators: trava90, Indalecio, satrow

tommy_k
Newbie
Newbie
Posts: 5
Joined: Wed Jul 27, 2016 10:13 pm

turn off auto highlight in search box?

Postby tommy_k » Fri Jul 07, 2017 2:42 am

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
Astronaut
Astronaut
Posts: 700
Joined: Sat Sep 26, 2015 4:51 am
Location: U.S.

Re: turn off auto highlight in search box?

Postby coffeebreak » Fri Jul 07, 2017 5:12 am

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 Jul 07, 2017 5:34 am, edited 1 time in total.

GMforker
Lunatic
Lunatic
Posts: 309
Joined: Thu Aug 27, 2015 6:29 am
Location: Czech Republic

Re: turn off auto highlight in search box?

Postby GMforker » Fri Jul 07, 2017 5:26 am

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 Jul 07, 2017 6:37 am, edited 1 time in total.

GMforker
Lunatic
Lunatic
Posts: 309
Joined: Thu Aug 27, 2015 6:29 am
Location: Czech Republic

Re: turn off auto highlight in search box?

Postby GMforker » Fri Jul 07, 2017 5:46 am

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: 18963
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: turn off auto highlight in search box?

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

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.
Image

coffeebreak
Astronaut
Astronaut
Posts: 700
Joined: Sat Sep 26, 2015 4:51 am
Location: U.S.

Re: turn off auto highlight in search box?

Postby coffeebreak » Fri Jul 07, 2017 1:16 pm

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

No it doesn't. :\ Thank you.

tommy_k
Newbie
Newbie
Posts: 5
Joined: Wed Jul 27, 2016 10:13 pm

Re: turn off auto highlight in search box?

Postby tommy_k » Sat Jul 08, 2017 1:29 am

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: 18963
Joined: Sun Aug 28, 2011 5:27 pm
Location: 58.5°N 15.5°E
Contact:

Re: turn off auto highlight in search box?

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

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.
Image


Return to “Pale Moon for Linux”

Who is online

Users browsing this forum: paleface2 and 6 guests