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.55k stars 269 forks source link

Inline autofilling not working with fcitx5-android. #1708

Closed su226 closed 4 months ago

su226 commented 10 months ago

Describe the bug After I clicked "Select entry..." in fcitx5-android, still only the "Select entry" button is shown, no password entries available. It only happens with fcitx5-android and KeePassDX, not fcitx5-android with other autofill services (Bitwarden and KeePass2Android tested myself), nor KeePassDX with other input methods (GBoard tested myself).

According to the developer of fcitx5-android, fcitx5-android is compliant to the Android Developer documentation, it might be the problem of KeePassDX: https://github.com/fcitx5-android/fcitx5-android/issues/334#issuecomment-1712876567 (Chinese)

Actual behavior with fcitx5-android

To Reproduce

  1. Set current keyboard to fcitx5-android.
  2. Set autofill service to KeePassDX and enable inline suggestion in both KeePassDX and fcitx5-android.
  3. Click a password input.
  4. Click the "Select entry..." button and select a entry.

Expected behavior Suggestions shown. (Example with GBoard)

Expected behavior with GBoard

KeePass Database

KeePassDX:

Android:

Additional context I have enabled the "Display pop-up windows while running in the background" permission and the "Selection mode (Autofill)" UI is shown as expected, only the selected entry not shown in fcitx5-android.

Autofill popup is shown as expected when inline suggestion is turned off.

Might be the same problem with #1702.

fcitx5-android version: 0.0.8-0-g4c839ad [F-Droid] [GitHub Releases]

J-Jamet commented 4 months ago

Linked with https://github.com/Kunzisoft/KeePassDX/issues/1166 It works well with GBoard, which means that KeePassDX is sending the right information. It seems that only one item is displayed in your keyboard, the same problem is visible on Florisboard. Apparently the documentation on the subject isn't very good, but there's nothing more I can do.