Open Bug 1259698 Opened 10 years ago Updated 1 year ago

Drop nsEventStatus_eConsumeDoDefault completely and if it's necessary for APZC, WidgetEvent::mFlags should have a new flag

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect

Tracking

()

Tracking Status
firefox48 --- affected

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: btpp-active)

nsEventStatus_eConsumeDoDefault is now only compared with APZ related methods. http://mxr.mozilla.org/mozilla-central/search?string=nsEventStatus_eConsumeDoDefault So, we can drop this odd state from nsEventStatus enum and add a new flag for specific situation. I still don't understand what means that when nsEventStatus_eConsumeDoDefault is set in APZ. mstange, if you'd explain the meaning, I'd be happy because it helps to name the new flag. (I feel that, consumed (not just handled) but do its default doesn't make sense)
Flags: needinfo?(mstange)
APZ's interpretation of these values is explained here [1]. Let me know if anything is still unclear, I can elaborate on them. [1] https://dxr.mozilla.org/mozilla-central/rev/d5f3da0cfe7ccf846c354014c9b059fad6ba0de5/gfx/layers/apz/src/APZCTreeManager.h#164
Flags: needinfo?(mstange)
Whiteboard: btpp-active
(In reply to Botond Ballo [:botond] from comment #1) > APZ's interpretation of these values is explained here [1]. Let me know if > anything is still unclear, I can elaborate on them. > > [1] > https://dxr.mozilla.org/mozilla-central/rev/ > d5f3da0cfe7ccf846c354014c9b059fad6ba0de5/gfx/layers/apz/src/APZCTreeManager. > h#164 Thank you for your quick reply. But unfortunately, I don't have much time due to some urgent bugs including fixing regressions. So, I'll be back next month (I really hope so) but if somebody wants to steal this bug, feel free to take this.
Assignee: masayuki → nobody
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.