Closed Bug 1297248 Opened 9 years ago Closed 8 years ago

[Pointer Event] nsIPresShell::SetCapturingContent doesn't work for setPointerCapture / releasePointerCapture

Categories

(Core :: DOM: Events, defect, P2)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
e10s - ---

People

(Reporter: stone, Assigned: stone)

References

Details

We call nsIPresShell::SetIsMouseCapturePreventingDrag on parent process while the flag is set via nsIPresShell::SetCapturingContent on child process. We need to 1. let child process send async IPC message to update the flag on parent process 2. let parent process cancel the drag gesture when receiving a request to prevent drag.
Assignee: nobody → sshih
Ming-Chou, can you describe how this would affect users? Do we need this to work across processes, or can we just make this API fail?
Flags: needinfo?(sshih)
Now I only found a problem when pointer event related API using it with flag 'CAPTURE_PREVENTDRAG'. I think this problem wouldn't affect users since pointer event is not shipped yet.
Flags: needinfo?(sshih)
tracking-e10s: --- → -
Blocks: 822898
Summary: nsIPresShell::SetCapturingContent doesn't work when e10s enabled → [Pointer Event] nsIPresShell::SetCapturingContent doesn't work for setPointerCapture / releasePointerCapture
Priority: -- → P2
(In reply to Ming-Chou Shih [:stone] from comment #2) > Now I only found a problem when pointer event related API using it with flag > 'CAPTURE_PREVENTDRAG'. I think this problem wouldn't affect users since > pointer event is not shipped yet. Hi Stone, could you give an example describing how it would affect user experience? Is it sever that we should treat it as a shipping blocker?
Flags: needinfo?(sshih)
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #3) > (In reply to Ming-Chou Shih [:stone] from comment #2) > > Now I only found a problem when pointer event related API using it with flag > > 'CAPTURE_PREVENTDRAG'. I think this problem wouldn't affect users since > > pointer event is not shipped yet. > > Hi Stone, could you give an example describing how it would affect user > experience? Is it sever that we should treat it as a shipping blocker? typo: s/sever/severe
The origin problem is that SetCapturingContent doesn't work for the concurrence of pointer lock, dnd, and pointer capture. Now the problem is covered by bug 1399740 and bug 1400792. Closed this one as invalid.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(sshih)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.