cancel
Showing results for 
Search instead for 
Did you mean: 

Firefox copy feature always adds extra space before or after when double clicking to select text

SOLVED
Highlighted
New User

Firefox copy feature always adds extra space before or after when double clicking to select text

I have only just started using Firefox but I've noticed a strange "feature" (I'm not sure if it's a feature or a bug, thus the quotes). I'm used to Opera and IE where by when I double click some text the text will be automatically selected. Firefox does something like this but for some reason I don't yet understand it adds an extra space at the beginning or end of the selection. This is a problem for someone like me who for work does a lot of copy and paste. I use web software that is intolerant of extra spaces and this feature/bug is going to end up causing some major issues. Is there a way to alter this behavior so that it behaves more like all my other computer programs? Your help is greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
New User

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Well, unfortunately, the solution didn't work. I guess it's back to Opera as it seems to be the only browser that has the features I need. Too bad.

12 REPLIES
Support Forum Moderator

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Does click and drag across the text, then use {Ctrl + C} to copy the highlighted text, exhibit that extra space when you paste using {Ctrl + V}?

New User

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Thank you Ed for your reply. To answer your question, no it does not, and that is the unfortunate work around I'm currently, delicately using. The problem is that this is much slower than double clicking and I do a lot of copy/paste. Also, I've experienced another problem with Firefox pasting. I regularly (and I mean every ten minutes or so) copy text from a webpage into TinyMCE. The problem is that when I paste, Firefox pastes improperly formatted rich text. My work around is to paste into text editor and then back out. Is there a simpler way to do this in Firefox?

Site Moderator

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

This can happen if there is HTML code included in the selection.
You can verify that by opening View Selection Source via the right-click context menu.

New User

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Not sure if this will help with your issue, but can try.

In the URL bar type about:config

Then change layout.word_select.eat_space_to_next_word to false.

New User

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Thank you for the suggestion Bamzero but no, it just tries to find a webpage called config.

Mozilla Support Contributor

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Hi bullywug, to access Firefox's "about" pages, do not include any spaces in the name. So in this case, about:config with no spaces (and no http:// before it).

New User

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Thank you. I missed the "about" part. It's not a perfect browser but it'll do for printing labels on Paypal (that's all I use it for). Thanks again.

New User

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Well, unfortunately, the solution didn't work. I guess it's back to Opera as it seems to be the only browser that has the features I need. Too bad.

Site Moderator

Re: Firefox copy feature always adds extra space before or after when double clicking to select text

Does leading or trailing space show as selected if you double-click the space between two words or double-click a word after setting the pref to false?

Did you check the selection source via the right-click context menu?


Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).

  • Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.