#16891 closed enhancement (fixed)
[Patch] Define custom browser on Windows
Reported by: | iman | Owned by: | simon04 |
---|---|---|---|
Priority: | normal | Milestone: | 18.11 |
Component: | Core | Version: | latest |
Keywords: | default internet browser windows | Cc: |
Description
Hi, can we set another default browser to open links? I use Firefox portable and would like to open links using it instead of default browser of Windows.
Attachments (2)
Change History (19)
comment:1 by , 6 years ago
Type: | task → enhancement |
---|
comment:2 by , 6 years ago
comment:3 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
follow-up: 5 comment:4 by , 6 years ago
Not the original poster, but:
The need to set registry keys does defeat the "portable" aspect. I know many people are using portable apps "stationary", but JOSM and portable browser both can work truly portable, you can get java portable as well. For me, setting the path in JOSM directly is something I would love to see as well.
comment:5 by , 6 years ago
Replying to Don-vip:
It should be possible to set portable firefox as default browser
Thanks, I think it's possible, but it's not the problem. This PC is shared by others and I don't want they use my browser, or, by using their browser my history be easily accesible by them.
Replying to anonymous:
For me, setting the path in JOSM directly is something I would love to see as well.
This is exactly what I would love to do, too.
comment:6 by , 6 years ago
Presumably you're using Windows? For Linux configurability, see #5108.
For Windows we could similarly implement an advanced setting browser.windows
. If this preference is set, the specified program is launched in favour of the default.
comment:8 by , 6 years ago
Keywords: | windows added |
---|---|
Summary: | default internet browser → Define custom browser on Windows |
comment:9 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
by , 6 years ago
Attachment: | 16891.patch added |
---|
comment:10 by , 6 years ago
Milestone: | → 18.11 |
---|---|
Owner: | changed from | to
Summary: | Define custom browser on Windows → [Patch] Define custom browser on Windows |
comment:11 by , 6 years ago
I guess we can include it in 18.10 (no i18n strings).
Some remarks:
- the
if
could be simplified toif PlatformManager.getPlatform() != null
- we don't use star imports (
import java.awt.*;
)
by , 6 years ago
Attachment: | 16891v2.patch added |
---|
comment:12 by , 6 years ago
I think we can simplify the code further, see attachment:16891v2.patch, but let's keep that for 18.11 to avoid introducing bugs in the last minute :).
comment:14 by , 6 years ago
Any idea where this could be documented in the wiki for end users? Else I fear this feature will be used by only 1 person forever as nobody else knows about this preference key.
It should be possible to set portable firefox as default browser, see https://superuser.com/questions/287313/which-registry-keys-need-to-be-edited-to-change-the-default-browser
Can you please test?