File browser plugin: New files filtered out by default
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing the issue in xed's file browser with the default Filters settings, then trace the New File command and the filtering behavior that classifies empty files. Done means a newly created file is visible in the file browser without changing the default filter settings.
Written by the indexing model from the issue text.
Description
Description
The file browser plugin doesn't list empty files by default, as the "Show Binary" option in "Filters" is off by default. Because of this, when creating files using the "New File" command in the file browser plugin, I get the following error:
The new file is currently filtered out. You need to adjust your filter settings to make the file visible
After enabling the "Show Binary" option, empty files are listed. I don't think such default behavior is particularly beginner-friendly.
Steps to reproduce
- Start xed;
- Open the side pane file browser;
- In the file browser's context menu, open "Filters" and ensure "Show Binary" is as unchecked as it is by default;
- In some directory, use the file browser's "New File" command to create a new file.
Actual result
- An alert appears: "The new file is currently filtered out. You need to adjust your filter settings to make the file visible";
- The new file is not visible in the file browser.
Expected result
- The new file created through the file browser should be visible with default settings.
Possible solutions
- Don't make new files empty, put a newline in them;
- Don't assume empty files to fall into the "Binary" category;
- Enable "Show Binary" by default.
Not sure which is preferable.
Environment
- xed 3.8.4
- Cinnamon 6.4.13
- Linux Mint Debian Edition 7 (Gigi)
- Dominant language
- C
- Stars
- 551
- Forks
- 115
- PR merge metrics
- No merged PRs in 30d
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.
More from linuxmint/xed
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Allow pkexec xed OpenFEATURE REQUEST
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
libsdl-org/SDL#16372 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
corazawaf/coraza-nginx#140 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
jamesstringer90/appsandbox#160 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100