Healix / Gw2Launcher

Manages and allows for multiple Guild Wars 2 clients to be launched
MIT License
182 stars 24 forks source link

GW2 /wiki chat command not working with Firefox due to GW2Launcher not linking to the original browser profile #446

Closed MajesticPeter closed 1 month ago

MajesticPeter commented 1 month ago

Firefox won't open wiki links because GW2Launcher isn't linking to the default Firefox profile in its appdata folder and instead copies it for each GW2Launcher account profile.

A soft error pops up saying: "Firefox is already running, but is not responding. The old Firefox process must be closed to open a new window." The popup has 2 options; "Close Firefox" and "Cancel". If you press "Close Firefox", Firefox will reopen with the Firefox profile stored in %appdata%\Gw2Launcher\data(account profile #)\AppData\Roaming\Mozilla\Firefox\Profiles folder and open the /wiki link. However this breaks all external hyperlinks for Firefox now because the original default profile isn't loaded anymore. By default, Firefox stores profiles in %appdata%\Mozilla\Firefox\Profiles. Wiki chat commands open links in Firefox normally as expected when GW2 is launched normally and not through GW2Launcher.

How to replicate:

Workaround: downgrade Firefox to version 124.0 or older

Request: Can you please update GW2Launcher to use the original Firefox profile instead of copying it to prevent this needless profile switching.

Healix commented 1 month ago

It's a side effect of using virtual mode, which causes GW2 to use a different %appdata% folder so it doesn't interfere with the original. Problem is, anything started by GW2 will end up using the same folder.

To avoid this, you have to use basic mode under Settings > Guild Wars 2 > Management.

MajesticPeter commented 1 month ago

It's a side effect of using virtual mode, which causes GW2 to use a different %appdata% folder so it doesn't interfere with the original. Problem is, anything started by GW2 will end up using the same folder.

To avoid this, you have to use basic mode under Settings > Guild Wars 2 > Management.

That works. Thanks