KISS icon indicating copy to clipboard operation
KISS copied to clipboard

Keyboard issue

Open SagiAmangeldi opened this issue 4 years ago • 5 comments

Describe the bug The keyboard opens and closes after pressing the home button while you are in an app.

To Reproduce Steps to reproduce the behavior:

  1. Go and open some app.
  2. Click on home button
  3. then the keyboard will open and close quickly
  4. After that it will not open the keyboard, then you have to press home button again.

Expected behavior When I am using some app, and I press the home button there have to open homepage of KISS launcher with keyboard without opening and closing of the keyboard. It has to open keyboard. I selected from setting to open keyboard.

Screenshots There is a link for the video: https://drive.google.com/file/d/1iFlpi7PFQORPNQyveo6aSwoZ-esO4oSm/view?usp=sharing

Additional information

  • App version: 3.15.3
  • App installed via: debug APK

Additional context no

SagiAmangeldi avatar Feb 02 '21 11:02 SagiAmangeldi

Wow, that's pretty bad. Not happening on my test devices.

Out of curiosity, in Settings => User Experience, do you have "display keyboard on start" checked?

If so: there is something wrong that's hiding the keyboard If not: wondering if maybe your device automatically shows keyboard when giving focus to a field?

Honestly not really sure what's going on here, and seems to be device specific (or maybe Android-version specific?) Do you think you could investigate? Happy to merge if you get a fix :)

Neamar avatar Feb 21 '21 09:02 Neamar

I do you have "display keyboard on start". My Android version is 9.0. Huawei's EMUI version 9.0. I guess it the problem of EMUI. I noticed other some small problems with Huawei phones.

SagiAmangeldi avatar Feb 21 '21 10:02 SagiAmangeldi

EDIT : Sorry I misread the bug report. :(

When "display keyboard on start" is checked, keyboard pops-up and stay as expected. I'm on Android11/OneUI3.0 so it should be a EMUI related issues.

I'm not using navigation bar but swiping gestures from bottom if it could helps.

Wendigogo avatar Feb 25 '21 11:02 Wendigogo

Same problem on dotOS (aosp android 11) with AnySoftKeyboard. When the option "display keyboard on start" is selected, the first time after pressing home, the keyboard appears and soon vanishes. If the option is not selected, I need to press on the bar twice (if I wait a while I can use the keyboard on the first press). This doesn't happen if I go to the home screen via recent screen, it looks like the app needs to load (or crashes) and soon restarts, but some glitch is perceivable and the keyboard doesn't show up Here is a short logcat that might help (wih the option selected).

<<< log_count = 63 >>>
[07-17 11:58:11.501 2338:7946 D/OpenGLRenderer]
endAllActiveAnimators on 0xb40000725ddb16d0 (MenuPopupWindow$MenuDropDownListView) with handle 0xb40000717de39ba0

[07-17 11:58:15.790 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@1336a2f mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=34]

[07-17 11:58:15.791 2782:2782 I/chatty]
uid=10167(com.android.launcher3) identical 2 lines

[07-17 11:58:15.791 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@1336a2f mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=34]

[07-17 11:58:15.792 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=98]

[07-17 11:58:15.792 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=98]

[07-17 11:58:15.799 1655:1735 D/EventSequenceValidator]
inc AccIntentStartedEvents to 2

[07-17 11:58:15.805 1191:1191 I/perfetto]
ing_service_impl.cc:758 Configured tracing session 35, #sources:1, duration:5000 ms, #buffers:1, total buffer size:4096 KB, total sessions:1, uid:1071 session name: ""

[07-17 11:58:15.805 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=98]

[07-17 11:58:15.805 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=98]

[07-17 11:58:15.805 1189:1189 I/perfetto]
probes_producer.cc:230  Ftrace setup (target_buf=35)

[07-17 11:58:15.812 1189:1189 I/perfetto]
ftrace_procfs.cc:176    enabled ftrace

[07-17 11:58:15.812 2392:2392 V/ShadeControllerImpl]
NotificationShadeWindow: com.android.systemui.statusbar.phone.NotificationShadeWindowView{ed304db I.E...... ......ID 0,0-1080,2400} canPanelBeCollapsed(): false

[07-17 11:58:15.815 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@1336a2f mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=34]

[07-17 11:58:15.815 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@1336a2f mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=34]

[07-17 11:58:15.833 1655:1735 D/EventSequenceValidator]
dec AccIntentStartedEvents to 1

[07-17 11:58:15.841 1655:1735 D/EventSequenceValidator]
inc AccIntentStartedEvents to 2

[07-17 11:58:15.841 1655:7910 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=fr.neamar.kiss/.MainActivity (has extras)} from uid 10167

[07-17 11:58:15.843 1191:1191 I/perfetto]
ing_service_impl.cc:758 Configured tracing session 36, #sources:1, duration:5000 ms, #buffers:1, total buffer size:4096 KB, total sessions:2, uid:1071 session name: ""

[07-17 11:58:15.843 1189:1189 I/perfetto]
probes_producer.cc:230  Ftrace setup (target_buf=36)

[07-17 11:58:15.848 2338:2338 D/LogcatReader]
[Logcat] onActivityInBackground

[07-17 11:58:15.855 1655:3728 W/InputMethodManagerService]
Ignoring showSoftInput of uid 10229: com.android.internal.view.IInputMethodClient$Stub$Proxy@7a9c0f6

[07-17 11:58:15.862 2782:2799 W/System]
A resource failed to call release. 

[07-17 11:58:15.863 2782:2799 I/chatty]
uid=10167(com.android.launcher3) FinalizerDaemon identical 1 line

[07-17 11:58:15.863 2782:2799 W/System]
A resource failed to call release. 

[07-17 11:58:15.893 1655:1735 D/EventSequenceValidator]
dec AccIntentStartedEvents to 1

[07-17 11:58:15.957 1655:2195 W/InputMethodManagerService]
Ignoring showSoftInput of uid 10229: com.android.internal.view.IInputMethodClient$Stub$Proxy@65ad3da

[07-17 11:58:16.255 2782:2782 W/Choreographer]
Frame time is 0.128948 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.

[07-17 11:58:16.371 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=354]

[07-17 11:58:16.372 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=354]

[07-17 11:58:17.007 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@e5be6a0 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=34]

[07-17 11:58:17.008 2782:2782 I/chatty]
uid=10167(com.android.launcher3) identical 2 lines

[07-17 11:58:17.008 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@e5be6a0 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=34]

[07-17 11:58:17.011 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=98]

[07-17 11:58:17.016 2782:2782 I/chatty]
uid=10167(com.android.launcher3) identical 2 lines

[07-17 11:58:17.016 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=98]

[07-17 11:58:17.021 1655:1735 D/EventSequenceValidator]
inc AccIntentStartedEvents to 2

[07-17 11:58:17.026 1191:1191 I/perfetto]
ing_service_impl.cc:758 Configured tracing session 37, #sources:1, duration:5000 ms, #buffers:1, total buffer size:4096 KB, total sessions:3, uid:1071 session name: ""

[07-17 11:58:17.026 2392:2392 V/ShadeControllerImpl]
NotificationShadeWindow: com.android.systemui.statusbar.phone.NotificationShadeWindowView{ed304db I.E...... ......ID 0,0-1080,2400} canPanelBeCollapsed(): false

[07-17 11:58:17.026 1189:1189 I/perfetto]
probes_producer.cc:230  Ftrace setup (target_buf=37)

[07-17 11:58:17.035 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@e5be6a0 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=34]

[07-17 11:58:17.035 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@e5be6a0 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=34]

[07-17 11:58:17.051 1655:1735 D/EventSequenceValidator]
dec AccIntentStartedEvents to 1

[07-17 11:58:17.097 830:997 I/sensors-hal]
batch:180, android.sensor.accelerometer/43, period=200000000, max_latency=0

[07-17 11:58:17.097 830:997 I/sensors-hal]
batch:189, android.sensor.accelerometer/43, period=200000000, max_latency=0 request completed

[07-17 11:58:17.098 830:997 I/sensors-hal]
activate:147, android.sensor.accelerometer/43 en=1

[07-17 11:58:17.102 830:997 I/sensors-hal]
activate:158, android.sensor.accelerometer/43 en=1 completed

[07-17 11:58:17.355 2782:2782 W/Choreographer]
Frame time is 0.017359 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.

[07-17 11:58:17.612 1655:1735 D/EventSequenceValidator]
inc AccIntentStartedEvents to 2

[07-17 11:58:17.618 1191:1191 I/perfetto]
ing_service_impl.cc:758 Configured tracing session 38, #sources:1, duration:5000 ms, #buffers:1, total buffer size:4096 KB, total sessions:4, uid:1071 session name: ""

[07-17 11:58:17.620 1189:1189 I/perfetto]
probes_producer.cc:230  Ftrace setup (target_buf=38)

[07-17 11:58:17.653 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=354]

[07-17 11:58:17.653 2782:2782 D/RecentsOrientedState]
current RecentsOrientedState: [this=RecentsOrientedState@6064e79 mOrientationHandler=PortraitPagedViewHandler@72e77be mDisplayRotation=0 mTouchRotation=0 mRecentsActivityRotation=0 isRecentsActivityRotationAllowed=true mSystemRotation=false mFlags=354]

[07-17 11:58:17.684 2338:2338 D/LogcatReader]
[Logcat] onActivityInForeground

[07-17 11:58:17.684 2338:2338 D/LogcatReader]
[Logcat] Posting pending logs

[07-17 11:58:17.688 2392:2659 D/EglHelper]
createEglContext start

[07-17 11:58:17.690 2392:2659 D/EglHelper]
createEglContext done

[07-17 11:58:17.690 2392:2659 D/EglHelper]
createEglSurface start

[07-17 11:58:17.697 2392:2659 D/EglHelper]
createEglSurface done

[07-17 11:58:17.716 2338:2338 D/LogcatReader]
[LogcatLiveFragment] onServiceConnected

[07-17 11:58:17.722 1655:1735 D/EventSequenceValidator]
dec AccIntentStartedEvents to 1

[07-17 11:58:18.499 830:997 I/sensors-hal]
activate:147, android.sensor.accelerometer/43 en=0

[07-17 11:58:18.501 830:997 I/sensors-hal]
activate:158, android.sensor.accelerometer/43 en=0 completed

glemco avatar Jul 17 '21 10:07 glemco

@glemco impressive investigation.

@Neamar no chance to fix this old issue on basis of this log?

Same issue on my end. Checked the above mentioned settings. Same bug.

GrapheneOS latest Kiss 3.21.0

I do use the listed mode of Kiss.

Aircan avatar Nov 26 '23 19:11 Aircan

This issue has been closed automatically. Please see https://github.com/Neamar/KISS/issues/1688 for details. Thank you for your contributions.

github-actions[bot] avatar Apr 27 '25 00:04 github-actions[bot]