App crashes when backspacing search term
Joristdh opened this issue · 0 comments
Joristdh commented
The app crashes when I backspace a character in the app or resource search pop-up.
Steps to reproduce :
- Add a new overlay.
- Enter some search term (e.g. "system").
- See that the results are filtered.
- Clear the search term.
a. By quickly backspacing all the characters.
b. By selecting the entire term and clearing it in one go. - The app crashes.
This happens in both the app and resource search pop-up. My current workaround is just closing and reopening the pop-up to clear the search term.
I can provide the full logcat output if necessary, but these lines are printed at the beginning of the error:
null: ------- beginning of crash
AndroidRuntime: FATAL EXCEPTION: main
AndroidRuntime: Process: tk.zwander.fabricateoverlay, PID: 31924 24.
AndroidRuntime: java.lang.IllegalStateException LayoutNode should be attached to an Owner
AndroidRuntime: at androidx.compose.ui.node.LayoutNode.kt requireOwner(LayoutNode.kt:1407)
AndroidRuntime: at androidx.compose.ui.node.ModifierLocalConsumerNode.notifyConsumerOfChanges(ModifierLocalConsumerNode.kt:42)