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)
Core
DOM: Events
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 | ||
Updated•9 years ago
|
Assignee: nobody → sshih
Comment 1•9 years ago
|
||
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)
| Assignee | ||
Comment 2•9 years ago
|
||
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)
Updated•9 years ago
|
tracking-e10s:
--- → -
| Assignee | ||
Updated•9 years ago
|
Summary: nsIPresShell::SetCapturingContent doesn't work when e10s enabled → [Pointer Event] nsIPresShell::SetCapturingContent doesn't work for setPointerCapture / releasePointerCapture
Updated•8 years ago
|
Priority: -- → P2
Comment 3•8 years ago
|
||
(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)
Comment 4•8 years ago
|
||
(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
| Assignee | ||
Comment 5•8 years ago
|
||
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.
Description
•