gluonhq / attach

GNU General Public License v3.0
48 stars 26 forks source link

KeyboardService.visibleHeightProperty() doesn't get updated after screen unlock #382

Open 41zu opened 10 months ago

41zu commented 10 months ago

OS: Android 13 Device: Samsung Note 20 Ultra 5G Attach version: 4.0.19

When the keyboard is shown, and the device is locked and then unlocked, the keyboard initially remains visible but quickly disappears, and the visibleHeightProperty is not updated.

Steps to reproduce:

  1. Add listener to visibleHeightProperty
  2. Lock screen while keyboard is shown
  3. Wait a period of time, it can differ, but sometimes 5 seconds is enough
  4. Unlock screen
41zu commented 10 months ago

Forgot to add: When showing the keyboard again (though tapping an TextField), the property still doesn't get updated (because it would be the same value). When hidding it again after that (through tapping the 'back button' in Android), only then the property gets updated again.