zhanghai / zhanghai/MaterialFiles

Setting "always" while opening .cfg files in text editor doesn't work.

Open
#1,198 3 comments 2 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

When trying to open .cfg files in getting prompt which app to use. When choosing material files text editor as "always" option it doesn't save and I'm getting prompt every time I'm trying to open the file. It only happens with .cfg extension files.

https://github.com/zhanghai/MaterialFiles/assets/81143526/84df612c-6e41-4560-b53f-aad583c7ca70

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

Start by reproducing the repeated app-selection prompt for .cfg files on Android and trace the file-association handling in the MaterialFiles codebase. Compare .cfg with extensions where choosing the text editor as “always” persists; done means the selection is saved and reopening a .cfg file no longer prompts.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.