Closed Bug 274773 Opened 20 years ago Closed 20 years ago

Middle-clicking non-hyperlinked areas of a page attempts to load from clipboard

Categories

(Firefox :: General, defect)

1.0 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: persiantools, Assigned: bugzilla)

References

Details

This bug is only reproducible in Linux OS. I get this annoyance every time I accidentally press middle button of the mouse in the non-clickable part of a page and the browser attempts to load a page by the address of what is previously stored in the clipboard, possibly resorting to google to resolve a valid url and loading an arbitrary page in the process. To reproduce the bug, just select a portion of text and copy it to clipboard. Then middle-click the page and you see firefox attempting to resolve the text you earlier copied to clipboard.
I suspect that your bug is related to the X Window System rather than Linux. Middle click is supposed to paste the current selection (without going throught the clipboard). I don't know whether your behaviour is the wanted one or not. (Konqueror does not do it, and it would be a surprise to me as well). Note that without some subterfuge it may not be possible to middle click into the Location Bar, as before it takes effect, you will replace the selection with the current contents of the Bar.
It is indeed possible to middle click in the location bar or anywhere text entry is involved and it pastes from clipboard. The problem is in middle-clicking the page content itself and I don't know how it triggers a page reload. This is weird in two ways: 1. Middle-clicking a link is supposed to open it up in a new tab while this actually reloads from clipboard replacing the old content. 2. The most funny part is the resolution process aided by google that makes firefox a random "I'm feeling lucky" page generator. Just think about the security implications.
about:config -> Filter on contentLoadURL, toggle to false. By design, maybe to be reconsidered within the scope of other bugs.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Thanks, that was a workaround.
Possible Dup of Bug 226747 "middle mouse button causes mozilla to visit random website"
(In reply to comment #3) > about:config -> Filter on contentLoadURL, toggle to false. > > By design, maybe to be reconsidered within the scope of other bugs. Mike: this is by design?! That doesn't make any sense. What possible use could this have as a feature? It has been reported as a bug at least four or five times (e.g. 278290, 226747 and others) and it is incredibly inconvenient, especially for people who have special accessibility needs. Could you please re-open this?
*** Bug 226747 has been marked as a duplicate of this bug. ***
*** Bug 278290 has been marked as a duplicate of this bug. ***
*** Bug 278290 has been marked as a duplicate of this bug. ***
(In reply to comment #6) > (In reply to comment #3) > > about:config -> Filter on contentLoadURL, toggle to false. > > > > By design, maybe to be reconsidered within the scope of other bugs. > > Mike: this is by design?! That doesn't make any sense. What possible use could > this have as a feature? It has been reported as a bug at least four or five > times (e.g. 278290, 226747 and others) and it is incredibly inconvenient, > especially for people who have special accessibility needs. Could you please > re-open this? Middle click is paste, so if you paste a URL it will load in the browser, paste a word and it will search for it. If you don't like it just change the pref which Mike pointed out. Bob
*** Bug 337037 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.