crdroidandroid / issue_tracker

all crDroid related issues should go here
11 stars 1 forks source link

Touching physical fingerprint sensor scrolls to top of webpage #535

Closed varaki closed 1 month ago

varaki commented 1 month ago

Issue type

User interface

Device

Poco X3 Pro (vayu)

crDroid version

crDroid 10

Exact version / Build date

10.8/2024-09-22

Bug description

When opening any website in Cromite browser then scrolling down a bit and if you touch the physical fingerprint sensor, the webpage scrolls up to the top of the website. One additional thing is that if I log in with Bitwarden after unlocking the vault with fingerprint, then sometimes the sites's scrolling stuck as if I was constantly pressing the fingerprint sensor. This particular issue goes away if I touch the fingerprint sensor again.

Steps to reproduce

  1. Open any website in Cromite
  2. Scroll down
  3. Touch fingerprint sensor

Relevant log (logcat/build log)

-

Screenshots or videos

https://github.com/user-attachments/assets/dfa0974d-2cae-4293-95d7-4326b130ed60

Solution

No response

Additional context

I think it might have to do something with the Android version combined with Cromite.

Acknowledgements

varaki commented 1 month ago

https://github.com/uazo/cromite/issues/1542 - this is the corresponding Cromite app issue ticket

gwolf2u commented 1 month ago

Logcat needed

varaki commented 1 month ago

14_10-09-09-47_987.log

varaki commented 1 month ago

Touching the fingerprint scanner in Cromite registers as a Home keypress:

(unknown) keydown KeyboardEvent {isTrusted: true, key: 'Home', code: 'Home', location: 0, ctrlKey: false, …}
(unknown) keyup KeyboardEvent {isTrusted: true, key: 'Home', code: 'Home', location: 0, ctrlKey: false, …}
varaki commented 1 month ago

Disabling a certain Cromite specific flag solves the issue.