Issue Description
Describe the bug
Some text files (.lua, for example) don't open unless I drag them into the editor, and even when they do open, navigating to them in the file picker doesn't display them.
Steps to reproduce the bug
- Open Nota
- Navigate to a directory with affected text files
- Not all files are visible
- Use another app, like Index, and double-click the file
- Nota does not open it
Expected behavior
Nota opens the text file.
Screenshots
Nota does not display the Hyprland config file, hyprland.lua.
Even if the file does exist. Image for reference.
Additional context
Nota uses a hard filter in its D-Bus/argument open path: only files that pass FMStatic::checkFileType(TEXT, mime) are accepted. In other words, Nota uses strict TEXT filtering in the file dialog/sidebar and also filters startup/IPC file opens using a MIME whitelist, which may not work as a real wildcard depending on the matcher.
Despite this, Nota (or rather, TE.CodeEditor) can open the file normally.
hyprland.lua displays correctly in Nota
OS version and Desktop information
Open Station and run inxi -S to provide this information.
Nitrux 6.1.0
Nota 4.0.3 master/7efe638
Issue Description
Describe the bug
Some text files (.lua, for example) don't open unless I drag them into the editor, and even when they do open, navigating to them in the file picker doesn't display them.
Steps to reproduce the bug
Expected behavior
Nota opens the text file.
Screenshots
Additional context
Nota uses a hard filter in its D-Bus/argument open path: only files that pass
FMStatic::checkFileType(TEXT, mime)are accepted. In other words, Nota uses strict TEXT filtering in the file dialog/sidebar and also filters startup/IPC file opens using a MIME whitelist, which may not work as a real wildcard depending on the matcher.Despite this, Nota (or rather, TE.CodeEditor) can open the file normally.
OS version and Desktop information
Open Station and run
inxi -Sto provide this information.Nitrux 6.1.0
Nota 4.0.3 master/7efe638