Dragging a middle click on a tab to another tab causes a new tab to open
Categories
(Firefox :: Tabbed Browser, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox64 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | --- | verified |
People
(Reporter: itiel_yn8, Assigned: smaug)
References
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
(Olli told me he's going to get to this soon)
Assignee | ||
Comment 9•6 years ago
|
||
(In reply to Itiel from comment #0)
STR:
- Open multiple tabs
- Middle click on one tab, but don't release the mouse wheel
- Drag the mouse to another tab and release the middle click on it
AR:
A new tab opens.ER:
Nothing.
ahaa, I didn't know that middle clicking on the empty area next to the tabs opens a new tab.
And now that click detection finds the common ancestor as target, some event listener just thinks click was still happening on the empty area. Looking.
As a side bonus, if you're dragging this middle click from tab A to the same
tab A but to a different area of it, the tab will close (whereas before the
regression, simply nothing will happen).
That is because now we detect it properly as a click.
Assignee | ||
Comment 10•6 years ago
|
||
this is related to bug 1219215. And originally the feature was added in bug 573438. Bug 1519160 is also relevant.
Just using the code patch, which https://hg.mozilla.org/mozilla-central/rev/f001cd4a711d added, always.
I don't see any tests for this code. None of other bugs added any.
Gijs seems to be away-ish for couple of days.
Assignee | ||
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Assignee | ||
Comment 14•6 years ago
|
||
This then. Seem to work well even with tab closing case at least on my machine.
Assignee | ||
Updated•6 years ago
|
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Comment 17•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Description
•