Project

General

Profile

Actions

Bug #1208

closed

Highlighting inconsistency in buttons on Navigation drawer

Added by Juan Manuel 5 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Next Release
Start date:
07/06/2024
Due date:
% Done:

0%

Estimated time:

Description

When opening browser and expanding Navigation drawer, Back, Forward, Scroll to Bottom and History buttons, all of them are highlighted (clickable), though you can't press any of them (supposing the user clears history).

Also, navigating by loading bookmarked websites causes the same issue on this buttons, except Back and History, obviously.

Curiously, loading a website, for example https://providers.xmpp.net, and searching for the word "missing" (what will automatically scroll down to that word) previously caused the same issue: i.e. Scroll to Top was not highlighted though it was clickable. That's how I found the issue, but after updating WebView from 122.0.6261.90 to 125.0.6422.165 and rebooting the device, that particular issue disappeared.

As far as I could experiment, scrolling to the bottom of the Navigation drawer and then back to the top makes buttons appear as they should. This workaround is successful in all the scenarios I could test:
1. loading from bookmarks
2. loading by typing URLs,
3. opening the app

On scenario 1 and 2 you can scroll down and up through the website and buttons are still displayed incorrectly. You can even click on links witouth any change. Sometimes long-pressing a link on a website makes buttons display correctly.

So it's seems quite confusing to me. I don't know if this is an issue of Privacy Browser because updating WebView makes things display a bit differently. But I also restarted my device in between so I don't know if that could have something to do.

Device: Motorola E2 surnia
Android: 10 (API 29)
WebView: currently 125.0.6422.165 (com.android.webview)

Actions #1

Updated by Juan Manuel 5 months ago

Ups! Just forgot Privacy Browser version: 3.18 (74)

Actions #2

Updated by Soren Stoutner 5 months ago

  • Status changed from New to In Progress
  • Assignee set to Soren Stoutner
  • Priority changed from 3.x to Next Release

Thanks for the bug report.

It turns out this is a bug in Google's Android Material library, beginning with version 1.12.0. I have filed a bug report upstream.

https://github.com/material-components/material-components-android/issues/4219

This version of the library first shipped with Privacy Browser Android 3.18.

Actions #3

Updated by Juan Manuel 5 months ago

Thank you!

Actions #4

Updated by Soren Stoutner 4 months ago

It looks like a fix has just been released in 1.13.0-alpha04. I will look at bundling that into a point release of Privacy Browser Android soon.

Actions #5

Updated by Juan Manuel 4 months ago

Great news!

Actions #7

Updated by Juan Manuel 4 months ago

Tested on version 3.18.1 and it works as expected.
Thanks!

Actions

Also available in: Atom PDF