Hello,
for years I altered 'browser.urlbar.clickSelectsAll' on X11-Firefox. It's very annoying that the primary selection will be overwritten by default, so I disabled that and used neo-diggler for a convenient way to override any URL.
To my surprise, newer versions of Mozilla products seem to have a workaround implemented which prevents triggering a X11 user-selection when focusing the cursor in the URL bar, despite the complete URL is selected (for deleting/overtyping).
Shame on me, I can't provide a commit link, which introduced this useful improvement - which is like one of a kind in the last decade change history...
Maybe you already have an idea how to implement something similar for Pale Moon?
(especially needed for the search bar too!)
Thanks!
X11 and URL bar primary auto-selection
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
-
- Keeps coming back
- Posts: 814
- Joined: 2015-06-01, 12:52
- Location: US Southeast
Re: X11 and URL bar primary auto-selection
The configuration setting browser.urlbar.clickSelectsAll exists in Pale Moon and works as expected. Is that not adequate for your needs?
-
- Newbie
- Posts: 5
- Joined: 2024-12-29, 14:14
Re: X11 and URL bar primary auto-selection
[ EDIT WRONG: Like mentioned, browser.urlbar.clickSelectsAll doesn't cover the search bar/field, which is even more annoying if you forgot to clear _before_ selecting something you might want to search for... ] Sorry, should have checked before posting nonsense... For Pale Moon, the setting DOES affect search field too!
With browser.urlbar.clickSelectsAll disabled you will need to install an extra plugin (neo-diggler e.g., which might be hard to find these days).
So adopting this improvement would improve Pale Moon for X11 users.
Alternatively, a 'delete' button in the search-bar would be a highly appreciated feature, along with altering the default for browser.urlbar.clickSelectsAll on x11-based platform builds.
With browser.urlbar.clickSelectsAll disabled you will need to install an extra plugin (neo-diggler e.g., which might be hard to find these days).
So adopting this improvement would improve Pale Moon for X11 users.
Alternatively, a 'delete' button in the search-bar would be a highly appreciated feature, along with altering the default for browser.urlbar.clickSelectsAll on x11-based platform builds.
-
- Pale Moon guru
- Posts: 37352
- Joined: 2011-08-28, 17:27
- Location: Motala, SE
Re: X11 and URL bar primary auto-selection
No, this was set many years ago as an alignment for people using the standard clipboard (the majority of users) across all platforms, to have expected uniform behaviour.
This default will not be changed for the few primary buffer users. If you want this behaviour changed, configure it on your own installation. It's why it's configurable

"The world will not be destroyed by those who do evil, but by those who watch them without doing anything." - Albert Einstein
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
-
- Newbie
- Posts: 5
- Joined: 2024-12-29, 14:14
Re: X11 and URL bar primary auto-selection
Thanks for your attention and a happy new year!Moonchild wrote: ↑2024-12-30, 08:42No, this was set many years ago as an alignment for people using the standard clipboard (the majority of users) across all platforms, to have expected uniform behaviour.
This default will not be changed for the few primary buffer users. If you want this behaviour changed, configure it on your own installation. It's why it's configurable![]()
I very much like the idea of uniform behaviour. But this not the case currently, placing the cursor has an additional (and unwanted) effect on X11, which is not the case on Windows. Mozilla recently implemented the real uniform behaviour (where cursor placement doesn't result in overwritten primary buffer, despite having the complete URL marked). Will try to find out how/when. This improvement eradicates the only drawback of the default X11 primary selection (and it's highly desirable to be consistently implement in other X11 applications too, see for example how the Thunar (or probably any other x11-filemanager) rename doesn't work well...).
I thought maybe other forum users might have followed mozilla commits and are aware about the corresponding change.
Any hints appreciated
