"Open with" should be by file type first, mime type as fallback

Bug #139346 reported by Reuben Firmin
4
Affects Status Importance Assigned to Milestone
KDE Base
New
Wishlist
kdebase (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

Binary package hint: kwin

Often MIME types are incorrect on files, especially XML files. For example, an OPF file (which is part of many digital books) is an XML file, but is often encoded as text/plain. I want to open it with kxmleditor (always), so I right click, "open with", and choose ~"always do this" so that any time I click on an OPF again it opens in kxmleditor. This is fine, but now all of a sudden ALL text/plain files open in kxmleditor (even foo.txt, etc). This is clearly wrong, and counterintuitive. Even if the mime type *is* correct, there are different kinds of XML (for example) that I might want to open in different applications.

I think the strategy should be that "open with" looks to see if it has a mapping for the file type *first*, and then only secondly at the mime type. Additionally, when you click "always do this", there should be a dialog that says:

Which of the following should always be opened with _kxmleditor_:
[ ] all text files
[X] all .opf files

[Save] [Cancel]

Changed in kdebase:
importance: Undecided → Wishlist
Changed in kdebase:
status: New → Confirmed
Marcus Asshauer (mcas)
Changed in kdebase:
importance: Undecided → Unknown
status: New → Unknown
Changed in kdebase:
status: Unknown → New
Changed in kdebase:
status: Confirmed → Triaged
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hello there,

Kubuntu currently does not have the manpower necessary to implement this feature as a distribution, so we are closing this report. Worry not, though, because your wish item is still being tracked by KDE at http://bugs.kde.org/show_bug.cgi?id=171538 . Once KDE implements this feature, we will include it in the Kubuntu release which contains the KDE version the feature was implemented in.

Thanks for understanding, and have a nice day.

Changed in kdebase (Ubuntu):
status: Triaged → Won't Fix
Changed in kdebase:
importance: Unknown → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.