Bug 497179 - Web links in dialog are opened in text editor
Summary: Web links in dialog are opened in text editor
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.6   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2016-07-02 10:22 EDT by Yan Pas CLA
Modified: 2016-07-16 13:54 EDT (History)
3 users (show)

See Also:


Attachments
screenshot (178.39 KB, image/png)
2016-07-02 10:22 EDT, Yan Pas CLA
no flags Details
component screenshot (11.36 KB, image/png)
2016-07-16 13:54 EDT, Yan Pas CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yan Pas CLA 2016-07-02 10:22:58 EDT
Created attachment 262874 [details]
screenshot

When I clicked on "Create account". Some little window with progress bar popped up and then text editor has opened. Use xdg-open for links in linux please.

Linux Mint 17.3 Xfce, java 8, kernel 4.4.
Comment 1 Patrik Suzzi CLA 2016-07-15 15:16:55 EDT
This is most likely because you opened once html file with text editor and set this as default. 

Can you confirm this, and remove the default ?
Comment 2 Yan Pas CLA 2016-07-16 10:58:03 EDT
Yes, you were right, mimeapps.list is pretty mazeful, so I didn't notice it first time :)
Comment 3 David Williams CLA 2016-07-16 12:04:27 EDT
I personally think this is still a valid bug or at least enhancement request. 

Seems to me that "editor associations" should not influence what is opened for links in dialogs, if that is what you are saying. Seems they should always use "web browser" settings. Right? Or, am I misunderstanding?
Comment 4 Yan Pas CLA 2016-07-16 13:54:41 EDT
Created attachment 263142 [details]
component screenshot

The default program for links (acually it was mimetype text/html) is choosed based on my OS settings. This peace of code (Eclipse User Storage Service) uses different mechanism from Eclipse Platform for defining web browser. After editing file $HOME/.local/share/applications/mimeapps.list (https://wiki.archlinux.org/index.php/default_applications) this links began to open in Firefox (which is not the default browser). Now after more several edits they still open in my notepad app (Mousepad). I don't know how this component decides which app to use. So the bug is really reopened.

I've tried to remove every entry with my Mousepad but Eclipse still opens links in mousepad...