[BUG] Crashed when placing variables into the textbox
Steps To Reproduce
- Add or edit Request body/parameter
- In value textbox, place a variable place holder, any kind.
Expected behavior
A variable place holder should be there and continue with editing.
Actual behavior
The app crashed and had to restart the app and recover the unsaved shortcut. But, if the textbox is multi line the place holder was there after recovery. The same behavior wasn't reproduce if the textbox is single line.
Recordings
https://github.com/user-attachments/assets/05d380ab-d695-4b74-a719-0fd01725d1b9
https://github.com/user-attachments/assets/6bc2a8cd-0e81-478c-bf52-5150a7cc464a
Context
- Android OS Version: 11
- App Version: 3.15.0
- Device: SM-A315G
- Device ID: 6B95D2C4DDD448E8BD52
Thanks for the detailed bug report. I can't reproduce the issue myself, but I see it in the crashlogs. I suspect it's device-specific or depends on a component outside of the app. I will try a fix for the next release.
Version 3.16.0 is now released, which might fix this issue. Please let me know if it doesn't.
The bug persists in version 3.16.0. Even after being granted the 'appear on top' permission, I'm still uncertain if it is the issue.
Ok, I'll look into it some more when I have the time. I don't think it is related to the "Appear on top" permission. More likely it is a problem with the software keyboard or with an accessibility setting. You could try a different keyboard, or play around with autocomplete settings.
@4riw Does this crash only happen for the request body and parameter fields, or can you also reproduce it with other fields, such as the URL field or the authentication username or password fields?
The same crash happens in other fields with single line textbox, but at Scripting, it operates as expected. I can add variables there without causing the crash.
@4riw I tried another thing in version 3.17.0. Can you install it and check if you still get the crash?
Yess.. it's working like a charm now. Currently I'm at 3.18 and the bug has gone. Thank you very much
Glad to hear 👍🏻