PhilippC / keepass2android

Password manager app for Android
https://play.google.com/store/apps/details?id=keepass2android.keepass2android
GNU General Public License v3.0
4.71k stars 381 forks source link

[BUG] Keyboard Swap no longer switches back to Google Keyboard as of Android 14 QPR1 #2477

Open zan2828 opened 9 months ago

zan2828 commented 9 months ago

Checks

Describe the bug you encountered:

After swiping away entry notification, the KP2A one line keyboard no longer switches back to the Google Keyboard. It switches to the black KP2A full keyboard.

This started occuring after I updated to Android 14 QPR1, the December update on Google Pixel.

This is the keyboard it switches to:

Screenshot_20231207-010939

Describe what you expected to happen:

Switch back to Google Keyboard after swiping away entry notification.

What version of Keepass2Android are you using?

1.09e-r7

Which version of Android are you on?

14 QPR1

ba32107 commented 9 months ago

I have a similar issue which might be related. After I use the one line keyboard to fill the entries and press Go, it does not switch back to the original keyboard, even though I have the Password entry access / Keyboard switching / Switch keyboard when done setting enabled.

Do I need to have the KeyboardSwap plugin installed for this as well? The settings imply that it's only needed for the first option. For this plugin, the google store says I can't install it because it's not compatible with my Android version (14).

aifdsc commented 9 months ago

I'm also running into this issue. I have the KeyboardSwap plugin installed, with the WRITE_SECURE_SETTING permission granted via ADB as well. If there's anything I can do to help provide information on what's happening, let me know!

vorezal commented 7 months ago

I'm experiencing the same behavior with the keyboard automatically switching but not switching back. I'm on a Google Pixel 8 Pro, Android 14 build UQ1A.240105.004, and KP2A 1.10-pre with the Keyboard swap plugin installed and otherwise working. Auto-switch keyboard, keyboard switch back and switch keyboard when done settings are all enabled. Clipboard timeout and app timeout are both set. I also think it last worked around early December or so. If anything else could impact this that it would be useful to have, just let me know.

PhilippC commented 7 months ago

does it switch back if you press the lock key on the keyboard?

vorezal commented 7 months ago

Not for me at least, no. It closes the entry and locks the database but stays in the keepass2android keyboard's full text entry mode.

zan2828 commented 7 months ago

Does not switch back if I press the lock key.

macearl commented 6 months ago

I'm experiencing the same issue on LineageOS 21.

It does not matter if I press go, lock the database or dismiss the notification the keyboard does not switch back to my main keyboard app.

I also have the plugin installed and have granted the permissions through adb.

If there are any further debug steps or logs I can provide let me know, I would be happy to help.

benyjr commented 5 months ago

I am also having this problem.

I'm using a Pixel 6 on official Google android software.

jaywk commented 5 months ago

@PhilippC What do you need to help squash this bug?

PhilippC commented 4 months ago

time... sorry, I haven't had the chance to even look into my emails for the app in the past few months.

benyjr commented 3 months ago

What is the status of this bug? It's a big pain to have to manually switch back to my default keyboard every time I enter a password.

rfkd commented 1 week ago

Any news on this issue? Swapping is broken on current Android 14 (Pixel 9 Pro) while it works fine on Android 14 from November 2023 (Pixel 5).

jaywk commented 1 week ago

I feel like @PhilippC has given up on developing this app any further. Last commits were back in February.

rfkd commented 1 week ago

At least the bug made me again have a look at autofill which meanwhile works quite good so far. So I'll stick to that instead. 👍

An observation: While playing around with it I recognized that the keyboard switches back correctly on lock if it was manually selected before, i.e. open the password entry, manually switch to the K2A keyboard, insert the credentials somewhere and press lock. When autoswap is active K2A remains the active keyboard while the previous keyboard is active with this approach. Maybe this helps locating the bug.