[NFC][ShrinkingUI] Prevent Shrinking UI overreacting while hardware is unstable

RESOLVED WONTFIX

Status

RESOLVED WONTFIX
4 years ago
8 months ago

People

(Reporter: gweng, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

The current NFC shrinking UI is easily overreacting while the hardware is not so stable. Unfortunately, on some Flame devices, it's a common problem, and would make Shrinking UI perform the animation and cease it crazily.

The solution is to make Shrinking UI drop events during a waiting time. However, this require Shrinking UI to become a component with different states, which would transfer with both event and time event source. In my experience, if we follow the existing code to patch the component, it would become a mess just like the existing LockScreen: the state transferring predictions and the actions scattering about everywhere, and it's hard to control the flag and transferring rule in a clear way.

So, I would not to patch the component naively. Instead of, I would slightly refactor Shrinking UI to make it can follow the state machine style better.
(Reporter)

Updated

4 years ago
Assignee: nobody → gweng
(Reporter)

Updated

2 years ago
Assignee: gweng → nobody

Comment 1

8 months ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.