Closed
Bug 1299197
Opened 8 years ago
Closed 8 years ago
[Pointer Events] Should also serialize tiltX and tiltY when serializing WidgetMouseEvents
Categories
(Core :: DOM: Events, defect, P3)
Core
DOM: Events
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: bhsu, Assigned: stone)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
stone
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
stone
:
review+
|
Details | Diff | Splinter Review |
Though it's pretty weird to serial tiltX and tiltY for mouse input, we have to do this, since Windows send mouse platform messages for pen inputs and touch, which are latter wrapped into WidgetMouseEvent by Gecko. Thus, WidgetMouseEvent doesn't only represent mouse input but also pen and touch.
Besides, it would be nice to match the hierarchies of both Widget****Event and their corresponding serializers.
Reporter | ||
Updated•8 years ago
|
Component: Event Handling → DOM: Events
Reporter | ||
Updated•8 years ago
|
Summary: [Pointer Events] Should also serialize tiltX and tiltY when serializing WidgetMouseEvent → [Pointer Events] Should also serialize tiltX and tiltY when serializing WidgetMouseEvents
Comment 1•8 years ago
|
||
Is this something we want to have in the next release/months, i.e. P2? Or is it closer to a nice-to-have (P3) speaking from now?
Reporter | ||
Comment 2•8 years ago
|
||
IMHO, if we are going to launch Pointer Events in any form (i.e., pre-release), then it's P3 (nice-to-have); However, if we're not launching Pointer Events, then this issue has nothing to do with the very next release ;P
Flags: needinfo?(bhsu)
Assignee | ||
Comment 3•8 years ago
|
||
In this stage, I think we can set this bug as nice-to-have
Flags: needinfo?(sshih)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → sshih
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8814781 -
Flags: review?(bugs)
Assignee | ||
Updated•8 years ago
|
Attachment #8814782 -
Flags: review?(bugs)
Updated•8 years ago
|
Attachment #8814781 -
Flags: review?(bugs) → review+
Comment 7•8 years ago
|
||
Comment on attachment 8814782 [details] [diff] [review]
Part2: Serialize WidgetPointerHelper in IPC message
> template<>
>+struct ParamTraits<mozilla::WidgetPointerHelper>
>+{
>+ typedef mozilla::WidgetPointerHelper paramType;
>+
>+ static void Write(Message* aMsg, const paramType& aParam)
>+ {
>+ WriteParam(aMsg, aParam.pointerId);
>+ WriteParam(aMsg, aParam.tiltX);
>+ WriteParam(aMsg, aParam.tiltY);
>+ // We don't serialize convertToPointer and retargetedByPointerCapture since
>+ // they are temporarily variable and sould be reset to default.
s/sould/should/
Attachment #8814782 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 8•8 years ago
|
||
Assignee | ||
Comment 9•8 years ago
|
||
Updated the patch summary.
Attachment #8814781 -
Attachment is obsolete: true
Attachment #8815541 -
Flags: review+
Assignee | ||
Comment 10•8 years ago
|
||
Updated the patch summary and comments.
Attachment #8814782 -
Attachment is obsolete: true
Attachment #8815542 -
Flags: review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 11•8 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd2c8004db8a
Part1: Refine WidgetPointerHelper. r=smaug
https://hg.mozilla.org/integration/mozilla-inbound/rev/eece9df96e36
Part2: Serialize WidgetPointerHelper in IPC messag. r=smaug
Keywords: checkin-needed
Comment 12•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd2c8004db8a
https://hg.mozilla.org/mozilla-central/rev/eece9df96e36
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•