Quickactions flash when typing in the urlbar
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox104 | --- | verified |
People
(Reporter: daleharvey, Assigned: daleharvey)
References
Details
Attachments
(1 file, 1 obsolete file)
Typing in the urlbar causes QuickActions to flash, this is due to them using getViewUpdate
and that they are invalidated and redrawn on every urlbar update.
One option would be to have getViewUpdate
return some type of hash that indicates the number of results returned, if we have the same number of results on subsequent updates then we do not need to create a fresh dom, only update its contents. The issue with this is the results will still flash when we have different number of results.
Another option would be to have QuickActions return plain UrlbarResults, make sure they are grouped together and update the styling to make a column layout. I think this constrains some layout issues we dealt with in FlowState that arent relevant for Desktop at the moment.
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Just to update, when I say a plain UrlbarResult, an initial guess seems like the best option would be to create a new RESULT_TYPE.ACTION and return one result for each action.
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Comment 5•3 years ago
|
||
bugherder |
Comment 6•3 years ago
|
||
The issue is verified fixed using the latest Fx104.0a1 on Windows 10, Ubuntu 20.04 and macOS. The QuickActions buttons no longer flick when typing or opening the URL bar dropdown.
Updated•3 years ago
|
Description
•