xml file opens in browser
Bug #509507 reported by
Stas Zytkiewicz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eric (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: eric
When opening a xml file from within the project window by double clicking or right click > open, the file is opened
in the default browser instead of opening in the eric editor like it did in Ubuntu < 9.10.
Ubuntu version 9.10
eric version 4.3.7.1-1
To post a comment you must log in.
You will find the same behaviour with e.g. json files.
This issue was brought up on the mailing list and it is considered "as designed". Basically the project browser (ProjectOthersB rowser _openItem) will only send an "open" event for items where the mime type starts with "text". Previously xml files would have had a text/xml mime type, they are likely now showing up as application/xml (i.e. same problem as application/json).
Special casing for application/json and application/xml might be warranted, but as Eric4 is no longer the dev focus I'm not sure it would be likely to go in.
HTH