Fenix's find-in-page UI gets covered up by bottom toolbar, in App Tab, after you switch apps away and back
Categories
(Fenix :: Toolbar, defect)
Tracking
(firefox130 verified, firefox131 verified, firefox132 verified)
People
(Reporter: dholbert, Unassigned)
References
Details
Attachments
(5 files, 1 obsolete file)
[EDIT: See slightly-better STR in comment 12, getting a bit more to-the-point here]
Steps to reproduce
- Set Firefox as your default browser.
- Tap a link to a PDF in your email, e.g. this link: https://www.adobe.com/support/products/enterprise/knowledgecenter/media/c4611_sample_explain.pdf
- In the Firefox "App Tab" that appears, tap the 3-dot-menu and select "Find in page"
- Type a word that you see in the PDF, e.g. "prepared", and then tap the downarrow at bottom-left to hide your keyboard. (Notice that the match gets visually highlighted in the PDF.)
- Swipe up from the bottom of your screen (the Android "home" gesture) to put the app in the background.
- Tap your email app icon to return to seeing the App Tab that you were just looking at.
Expected behavior
The app tab should look identical at the end of step 4 & step 6 (with find-in-page active and visible)
Actual behavior
At the end of step 6, the find-in-page UI is active but the search bar is covered up! You can tell it's active because:
- the find-in-page match ("Prepared") is still highlighted.
- if you have scroll-to-hide dynamic toolbar enabled (default), then you can also see the findbar's buggy blank area (described in bug 1904951) sticking up from the bottom toolbar, from the covered-up findbar.
...but you can't actually see the searchbar itself (which also means there's no way to tap its "x" to cancel out of it; though you can force it to reappear by reactivating it as described in step 3).
Device information
- Firefox version: 129.0a1 2024-06-25
- Android device model: Pixel 8
- Android OS version: 14
Reporter | ||
Comment 1•8 months ago
|
||
Here's a screenshot showing the broken final rendering.
Notice:
- the word "prepared" is highlighted at the top as a find-in-page match (indicating that find-in-page is still active)
- the blank area sticking up from the toolbar at the bottom (which is a manifestation of bug 1904951 granting a little hat to the find-in-page searchbar)
- ...BUT the find-in-page searchbar itself isn't visible; it's covered up by the bottom toolbar.
Reporter | ||
Comment 2•8 months ago
|
||
Reporter | ||
Comment 3•8 months ago
|
||
To see the bug in the attached screencast, compare the renderings at t=12s to t=14s. The expectation is that the UI should look exactly the same, but it's not; the bottom toolbar is hidden at t=12s, but it's present at t=14s, and it's covering up the find-in-page searchbar as discussed above.
Comment hidden (typo) |
Comment hidden (typo) |
Comment 6•8 months ago
|
||
The severity field is not set for this bug.
:royang, could you have a look please?
For more information, please visit BugBot documentation.
Comment 8•8 months ago
|
||
This could be related/duplicate of Bug 1904951. The main issue here is custom tab doesn't remember that the user is in the "find in page" state. So when leaving Fenix and coming back we're actually not in a "find in page" state.
Updated•8 months ago
|
Comment 9•8 months ago
|
||
Looks like this is not just a PDF issue but a custom tab issue. When we leave and come back to Fenix, we're still in a "find in page" state. This can be confirmed by seeing the search term still highlighted.
Moving it back to Fenix.
Reporter | ||
Comment 10•8 months ago
|
||
You can see the find-in-page bottom-toolbar being uncovered/revealed by the find-in-page toolbar as you scroll, too. (Part of the issue is that the dynamic toolbar is covering it up.)
This doesn't seem to be specific to PDF-viewer, either; it's just easier to see with the PDF viewer since the find-in-page UI overflows with the blank gray area there, per Bug 1904951.
Updated•8 months ago
|
Reporter | ||
Comment 11•8 months ago
|
||
Reporter | ||
Comment 12•8 months ago
|
||
BETTER STR (not using a PDF, to help distinguish this from Bug 1904951):
- Set Firefox as your default browser, and make sure you have the dynamic toolbar enabled ("Scroll to hide address bar")
- In your email app, tap a link to this bug page (any page is fine, but let's use this one).
- In the Firefox "App Tab" that appears, tap the 3-dot-menu and select "Find in page".
- Type a term e.g. "repro"
- Swipe up from the bottom of your screen (the Android "home" gesture) to put the app in the background.
- Tap your email app icon to return to seeing the App Tab that you were just looking at.
- Slowly scroll the page down/up, and watch for findbar UI.
EXPECTED RESULTS:
The app tab should look identical at the end of step 4 & in step 6-7 (with find-in-page active and visible).
ACTUAL RESULTS:
At the end of step 6, the find-in-page UI is active but the search bar is covered up! You can tell it's active because it gets revealed when you scroll in step 7 (and because the find-in-page match is still highlighted)
The screencast that I just attached in comment 11 show the ACTUAL RESULTS.
Comment 13•6 months ago
|
||
This issue is no longer reproducible on the latest Nightly 132.0a1 from 09/12 with and without the Toolbar Redesign enabled.
Not reproducible in latest Beta 131.0b5 or Release 130.0, where only the issue of the additional space displayed above the find in page bar remains.
Tested with the following devices:
- Samsung Galaxy A53 5G (Android 14)
- Xiaomi 12 Pro (Android 13)
- Samsung Tab S8 Ultra 5G (Android 14)
Closing as fixed.
Updated•6 months ago
|
Updated•6 months ago
|
Description
•