Nautilus opens file with wrong application
Steps to reproduce
- I opened a directory on my server via “Other Locations” & FTP protocol.
- I there have a PHP file, which should normally get opened by gedit (the right-click menu shows this default, as the first entry of that right-click menu is “Text editor”).
- When I double-click (or right-click and select that first “Text editor” entry), somehow Firefox gets opened instead of gedit.
- When I instead right-click and choose “Open with other application” and select gedit there, the file gets opened in gedit.
Reproducible in:
- Flatpak unstable: Cannot test, because of different (Flatpak-specific) file opening mechanism.
- Other: Fedora 29 Silverblue beta
Current behavior
The file gets somehow opened in Firefox. I have no idea how this could be possible.
Expected behavior
The file should get opened with gedit (i.e. the default application).
Additional information
Nautilus shows no output, except for some theme errors.