You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently came across an issue that crashes the engine and requires me to delete the Keyboard.conf.
Sorry I don't have a real conf file example since I didn't create a backup, but I can reproduce the issue by manually create a invalid config (pass a non existent layout name).
This is bad, because it can happen if openbangla decide to deprecate&remove or rename a layout, or user removed a customized layout.
riti provides a C style api so I think it better handle any issue with return value, or catch any possible exception within rust code boundary.
The text was updated successfully, but these errors were encountered:
Example backtrace I got when using this invalid config
$ cat ~/.config/OpenBangla/Keyboard.conf
[layout]
name=Avro Phonetic
path=avro_phonetic1
thread '<unnamed>' panicked at src/fixed/method.rs:108:66:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I recently came across an issue that crashes the engine and requires me to delete the Keyboard.conf.
Sorry I don't have a real conf file example since I didn't create a backup, but I can reproduce the issue by manually create a invalid config (pass a non existent layout name).
This is bad, because it can happen if openbangla decide to deprecate&remove or rename a layout, or user removed a customized layout.
riti provides a C style api so I think it better handle any issue with return value, or catch any possible exception within rust code boundary.
The text was updated successfully, but these errors were encountered: