Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when using scrcpy and typing umlauts (ä, ö, ü) on the PC keyboard #459

Closed
matterharz opened this issue Jan 28, 2024 · 4 comments
Closed
Labels
bug Something isn't working waiting for info more information is requested

Comments

@matterharz
Copy link

Does it happen in OpenBoard, or is it exclusive to this modified version?
It's exclusive to this modified version. Doesn't happen with the F-Droid release and with none of my other installed keyboards: stock, Florisboard, Florisboard Beta, Thumb-Key

Describe the bug
I'm connected to my smartphone from my Windows 10 PC via scrcpy. When I type any umlaut (ä, ö, ü) on the PC keyboard, the app crashes. The typed characters look like this (it crashed 3 times when typing those):
Screenshot_20240128-105125_KISS Launcher_cr

To Reproduce

  1. Connect phone via scrcpy, doesn't matter whether it's over USB or tcpip. Also no additional options like --prefer-text or anything (cf. Umlauts don't work Genymobile/scrcpy#431)
  2. Type umlaut. ("ß" -- to mention that uniquely German letter -- works fine)
  3. Crash (from Scoop):
Process: org.dslul.openboard.inputmethod.latin, PID: 9713
kotlin.UninitializedPropertyAccessException: lateinit property lastEvent has not been initialized
	at org.dslul.openboard.inputmethod.event.DeadKeyCombiner$Companion.createEventChainFromSequence(DeadKeyCombiner.kt:265)
	at org.dslul.openboard.inputmethod.event.DeadKeyCombiner$Companion.access$createEventChainFromSequence(DeadKeyCombiner.kt:255)
	at org.dslul.openboard.inputmethod.event.DeadKeyCombiner.processEvent(DeadKeyCombiner.kt:243)
	at org.dslul.openboard.inputmethod.event.CombinerChain.processEvent(CombinerChain.kt:90)
	at org.dslul.openboard.inputmethod.latin.WordComposer.processEvent(WordComposer.java:160)
	at org.dslul.openboard.inputmethod.latin.inputlogic.InputLogic.onCodeInput(InputLogic.java:448)
	at org.dslul.openboard.inputmethod.latin.LatinIME.onKeyDown(LatinIME.java:1915)
	at android.view.KeyEvent.dispatch(KeyEvent.java:2864)
	at android.inputmethodservice.AbstractInputMethodService$AbstractInputMethodSessionImpl.dispatchKeyEvent(AbstractInputMethodService.java:164)
	at android.inputmethodservice.IInputMethodSessionWrapper$ImeInputEventReceiver.onInputEvent(IInputMethodSessionWrapper.java:244)
	at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:259)
	at android.os.MessageQueue.nativePollOnce(Native Method)
	at android.os.MessageQueue.next(MessageQueue.java:335)
	at android.os.Looper.loopOnce(Looper.java:161)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7870)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

App version
v17.1, v18

**Device

  • Model: OnePlus 5t
  • OS: Lineage 19.1
  • OS (PC): Windows 10
@matterharz matterharz added the bug Something isn't working label Jan 28, 2024
@Helium314
Copy link
Owner

The crash should be fixed, not sure though whether the letters will appear correctly.

@matterharz
Copy link
Author

Well, that was quick. Will report back with the next release. Thanks!

@Helium314 Helium314 added the waiting for info more information is requested label Jan 28, 2024
@Helium314
Copy link
Owner

Did you try with the latest release 1.0-alpha1?

@matterharz
Copy link
Author

Oh, thanks for reminding me. It's working fine, the characters also appear correctly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting for info more information is requested
Projects
None yet
Development

No branches or pull requests

2 participants