zhanghai / zhanghai/MaterialFiles

Text editor changes are lost when launched via widget

Open
#974 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

Steps:

  1. Create todo.txt file
  2. Set default editor to Material files native editor
  3. Select file, create shortcut
  4. Launch todo.txt from the new shortcut widget
  5. Insert some text without saving
  6. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.