Closed Bug 2063414 Opened 3 months ago Closed 1 month ago

[Fenix / GeckoView (?)] Improve PDF Tool Hide/Show Speed on Navigation

Categories

(GeckoView :: PDF Viewer, task)

All
Android
task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group6])

Attachments

(1 external file)

In the wireframe introduced in bug 2062612, the PDF toolbar is slow to remove on a navigation. We should make the detection or response better here.

STR:

  • Load PDF
  • Navigate tab to another non-PDF page
    • Observe the PDF tools stay active until navigation is complete

Expected behavior is to remove the PDF tools as soon as the PDF content disappears.

Bug might be fixed due to [:polly]'s stateFlow suggestion on the wireframe patch. Need to retest on slow network conditions.

Patch clears isPdf preemtively on page load change. The previous behavior could sometimes have the PDF toolbar linger too long on the next page for slow navigations.

Assignee: nobody → ohall
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: