Closed Bug 184454 Opened 23 years ago Closed 22 years ago

CTRL + middle-click paste (Linux) loads URL in active tab, too

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 219378

People

(Reporter: tibi, Assigned: bugzilla)

References

Details

Attachments

(2 obsolete files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5 Ctrl + middle-click on blank area schould open up a new tab and load the content of the clipboard as a URL. Works fine, however with the side-effect that the active tab (or blank window) loads the URL, too. Reproducible: Always Steps to Reproduce: 1. copy a URL into the clipboard (i.e. by right-clicking on a link and selecting "Copy Link location") 2. press CTRL + middle-mouse-button in the content area Actual Results: You end up with two tabs (the active and a new one) loading the same URL. Expected Results: Load URL in clipboard in a new tab.
How annoying... I didn't even realize this was possible (Ctrl + Middle-Click Paste that is). -->Tweaking summary -->Confirmed
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: CTRL + middle-click unnecessarily loads URL in active tab, too → CTRL + middle-click paste (Linux) loads URL in active tab, too
*** Bug 185116 has been marked as a duplicate of this bug. ***
Offtopic, i know, but is there a way to disable the middle-click loading a url, making it close a tab, like windows?
QA Contact: asa
FIXED (see attachment above for patch) Note that the code for middleMousePaste(event) in browser.js derives from components/contentAreaClick.js. The function defined in latter may be obsolete but it's still there (and confused me a bit).
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
This hasn't been 'fixed' since the patch hasn't been reviewed and checked-in yet.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #140960 - Flags: review?(bryner)
Brian: Can you take a look at the patch for this please? It's just a one word tweak.
This one also fixes another bug which prevents you from CTRL+middleclick pasting a domain name (e.g. 'mozilla.org' _without_ 'http://' prefix) and get it loaded into a new tab.
Attachment #140960 - Attachment is obsolete: true
Attachment #140960 - Flags: review?(bryner)
Attachment #141012 - Flags: review+
This was fixed by bug 219378, filed by the same reporter. A comment would've been nice in this bug... *** This bug has been marked as a duplicate of 219378 ***
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → DUPLICATE
Comment on attachment 141012 [details] [diff] [review] fixes middleMousePaste(event) in browser.js This patch was never applied and is now obsolete.
Attachment #141012 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: