"contextmenu" event has mozInputSource == MOZ_SOURCE_MOUSE even when hitting the context menu key on the keyboard
Categories
(Core :: DOM: Events, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox53 | --- | affected |
People
(Reporter: squib, Unassigned)
Details
(Keywords: good-first-bug, Whiteboard: [domcore-bugbash-triaged])
Attachments
(3 files)
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
| Reporter | ||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Updated•8 years ago
|
Updated•3 years ago
|
Comment 7•2 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Comment 8•1 year ago
|
||
Still valid, and the WIP in the attachment 8819081 [details] [diff] [review] is still pointing out the right direction.
Comment 9•1 year ago
|
||
Hi could I work on this bug?
If its available, I'd like to clarify if I am understanding the desired behavior. Right now as it stands, anyone clicking on the keyboard "context key" results in Firefox considering it a primary mouse click. As it was not a mouse click, we should assign eNotPressed to mButton when the "context key" is pressed (regarding WidgetPointerEvent's constructor specifically)?
Also in considering the two constructors listed here: https://searchfox.org/mozilla-central/source/widget/MouseEvents.h line 813-827, we can only account for this behavior in the 818-827 constructor through aContextMenuTrigger right? Meaning we have to leave the 813 constructor as it is?
Thank you very much!
Comment 10•1 year ago
|
||
(In reply to Swarup Ukil from comment #9)
Hi could I work on this bug?
Sure thing! Thank you for being interested in working on this.
If its available, I'd like to clarify if I am understanding the desired behavior. Right now as it stands, anyone clicking on the keyboard "context key" results in Firefox considering it a primary mouse click. As it was not a mouse click, we should assign eNotPressed to mButton when the "context key" is pressed (regarding WidgetPointerEvent's constructor specifically)?
Also in considering the two constructors listed here: https://searchfox.org/mozilla-central/source/widget/MouseEvents.h line 813-827, we can only account for this behavior in the 818-827 constructor through aContextMenuTrigger right? Meaning we have to leave the 813 constructor as it is?
Forwarding the needinfo request to :smaug, who can clarify and explain better than I. :)
Thank you very much!
Comment 11•1 year ago
|
||
For the mButton handling, worth to check what other browsers do.
And both constructors should be tweaked, I think. For consistency.
Comment 12•1 year ago
|
||
Updated•1 year ago
|
Comment 13•11 months ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Updated•11 months ago
|
Updated•11 months ago
|
Comment 14•9 months ago
|
||
This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.
Description
•