Middle click paste into address bar doesn't replace existing content anymore
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox151 | --- | wontfix |
| firefox152 | --- | verified |
| firefox153 | --- | verified |
People
(Reporter: manuel, Assigned: mbeier)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [sng])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
STR:
- open a website (e.g. https://wikipedia.org)
- select some text to put into secondary clipboard (likely linux-only)
- middle click on address bar
Expected result: content from address bar is replaced with selected content
Got result: selected content is pasted at position where the middle click happened
Regression bug found via mozregression (larger regression window than usual, but picked most likely bug: https://hg-edge.mozilla.org/integration/autoland/pushloghtml?fromchange=e41f1f9aa58a7d4c0c79bc3c9e4a234136e83dc7&tochange=602084a80545c3aa2879ec54585f298966b00839)
Comment 1•2 months ago
|
||
Set release status flags based on info from the regressing bug 2030983
:mbeier, since you are the author of the regressor, bug 2030983, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•2 months ago
|
| Assignee | ||
Comment 2•2 months ago
|
||
This happened because converting urlbar-input-container from a xul hbox to an html div caused "click" events to not fire because "click" only fires for the primary mouse button in HTML.
Updated•2 months ago
|
| Assignee | ||
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Comment 4•2 months ago
|
||
| bugherder | ||
Comment 5•2 months ago
|
||
The patch landed in nightly and beta is affected.
:mbeier, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox152towontfix.
For more information, please visit BugBot documentation.
Updated•2 months ago
|
Comment 6•2 months ago
|
||
Reproducible on a 2026-05-27 Firefox Nightly build on Ubuntu 22, using the STR from Comment 0.
Verified as fixed on Firefox Nightly 153.0a1 on Ubuntu 22.
Comment 7•2 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Users have to manually clear the urlbar before middle click pasting on Linux
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: yes
- Steps to reproduce for manual QE testing: See https://bugzilla.mozilla.org/show_bug.cgi?id=2042893#c0
- Risk associated with taking this patch: low
- Explanation of risk level: Very small change
- String changes made/needed?: no
- Is Android affected?: no
| Assignee | ||
Comment 8•2 months ago
|
||
This happened because converting urlbar-input-container from a xul hbox to an html div caused "click" events to not fire because "click" only fires for the primary mouse button in HTML.
Original Revision: https://phabricator.services.mozilla.com/D303007
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
Updated•1 month ago
|
Verified as fixed on Firefox 152.0b10 on Ubuntu 22.
Description
•