PWA doesn't work well with toolbar features
Categories
(Fenix :: PWA, defect)
Tracking
(firefox129 verified)
Tracking | Status | |
---|---|---|
firefox129 | --- | verified |
People
(Reporter: jackyzy823, Assigned: jackyzy823, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
Steps to reproduce
While trying to fix the bug 1880747 , i found more bugs
- Prepare: visit "https://community.wanikani.com" and install it as a PWA via "Add to HomeScreen"
-
Bug 1, Top bar of PWA is empty
- Set Toolbar to "TOP" and Scroll to hide toolbar to OFF in Settings->Customize
- Open "Wanikani" PWA (You could observe clearly if you set "Open links in private tab" to ON in Settings->Private Browsing)
See screenshot bug1
-
Bug2
- Set Toolbar to "TOP" and Scroll to hide toolbar to ON in Settings->Customize
- Open "Wanikani" PWA , click "Try wanikani for free" , then when page loaded , click go back
- You could observe the top bar is just like bug 1
-
Bug3 , bottom toolbar do not hide when Scroll to hide toolbar enabled
- Set Toolbar to "BOTTOM" and Scroll to hide toolbar to ON in Settings->Customize
- Open "Wanikani" PWA , click "Try wanikani for free" , then when page loaded , try scroll to the end,
- You could observe the toolbar do not hide at all ( and i think this also causes the bug 1880747 ,the bottom of the page is covered by toolbar )
-
Bug 4 , just the same as bug 1880747
- Set Toolbar to "BOTTOM" and Scroll to hide toolbar to OFF in Settings->Customize
- Open "Wanikani" PWA , click "Try wanikani for free" , then when page loaded , try scroll to the end,
- The bottom of the page is covered by toolbar
Expected behavior
PWA works well with toolbar features
Actual behavior
PWA doesn't work well with toolbar features
Device information
- Firefox version: 127.0
- Android device model: Pixel 6
- Android OS version: 14
Any additional information?
Assignee | ||
Comment 1•5 months ago
•
|
||
With the secret settings "Toolbar redesign incomplete portions" to ON
Prepare: visit "https://community.wanikani.com" and install it as a PWA via "Add to HomeScreen" and Open PWA app
-
Toolbar to "TOP" and Scroll to hide toolbar to OFF
- the top bar space is empty
- the bottom of the page is covered
-
Toolbar to "BOTTOM" and Scroll to hide toolbar to OFF
- the bottom of the page is covered
- click "Try wanikani for free" , then when page loaded ,the bottom of the page is covered twice more space (toolbar +navbar)
-
Toolbar to "TOP" and Scroll to hide toolbar to ON
- the top bar space is empty
- the bottom of the page is covered
( After clicking "Try wanikani for free" , then when page loaded , all looks correctly)
-
Toolbar to "BOTTOM" and Scroll to hide toolbar to ON
All looks correctly
Assignee | ||
Comment 2•5 months ago
|
||
Updated•5 months ago
|
Assignee | ||
Comment 3•5 months ago
|
||
For QA to test as much cases as possible:
Cases (combination)
- Customize -> Toolbar TOP/BOTTOM
- Customize -> Scroll To Hide ON/off
- Secret Menu -> Toolbar Redesign incomplete portions OFF/ON
- PWA / CustomTabs
Preparation
- Set "Open links in private tab" to ON in Settings->Private Browsing to observe the strange blank clearly in purple color
- Visit "https://community.wanikani.com" and install it as a PWA via "Add to HomeScreen"
- Prepare a app can open link in CustomTab or follow steps in bug 1896007
For PWA
case:
Step
- Open PWA , scroll down to the end and up to the top
- Observe that toolbar or navbar (if toolbar redesign) is not shown.
- No blank margin in the top or bottom
- Click "Try wanikani for free" and then wait the page loaded, scroll down to the end and up to the top
- Observe that toolbar or navbar is shown.
- Observe toolbar/navbar hide if config of
scroll to hide
ON - Observe that the top of the page is not covered by toolbar
- Observe that the bottom of the page is not covered by toolbar
- No blank margin in the top or bottom
- Go back, scroll down to the end and up to the top
- Observe that toolbar or navbar (if toolbar redesign) is not shown.
- No blank margin in the top or bottom
- Close PWA (for reset)
For CustomTabs
case:
- Open PWA , scroll down to the end and up to the top
- Observe that toolbar or navbar is shown.
- Observe toolbar/navbar hide if config of
scroll to hide
ON - Observe that the top of the page is not covered by toolbar
- Observe that the bottom of the page is not covered by toolbar
- No blank margin in the top or bottom ( or any behaviors in bug 1896007)
How to determine if the page is covered by toolbar:
In each page, there's signin/login in top of the page and copyright/company info in the bottom of the page. they should be shown and not be covered.
Comment 4•5 months ago
|
||
Thank you for looking into this!
Could reproduce all issues - edgecases in many layers - would be nice to support these scenarios naturally instead of trying to address each issue separately which could be a never ending battle.
Comment 5•5 months ago
|
||
@jackyzy823 Looks like we are close to land this patch.
Just two tests that need updating.
Do you have time to look into this / need any help?
Updated•5 months ago
|
Comment 7•4 months ago
|
||
bugherder |
Updated•4 months ago
|
Comment 8•4 months ago
|
||
Verified as fixed on the Fenix Nightly builds from 7/6, and 7/8, with the following devices:
- Oppo Find X3 Lite (Android 11),
- Samsung Galaxy S24 (Android 14), and
- Google Pixel 6 (Android 15).
I have enabled the "Enable Navigation Toolbar" from Secret Settings, and verified that:
- there are no blank margins when scrolling down to the end and up to the top,
- the toolbar or navbar is displayed when expected,
- the top of the page is not covered by the toolbar,
- the bottom of the page is not covered by the toolbar,
- the custom tab of the PWA does not display any blank areas, the navigation bar doesn't obscure the page.
Description
•