Thunderbird does not respect the system default url handler
Categories
(Thunderbird :: OS Integration, defect)
Tracking
(Not tracked)
People
(Reporter: afranchuk, Unassigned)
Details
I am using XFCE4. The default url handler used to be respected. However since 121.0beta6, it is no longer used. I saw that bug 216252 also exists, however that must have actually been fixed at one point because it definitely was working.
It looks like XFCE4 exposes the handler through xdg-settings with default-web-browser. Other non-XFCE4 applications use this correctly. Using xdg-open from the command-line uses the configured web browser correctly.
A notable disparity is that xdg-open in XFCE4 invokes exo-open, which I believe is what ties into the XFCE4 settings. For instance, if I run xdg-mime query default x-scheme-handler/https, that shows firefox as the default handler (which is not what is configured in XFCE4).
As a workaround, I manually configured things so that xdg-mime query default x-scheme-handler/https directs to what I expect, and now links work as expected again. If there was a change in Thunderbird related to this, I would advise changing to use xdg-open instead (which seems to do the Right Thing™). If there was no change, it's very possible that some other applications messed up the default handler configuration. However either way it is important to note that other applications still opened urls as I expected, and only Thunderbird was using the (seemingly misconfigured?) alternate settings.
Comment 1•2 years ago
|
||
AFAIK there hasn't been a change.
Do you perhaps have something configured for "http" under Settings | Files & Attachments?
| Reporter | ||
Comment 2•2 years ago
|
||
I do not. It's very possible that another software update (like Firefox Nightly) overwrote the system XDG setting quietly. But if there hasn't been a change, maybe there should be? As I noted, other software was still working as expected (likely because they invoke xdg-open, which seemed to still work). I'm not sure what the XDG software guidelines say about whether xdg-open and xdg-mime query should agree, though obviously you'd hope that they do.
While this bug is technically still valid (depending on whether you consider the default url handler that which is used by xdg-open or that which is returned by xdg-mime query), I'm fine if it's closed as INVALID if there's no source of guidance on whether e.g. xdg-open should be preferred.
Description
•