Bug #791
closedBottom app bar disappeares
0%
Description
From time to time bottom app bar disappeares and only way to return it without restarting the app i found is to rotate the screen to horizontal. When rotated back to vertical, bottom app bar stays. Experienced on g950f A9 PB 3.8.1, g980f A10 oneui 3, and now same on g980f A12 oneui 4 beta 1. On random websites, with different webview versions. No specific pattern was observed.
Files
Updated by Air Yes almost 3 years ago
Edit: update PB to 3.9 - problem persists.
Updated by Soren Stoutner almost 3 years ago
- Assignee set to Soren Stoutner
What did you do immediately before the app bar disappeared. Do you have scrolling of the app bar enabled? Are you using full screen browsing mode?
Updated by Air Yes almost 3 years ago
Actions before the event were not noted. I will keep that in mind and update with results.
Yes, scrolling of the app bar is on.
Full screen mode is on in settings, but i rarely use it. Also sometimes clicking too fast switches the page to full screen. But i did not notice connection between full screen and app bar disappearance.
I will follow up with more exact answers.
Updated by Soren Stoutner almost 3 years ago
- Status changed from New to In Progress
- Priority changed from 3.x to Next Release
OK. Because of the way scrolling the appbar at the bottom of the page works (differently than at the top) I initially had several issues with scenarios where it could be hidden and not restored. I resolved all the scenarios I could find during my testing before the first release of the feature. But it is likely you have come across a scenario that I didn't.
If you can provide a list of steps to replicate (sometimes it is URL specific, or relates to pages of very specific lengths, or has to do with webpages whose size is adjusted dynamically via JavaScript), then I can figure out how to prevent it from happening.
Updated by Air Yes almost 3 years ago
Ok, I recently was able to catch one scenario with app bar becoming unavailable. Right on this website,https://redmine.stoutner.com/my/page
It looks like reason is that the page is too short, like there is not enough space to scroll so the app bar pops up. But with several attempts it sometimes pops up, but during same session it sometimes becomes unavailable again. I did a screen recording, but hit 2 issues uploading: no tool to delete metadata and to shrink it, and this forum allows 20mb max file size for upload.
Updated by Soren Stoutner almost 3 years ago
I changed the way the bottom app bar hiding logic works. Below is a link to a testing debug version of Privacy Browser (you can install it alongside your current Privacy Browser without issue). The link will expire after a few days. Please test it and let me know if it resolves the problem for you.
https://owncloud.stoutner.com/index.php/s/jvKckSAJAuVcNyh
I also added some animation to the hiding/unhiding of the app bar.
Updated by Air Yes almost 3 years ago
- File Screen_Recording_20211218-010539_Privacy Browser.mp4 Screen_Recording_20211218-010539_Privacy Browser.mp4 added
Hi!
I will install right now, but mean while check this pls.
Ok, I played with it a little more, now I have detailed report:
Recently I have changed the default font setting in PB to default 100 (was 120). Now with font 100 when I open the above mentioned page redmine.stoutner.com/mypage it does not scroll at all and the bottom app is perfectly present as it should. So seems like the page's size is exact fit to my screen or so. Then I change the font (in page settings) to 125, and page becomes larger and now there appears room to scroll. Once I scroll the app bar hides and never comes back, until I rotate the phone, screen goes to horizontal and there I can pull the app bar again. See screenrecording attached.
Honestly I dont have much problem with this app bar inconsistency, I would say not an issue at all. I just hope it will be useful for future development.
Updated by Soren Stoutner almost 3 years ago
Does the test version fix the problem for you?
Updated by Soren Stoutner almost 3 years ago
- Status changed from In Progress to Closed
As there is no feedback, I am going to close this bug as fixed.
Fixed in commit https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=commitdiff;h=484f0b0f0143c53a4722cee3a31e714df0c8c49a.