Kunzisoft / KeePassDX

Lightweight vault and password manager for Android, KeePassDX allows editing encrypted data in a single file in KeePass format and fill in the forms in a secure way.
https://www.keepassdx.com/
GNU General Public License v3.0
4.34k stars 262 forks source link

File chooser doesn't show files on ChromeOS #1328

Open unresolvedsymbol opened 2 years ago

unresolvedsymbol commented 2 years ago

I am using ChromeOS 93.0.4577.85 on a Mediatek MT8173 based chromebook that has an Android Pie (9) based compatibility-layer.

When choosing a database to open you would expect files to show, instead only folders show even when there are absolutely *.kdbx files in the current folder (though this doesn't matter as normally all files would show.) I took the liberty of incrementally downgrading and finding the version it starts occurring in: 3.0.3+, and the bug is still present in latest release as of opening this issue: 3.4.4

Expected behavior v3.0.2: image

Behavior in v3.0.3+: image (This happens in every folder, Termux is just used for clarity sake.)

J-Jamet commented 2 years ago

Maybe using registerForActivityResult doesn't work properly on ChromeBook or maybe a new parameter.

But I don't own a Chromebook, so I can't test and I can't reproduce the problem. Does it work when you long click on the "open" button?

if you find the exact reason, do not hesitate to indicate it.

https://github.com/Kunzisoft/KeePassDX/compare/3.0.2...3.0.3