Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dtomvan opened this issue Nov 4, 2024 · 1 comment
Open

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

dtomvan opened this issue Nov 4, 2024 · 1 comment

Comments

@dtomvan
Copy link

dtomvan commented Nov 4, 2024

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

Issue/Bug description:

  • The mime-type file-opener really strictly handles its types;
  • It even does so when using "open with";
  • I cannot choose an "other application" to try to handle a file, it only allows me to download a flatpak which also handles the exact same filetype;
  • For example, when opening a *.tsv file, it correctly detects text/tab-separated-values, but it only allows me to use libreoffice calc.

Steps to reproduce:

  • Create a file /home/tom/somefile.tsv
  • Navigate to /home/tom in cosmic-files
  • Right-click on somefile.tsv
  • Click on "Open with..."

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants