Text Prompt is limited to 5000 chars
Categories
(Firefox for Android :: General, defect)
Tracking
()
People
(Reporter: jackyzy823, Unassigned)
Details
From: https://old.reddit.com/r/firefox/comments/1920qq2/potential_bug_prompt_dialog_box_character_limit/
I've encountered a potential bug with the Android prompt dialog box. I'm trying to paste in a ~16,000 character string (it's a game save), but the text field is truncating it to the first 5,000 characters. I've encountered it on more than one website, and in both Firefox and Firefox Nightly.
Steps to reproduce
- Go to https://ducdat0507.github.io/communitree/
- Select Settings > Saving > Export to clipboard
- Select Import and paste in the copied string
Expected behavior
Could paste full string
Actual behavior
Could only paste first 5000 chars.
Any additional information?
The text prompt dialog code: https://searchfox.org/mozilla-mobile/rev/0db65a3e08fc3a0423d312ba1e624e90572cb565/firefox-android/android-components/components/feature/prompts/src/main/java/mozilla/components/feature/prompts/dialog/TextPromptDialogFragment.kt#71
It is the limitation of Android's TextView (base class of EditText)
| Reporter | ||
Updated•2 years ago
|
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:tthibaud, could you have a look please?
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Description
•