[Toolbar Redesign] PWA displays the navbar/spacing after returning from a link while in Landscape mode
Categories
(Fenix :: Toolbar, defect)
Tracking
(firefox128 unaffected, firefox129 unaffected, firefox130 fixed)
Tracking | Status | |
---|---|---|
firefox128 | --- | unaffected |
firefox129 | --- | unaffected |
firefox130 | --- | fixed |
People
(Reporter: dpop, Assigned: mavduevskiy)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Steps to reproduce
- Open latest Nightly with the navigation toolbar enabled by default.
- Position address bar at bottom..
- Open a PWA.
- Navigate a link from PWA.
- Rotate the device to landscape.
- Press back.
Expected behavior
The address bar and the navigation toolbar are not displayed on PWAs installed from latest Nightly.
Actual behavior
Similar to 1906784, after returning to PWA from the accessed link (but while in Landscape mode), the navigation bar is displayed (when the address bar is set to bottom), and an empty space is displayed at the top of the screen (when the address bar is set to top).
Device information
- Firefox version: Nightly 130.0a1 from 07/15
- Android device model: Samsung Galaxy S22 Ultra
- Android OS version: Android 14
Any additional information?
The initial issue Mike described in 1906784, could no longer be reproduced if the device is rotated back to portrait mode before tapping the back button. Instead, the back button has to be tapped while in Landscape mode in order to reproduce the issue.
Not reproducible on tablet devices.
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 1•4 months ago
|
||
The use case to catch this one is a bit tricky: we should start in a PWA mode, that hides the toolbar, then navigate a link withing the PWA. The next page would show the toolbar, giving user the ability navigate back. Normally, if the user does navigate back, the hideToolbarFeature would hide the toolbar again.
The problem came from onUpdateToolbarForConfigurationChange, that would be removing the toolbar - the wrapper lifecycle was dependant on the toolbarview, while previously toolbar view was only detached along with the fragment view.
Assignee | ||
Comment 2•4 months ago
|
||
Prepare: visit "https://community.wanikani.com" and install it as a PWA via "Add to HomeScreen". The convenient test case borrowed from here
Comment 4•4 months ago
|
||
bugherder |
Description
•