zhanghai / zhanghai/MaterialFiles
Text editor changes are lost when launched via widget
Open
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 9k
- Forks
- 736
- PR merge metrics
- No merged PRs in 30d
Description
Steps:
- Create
todo.txtfile - Set default editor to Material files native editor
- Select file, create shortcut
- Launch
todo.txtfrom the new shortcut widget - Insert some text without saving
- Switch to another program
Now all changes in todo.txt without saving are lost.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue using the listed steps: create todo.txt, launch it through the shortcut widget, edit without saving, and switch programs. Start by tracing the shortcut widget entry point into the Material Files native editor and its lifecycle handling. Done means unsaved text remains when returning to todo.txt after switching away.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100