Closed
Bug 1204806
Opened 9 years ago
Closed 8 years ago
[TV 2.6] Draw cursor while virtual mouse is connected to TV
Categories
(Core Graveyard :: Widget: Gonk, defect)
Tracking
(blocking-b2g:2.6+, b2g-v2.6 fixed)
Tracking | Status | |
---|---|---|
b2g-v2.6 | --- | fixed |
People
(Reporter: schien, Assigned: etsai)
References
Details
(Whiteboard: [ft:conndevices][partner-blocker][ETA: 6/15])
Attachments
(1 file)
48 bytes,
text/x-github-pull-request
|
kikuo
:
review+
jocheng
:
approval-mozilla-b2g48+
|
Details | Review |
We need to draw mouse cursor while hardware mouse or virtual mouse is connected to TV. HwComposer supports HWC_CURSOR_OVERLAY for drawing mouse cursor [1]. In the past APC project we drew mouse cursor in shell.html (see bug 937464) and it hurt the rendering performance due to constantly reflow. We should avoid this kind of approach on TV project. @cjones also tried to render mouse cursor in Gecko for RPi on bug 1082892. [1] http://androidxref.com/5.1.1_r6/xref/hardware/libhardware/include/hardware/hwcomposer.h#787
Updated•9 years ago
|
Blocks: TV_RemoteControl_TVSide
Updated•9 years ago
|
No longer blocks: TV_RemoteControl
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → etsai
Updated•9 years ago
|
Whiteboard: [ft:conndevices][partner-blocker][partner-cherry-pick]
Updated•9 years ago
|
Whiteboard: [ft:conndevices][partner-blocker][partner-cherry-pick] → [ft:conndevices][partner-blocker][POVB]
Reporter | ||
Comment 1•9 years ago
|
||
On Gonk platform we already have a SpriteController to draw cursor/finger for mouse/touch input and the position can be controlled by PointerController::move. We only need to create a call path from EventShuttle to PointerController.
Updated•8 years ago
|
blocking-b2g: --- → 2.6?
Assignee | ||
Comment 2•8 years ago
|
||
Use this bug to implement cursor integration with bug 1270701. While it's in cursor mode and any client connects, show cursor; otherwise, hide cursor?
Status: NEW → ASSIGNED
Depends on: 1270701
Summary: Draw cursor while hardware mouse or virtual mouse is connected to TV → [TV 2.6] Draw cursor while virtual mouse is connected to TV
Updated•8 years ago
|
blocking-b2g: 2.6? → 2.6+
Whiteboard: [ft:conndevices][partner-blocker][POVB] → [ft:conndevices][partner-blocker]
Updated•8 years ago
|
Whiteboard: [ft:conndevices][partner-blocker] → [ft:conndevices][partner-blocker][ETA: 6/15]
Updated•8 years ago
|
Target Milestone: --- → FxOS-S2 (10Jul)
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8758641 -
Flags: review?(kikuo)
Comment 4•8 years ago
|
||
Comment on attachment 8758641 [details] [review] Patch 1. Draw mouse cursor when remote user connected in cursor mode Let's check the conversations on github.
Attachment #8758641 -
Flags: review?(kikuo)
Assignee | ||
Comment 5•8 years ago
|
||
Comment on attachment 8758641 [details] [review] Patch 1. Draw mouse cursor when remote user connected in cursor mode Hi Kilik, based on conversation on PR, please help to review this patch.
Attachment #8758641 -
Flags: review?(kikuo)
Comment 6•8 years ago
|
||
Comment on attachment 8758641 [details] [review] Patch 1. Draw mouse cursor when remote user connected in cursor mode Please file a follow-up to remove these cursor-related interfaces,variables out of nsIWidget.h to a separated utility instance. It could be used from namespace DOM. The implementation in that instance may be like [1],[2]. By transferring values through function signatures and posting Invalidate/ScheduleRender via a thread. That should be work. Thanks. [1] https://dxr.mozilla.org/mozilla-central/source/widget/windows/WinUtils.h [2] https://dxr.mozilla.org/mozilla-central/source/widget/SharedWidgetUtils.cpp
Attachment #8758641 -
Flags: review?(kikuo) → review+
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8758641 [details] [review] Patch 1. Draw mouse cursor when remote user connected in cursor mode NOTE: Please see https://wiki.mozilla.org/Release_Management/B2G_Landing to better understand the B2G approval process and landings. [Approval Request Comment] Bug caused by (feature/regressing bug #): 1204806 User impact if declined: No mouse cursor when using remote control virtual touch pad Testing completed: self-tested Risk to taking this patch (and alternatives if risky): low String or UUID changes made by this patch: N/A
Attachment #8758641 -
Flags: approval-mozilla-b2g48?
Assignee | ||
Comment 8•8 years ago
|
||
Follow-up bug: 1277779
Comment 9•8 years ago
|
||
Comment on attachment 8758641 [details] [review] Patch 1. Draw mouse cursor when remote user connected in cursor mode Approve for TV 2.5
Attachment #8758641 -
Flags: approval-mozilla-b2g48? → approval-mozilla-b2g48+
Assignee | ||
Comment 10•8 years ago
|
||
Hi Gary, please help to merge for TV 2.6, thanks.
Flags: needinfo?(xeonchen)
Comment 11•8 years ago
|
||
https://github.com/mozilla-b2g/gecko-b2g/commit/d20c9868a631f4a3901d535bd65daadcb55736ec
status-b2g-v2.6:
--- → fixed
Flags: needinfo?(xeonchen)
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•