Closed
Bug 1383830
Opened 7 years ago
Closed 7 years ago
Can no longer drag and drop into tab content
Categories
(Core :: DOM: Core & HTML, defect, P1)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox54 | --- | unaffected |
firefox55 | --- | unaffected |
firefox56 | - | verified |
People
(Reporter: mstange, Assigned: stone)
References
Details
(Keywords: regression)
I think this is a recent regression. Dragging files from Finder into a content tab no longer works. But dragging them into a parent process tab (like about:support) works. Examples: 1. Dragging an HTML file in order to load that file. 2. Dragging a file on top of a file <input> 3. Passing a file to web content, e.g. for loading a local profile file on https://perf-html.io/
Comment 1•7 years ago
|
||
Seems like it works on Windows. Michael, have you seen anything that could have broken this? Maybe Stephen has an idea?
Flags: needinfo?(spohl.mozilla.bugs)
Flags: needinfo?(michael)
Priority: -- → P1
Comment 2•7 years ago
|
||
I haven't touched any D&D code in months, so I have no idea what might have broken it. I can try to look into it once I get back from PTO if someone hasn't gotten to it by then.
Comment 3•7 years ago
|
||
Ran mozregression. Looks like bug 1363601 introduced this. I've been able to confirm by building locally from that cset. 9:35.40 INFO: Narrowed inbound regression window from [217ad633, e7a3ac60] (3 revisions) to [217ad633, 1044cf05] (2 revisions) (~1 steps left) 9:35.40 INFO: No more inbound revisions, bisection finished. 9:35.40 INFO: Last good revision: 217ad633fbf7ea7b334c1da31c96248424f1d1dd 9:35.40 INFO: First bad revision: 1044cf0518e931651ea51b6b407838807972703c 9:35.40 INFO: Pushlog: https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=217ad633fbf7ea7b334c1da31c96248424f1d1dd&tochange=1044cf0518e931651ea51b6b407838807972703c
Blocks: 1363601
Flags: needinfo?(spohl.mozilla.bugs)
Flags: needinfo?(michael)
Flags: needinfo?(gkrizsanits)
Updated•7 years ago
|
Has Regression Range: --- → yes
status-firefox54:
--- → unaffected
status-firefox55:
--- → affected
status-firefox56:
--- → affected
status-firefox-esr52:
--- → unaffected
tracking-firefox55:
--- → ?
tracking-firefox56:
--- → ?
Keywords: regressionwindow-wanted
Version: Trunk → 55 Branch
Comment 4•7 years ago
|
||
(In reply to Stephen A Pohl [:spohl] from comment #3) > Ran mozregression. Looks like bug 1363601 introduced this. I've been able to > confirm by building locally from that cset. > > 9:35.40 INFO: Narrowed inbound regression window from [217ad633, e7a3ac60] > (3 revisions) to [217ad633, 1044cf05] (2 revisions) (~1 steps left) > 9:35.40 INFO: No more inbound revisions, bisection finished. > 9:35.40 INFO: Last good revision: 217ad633fbf7ea7b334c1da31c96248424f1d1dd > 9:35.40 INFO: First bad revision: 1044cf0518e931651ea51b6b407838807972703c > 9:35.40 INFO: Pushlog: > https://hg.mozilla.org/integration/mozilla-inbound/ > pushloghtml?fromchange=217ad633fbf7ea7b334c1da31c96248424f1d1dd&tochange=1044 > cf0518e931651ea51b6b407838807972703c That patch is a change in a comment on nightly. It is a no-op patch on the nightly channel, so I think something might went wrong in this mozregression run...
Flags: needinfo?(gkrizsanits) → needinfo?(spohl.mozilla.bugs)
Comment 5•7 years ago
|
||
Backing out bug 1363601 for me locally didn't fix the issue for me. I did notice that sometimes the drag and drop DOES work, even though mostly it doesn't. Maybe that was an issue when doing a regression? It probably isn't useful, but in my debug build I saw this when it failed (sometimes with more WARNING): [Child 59924] WARNING: NS_ENSURE_TRUE(dragSession) failed: file /Users/amccreight/mc/dom/base/nsContentUtils.cpp, line 5934 [Child 59924] WARNING: NS_ENSURE_TRUE(dragSession) failed: file /Users/amccreight/mc/dom/base/nsContentUtils.cpp, line 5934 [Child 59924] WARNING: NS_ENSURE_TRUE(dragSession) failed: file /Users/amccreight/mc/dom/base/nsContentUtils.cpp, line 5934 When it succeeded the log the log was: [Child 59924] WARNING: NS_ENSURE_TRUE(dragSession) failed: file /Users/amccreight/mc/dom/base/nsContentUtils.cpp, line 5934 [Parent 59923] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /Users/amccreight/mc/netwerk/base/nsFileStreams.cpp, line 74 [Parent 59923] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80470002: file /Users/amccreight/mc/netwerk/base/nsFileStreams.cpp, line 74
Comment 6•7 years ago
|
||
I'll run another mozregression on it and see if I get another range.
Comment 7•7 years ago
|
||
(In reply to Gabor Krizsanits [:krizsa :gabor] from comment #4) > (In reply to Stephen A Pohl [:spohl] from comment #3) > > Ran mozregression. Looks like bug 1363601 introduced this. I've been able to > > confirm by building locally from that cset. > > > > 9:35.40 INFO: Narrowed inbound regression window from [217ad633, e7a3ac60] > > (3 revisions) to [217ad633, 1044cf05] (2 revisions) (~1 steps left) > > 9:35.40 INFO: No more inbound revisions, bisection finished. > > 9:35.40 INFO: Last good revision: 217ad633fbf7ea7b334c1da31c96248424f1d1dd > > 9:35.40 INFO: First bad revision: 1044cf0518e931651ea51b6b407838807972703c > > 9:35.40 INFO: Pushlog: > > https://hg.mozilla.org/integration/mozilla-inbound/ > > pushloghtml?fromchange=217ad633fbf7ea7b334c1da31c96248424f1d1dd&tochange=1044 > > cf0518e931651ea51b6b407838807972703c > > That patch is a change in a comment on nightly. It is a no-op patch on the > nightly channel, so I think something might went wrong in this mozregression > run... It was a strange cset to settle on for sure. I just ran mozregression again and it settled on a different range[1], pointing at bug 1351148 as the possible culprit. I rebuilt locally before and after the patches in that bug and it seems to confirm that these patches introduced the issue. [1] https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=bb33237155278066423e2fdc3de2785eb44a75e7&tochange=0ee0458b1452f8be4502807ff78109ae4b0fa821
Updated•7 years ago
|
tracking-firefox55:
? → ---
Comment 8•7 years ago
|
||
Yeah, I just finished rerunning a mozregression and I got the same thing as comment 7. :)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → sshih
Flags: needinfo?(sshih)
Comment 11•7 years ago
|
||
(In reply to Andrew McCreight [:mccr8] from comment #8) > Yeah, I just finished rerunning a mozregression and I got the same thing as > comment 7. :) Me too. It was hard to bisect because it failed about 70% of the time only.. so at times it threw the bisection in the wrong direction.. After some careful retries I arrived here too. One easy website to test this is imgur.com. It supports drag'n'dropping of image files to the homepage
Updated•7 years ago
|
OS: Mac OS X → All
Comment 13•7 years ago
|
||
Today's nightlies contain the backout of bug 1351148, so this should be fixed now.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Version: 55 Branch → Trunk
Updated•7 years ago
|
Flags: qe-verify+
Comment 14•7 years ago
|
||
I have reproduced this issue using Firefox 56.0a1 (2017.07.24) on Win 8.1 x64. I can confirm this issue is fixed, I verified using Firefox 56.0b5 Win 8.1 x64, Mac OS X 10.12 and Ubuntu 14.04 x64.
Updated•7 years ago
|
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•