Not sure if this is a problem with Pale Moon or Thunderbird, but there is an issue with the way Palemoon works when it's opened by clicking a link from Thunderbird.
Using Linux Mint 19.3
Pale Moon 28.13.0 (64 bit)
I have Pale Moon set up as my default browser (~/.config/mimeapps.list)
x-scheme-handler/http=userapp-Pale Moon-FPALE0.desktop;
x-scheme-handler/https=userapp-Pale Moon-FPALE0.desktop;thunderbird.desktop;
I have Thunderbird set up to open links using default browser (Pale Moon)
When I open a link from Thunderbird, it opens correctly in Pale Moon. However, when this happens, Pale Moon informs me it's not the default browser and asks me if I want to set it as default. If I select Yes, then my default browser changes to "Thunderbird" (mimeapps.list changes it to thunderbird.desktop).
This doesn't happen if I open a link from Thunderbird with Pale Moon already open. In this case it proceeds to open the link normally in a new tab.
Linux Mint - Pale Moon behaves differently when opened from Thunderbird
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Re: Linux Mint - Pale Moon behaves differently when opened from Thunderbird
What version of TB?
Is PM from PM or elsewhere?
If PM is closed, & you type at a shell prompt: (on Windows, c:\> start )https://www.google.com (or whatever it might be to get, on Linux, your browser to open & load google.com), what happens?
Is PM from PM or elsewhere?
If PM is closed, & you type at a shell prompt: (on Windows, c:\> start )https://www.google.com (or whatever it might be to get, on Linux, your browser to open & load google.com), what happens?
Re: Linux Mint - Pale Moon behaves differently when opened from Thunderbird
Thanks.
68.10.0 (64-bit)
I'm using stevenpusser's PPA for Ubuntu.
Running "xdg-open https://www.google.com" from the terminal opens google.com in Pale Moon. Nothing regarding default browser being incorrect appears.therube wrote: ↑2020-09-11, 18:42If PM is closed, & you type at a shell prompt: (on Windows, c:\> start )https://www.google.com (or whatever it might be to get, on Linux, your browser to open & load google.com), what happens?
- stevenpusser
- Project Contributor
- Posts: 903
- Joined: 2015-08-01, 18:33
Re: Linux Mint - Pale Moon behaves differently when opened from Thunderbird
Is this with the Cinnamon desktop in Mint?
(BTW, I maintain an OBS repo, not an Ubuntu Launchpad PPA. There's quite a difference.)
(BTW, I maintain an OBS repo, not an Ubuntu Launchpad PPA. There's quite a difference.)
Re: Linux Mint - Pale Moon behaves differently when opened from Thunderbird
Yes, sir! Version 4.4.8
You're right. Sorry, I sometimes incorrectly refer to repositories as PPAs and vice versa.stevepusser wrote: ↑2020-09-12, 03:26(BTW, I maintain an OBS repo, not an Ubuntu Launchpad PPA. There's quite a difference.)
Re: Linux Mint - Pale Moon behaves differently when opened from Thunderbird
OK, I looked at the source code at
nsBrowserGlue.js
nsGNOMEShellService.cpp
I'm not an expert, but I think I might have found something regarding why this is happening.
When Pale Moon is launched from Thunderbird, MOZ_APP_LAUNCHER is set to Thunderbird,
which causes mAppPath to be that for Thunderbird, so KeyMatchesAppName compares Thunderbird to existing default browser (which is Pale Moon), which causes Pale Moon to change the default browser from Pale Moon to Thunderbird.
nsBrowserGlue.js
nsGNOMEShellService.cpp
I'm not an expert, but I think I might have found something regarding why this is happening.
When Pale Moon is launched from Thunderbird, MOZ_APP_LAUNCHER is set to Thunderbird,
which causes mAppPath to be that for Thunderbird, so KeyMatchesAppName compares Thunderbird to existing default browser (which is Pale Moon), which causes Pale Moon to change the default browser from Pale Moon to Thunderbird.