Comments (22)
Also seems to happen to me
Redmi Note 11/MIUI14(android 13)
My phone produced the following report
report.txt
from heliboard.
May be an MIUI specific problem.
openboard-team/openboard#774
openboard-team/openboard#760
from heliboard.
Can you provide a stack trace? I have no Xiaomi phone, and I have no knowledge about this part of the app. A stacktrace would be very useful for understanding what is going on.
Sorry, looks like I'm blind...
Caused by: java.lang.ClassCastException: com.android.settingslib.inputmethod.InputMethodSubtypePreference cannot be cast to com.android.settingslib.PrimarySwitchPreference
and not a single line of OpenBoard code in the stacktrace points towards some issue with Xiaomi/MIUI once again.
from heliboard.
Xiaomi 11 lite 5g ne, miui 14.0.6 vf android 12, same happens to me, surely miui's fault.
from heliboard.
I got a new log of what happens when i press the languages button for OpenBoard 1.4.5 v3
Note that this is the debug version.
from heliboard.
In v3 there were no changes made in the relevant part, and the new log unfortunately neither contains a crash nor other information I can use.
I'm afraid I can't really help here without a way to reproduce the crash... Currently I don't even know which method call triggers the crash.
The only idea I currently have is that it might be related to the intent
used in InputMethodSettingsImpl
.
Btw does selecting languages work on AOSP keyboard, or other forks like Simple Keyboard or Indic Keyboard?
from heliboard.
In v3 there were no changes made in the relevant part, and the new log unfortunately neither contains a crash nor other information I can use.
I'm afraid I can't really help here without a way to reproduce the crash... Currently I don't even know which method call triggers the crash. The only idea I currently have is that it might be related to the
intent
used inInputMethodSettingsImpl
.Btw does selecting languages work on AOSP keyboard, or other forks like Simple Keyboard or Indic Keyboard?
For me crashes only with openboard.
from heliboard.
I don't understand how it works in Indic Keyboard, but it should be possible to do it similar to Simple Keyboard
from heliboard.
Doing it like in Simple Keyboard would allow greatly improving the language selection screen, but at the same time would require language selection to happen only inside the keyboard. So long pressing on space would not allow you to choose OpenBoard with a different language any more.
But actually this is the case for many other keyboards too...
Anyway, here is a slightly modified debug version of OpenBoard, using a different method to go to the language settings. Can you test whether this works: openboard_1.4.5-debug.zip
from heliboard.
Doing it like in Simple Keyboard would allow greatly improving the language selection screen, but at the same time would require language selection to happen only inside the keyboard. So long pressing on space would not allow you to choose OpenBoard with a different language any more. But actually this is the case for many other keyboards too...
Anyway, here is a slightly modified debug version of OpenBoard, using a different method to go to the language settings. Can you test whether this works: openboard_1.4.5-debug.zip
Doesn't work for me unfortunately.
from heliboard.
This is really weird...
I changed the related code to exactly what Indic Keyboard and AOSP use, but it looks like it's almost the same...: openboard_1.4.5-debug.zip
from heliboard.
This is really weird... I changed the related code to exactly what Indic Keyboard and AOSP use, but it looks like it's almost the same...: openboard_1.4.5-debug.zip
Now when i install openboard debug and then i open it doesn't show the arrow to start the configuration.
from heliboard.
I don't know which arrow you mean? What happens if you open "OpenBoard debug" from the launcher after enabling it, and then go to language settings?
from heliboard.
I don't know which arrow you mean? What happens if you open "OpenBoard debug" from the launcher after enabling it, and then go to language settings?
Ok enabling it through settings makes me skip initial configuration, but tapping on language always makes settings crash. I see the dictonaries settings in the debug version as difference.
from heliboard.
With the debug version there is the advantage of the multilingual typing, which is even better of changing languages for me, but the keys layout is better in the stable version, since are less near one another.
from heliboard.
Which stable version are you referring to? Are you comparing the debug version to some release of this fork (which always had multilingual typing), or some version of the original OpenBoard?
from heliboard.
Which stable version are you referring to? Are you comparing the debug version to some release of this fork (which always had multilingual typing), or some version of the original OpenBoard?
Openboard 1.4.5 from f-droid. Should be from openboard-team. I said stable to differentiate from the debug one.
Edit: But the stable release of this fork has the same better keyboard like the f-droid version.
from heliboard.
With the debug version there is the advantage of the multilingual typing, which is even better of changing languages for me, but the keys layout is better in the stable version, since are less near one another.
Are you referring to the changes in #8 (comment)?
from heliboard.
With the debug version there is the advantage of the multilingual typing, which is even better of changing languages for me, but the keys layout is better in the stable version, since are less near one another.
Are you referring to the changes in #8 (comment)?
Yes, the keyboard with little spaces between keys is only in the debug version posted here. But the release version of this fork is the better since it has the same layout than the openboard-team version with the addiction of dual dictionaries.
from heliboard.
If you have issues with these changes, can you comment in #8 why you don't like it, or open a separate issue for this?
from heliboard.
This is really weird... I changed the related code to exactly what Indic Keyboard and AOSP use, but it looks like it's almost the same...: openboard_1.4.5-debug.zip
This error:
`
java.lang.RuntimeException: Failed to call observer method
at androidx.lifecycle.ClassesInfoCache$MethodReference.invokeCallback(ClassesInfoCache.java:226)
at androidx.lifecycle.ClassesInfoCache$CallbackInfo.invokeMethodsForEvent(ClassesInfoCache.java:194)
at androidx.lifecycle.ClassesInfoCache$CallbackInfo.invokeCallbacks(ClassesInfoCache.java:186)
at androidx.lifecycle.ReflectiveGenericLifecycleObserver.onStateChanged(ReflectiveGenericLifecycleObserver.java:37)
at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:354)
at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.java:265)
at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.java:307)
at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.java:148)
at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.java:134)
at com.android.settingslib.core.lifecycle.ObservablePreferenceFragment.onStart(ObservablePreferenceFragment.java:98)
at com.android.settings.core.InstrumentedPreferenceFragment.onStart(InstrumentedPreferenceFragment.java:73)
at com.android.settings.SettingsPreferenceFragment.onStart(SettingsPreferenceFragment.java:1112)
at com.android.settings.dashboard.DashboardFragment.onStart(DashboardFragment.java:219)
at androidx.fragment.app.Fragment.performStart(Fragment.java:3019)
at androidx.fragment.app.FragmentStateManager.start(FragmentStateManager.java:568)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:277)
at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:113)
at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1331)
at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2772)
at androidx.fragment.app.FragmentManager.dispatchStart(FragmentManager.java:2722)
at androidx.fragment.app.FragmentController.dispatchStart(FragmentController.java:273)
at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:486)
at com.android.settingslib.core.lifecycle.ObservableActivity.onStart(ObservableActivity.java:74)
at com.android.settings.SettingsActivity.onStart(SettingsActivity.java:589)
at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1563)
at android.app.Activity.performStart(Activity.java:8570)
at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3922)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2437)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8294)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
Caused by: java.lang.ClassCastException: com.android.settingslib.inputmethod.InputMethodSubtypePreference cannot be cast to com.android.settingslib.PrimarySwitchPreference
at com.android.settingslib.inputmethod.InputMethodAndSubtypeUtilCompat.saveInputMethodSubtypeListForUserInternal(InputMethodAndSubtypeUtilCompat.java:249)
at com.android.settingslib.inputmethod.InputMethodAndSubtypeUtilCompat.saveInputMethodSubtypeList(InputMethodAndSubtypeUtilCompat.java:174)
at com.android.settingslib.inputmethod.InputMethodAndSubtypeEnablerManagerCompat.setAutoSelectionSubtypesEnabled(InputMethodAndSubtypeEnablerManagerCompat.java:227)
at com.android.settingslib.inputmethod.InputMethodAndSubtypeEnablerManagerCompat.updateAutoSelectionPreferences(InputMethodAndSubtypeEnablerManagerCompat.java:276)
at com.android.settingslib.inputmethod.InputMethodAndSubtypeEnablerManagerCompat.refresh(InputMethodAndSubtypeEnablerManagerCompat.java:88)
at com.android.settings.inputmethod.InputMethodAndSubtypePreferenceController.onStart(InputMethodAndSubtypePreferenceController.java:60)
at com.android.settingslib.core.lifecycle.Lifecycle.onStart(Lifecycle.java:124)
at com.android.settingslib.core.lifecycle.Lifecycle.-$$Nest$monStart(Unknown Source:0)
at com.android.settingslib.core.lifecycle.Lifecycle$LifecycleProxy.onLifecycleEvent(Lifecycle.java:222)
at java.lang.reflect.Method.invoke(Native Method)
at androidx.lifecycle.ClassesInfoCache$MethodReference.invokeCallback(ClassesInfoCache.java:222)
... 38 more
`
from heliboard.
I still don't understand what's actually going wrong.
Caused by: java.lang.ClassCastException: com.android.settingslib.inputmethod.InputMethodSubtypePreference cannot be cast to com.android.settingslib.PrimarySwitchPreference
actually that's part of some internals in the system. I really wonder how some other app (specifically Indic Keyboard) can do the excact same system call without crashing...
from heliboard.
Related Issues (20)
- How to remove/deactivate? How can i deactivate/remove this bar? HOT 2
- "Unspace" option when typing a gesture, to gesture complex words HOT 1
- Key-swipes can be triggered when the popup keys panel had previously been shown HOT 3
- Pin "Show all colours" entries to the "Show more colours" menu
- [FR] diacritics only from selected languages
- Keyboard size for tablets in landscape mode
- Long-press for 'Shift' should respect the longpress timeout setting
- Add symbols to number row
- Be able to switch off dictionary-based self-activating autocorrect
- Little issue on Turkish Q Layout
- Ongoing issue cleanup
- Add pop-up for clearing clipboard
- Random crash HOT 4
- New emojis HOT 1
- Crop the image when adding a background
- [Feature Request] Multiple Toolbar - Separate Toolbar from Words Suggestion Option. HOT 2
- Toast notification
- Some minor UI Suggestions
- More visual options for gesture typing
- missing icon for uppercase
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heliboard.