pop-os / cosmic-files

COSMIC file manager
GNU General Public License v3.0
115 stars 86 forks source link

[bug] The text/* mime-type handler is a bit too strict #639

Open dtomvan opened 2 weeks ago

dtomvan commented 2 weeks ago

Cosmic-files version: 0.1.0~1730233777~24.04~20f9292

Issue/Bug description:

Steps to reproduce:

Expected behavior: I would expect that it would allow me to use any application (that handles plaintext, text/plain, text/* for that matter) to edit a plain text file such as .tsv. For example, neovim handles text/plain, but I cannot in any way use Neovim to edit a tsv file through cosmic-files.

Other notes: Nautilus does allow the user to specify any text editor (or any application at all for that matter, but full disclosure I don't like that design) to open text/tab-separated-values: screenshot-2024-11-04-13-46-26

SamuelBorn commented 2 weeks ago

I am experiencing the same on cosmic-files https://github.com/pop-os/cosmic-files/commits/39e88cb3b176208138a68675201c49bb2f19c259 on Fedora Linux.

My default PDF reader should be zathura, yet it does not show in the context menu so I cannot select it.

image

A quick workaround is xdg-mime default org.pwmt.zathura.desktop application/pdf