Bug 459329 - Cannot open links from Thunderbird if it was launched before a chromium-based default browser
Summary: Cannot open links from Thunderbird if it was launched before a chromium-based...
Status: REOPENED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 461274 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-18 13:26 UTC by Patrick Silva
Modified: 2022-12-01 10:11 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-09-18 13:26:27 UTC
STEPS TO REPRODUCE
1. install Thunderbird mail client from flathub:
$flatpak install flathub org.mozilla.Thunderbird
2. open Thunderbird and configure your email account
3. when you receive a notification from bugzilla, click on the link to the bug report

OBSERVED RESULT
nothing happens

EXPECTED RESULT
bug report opens with default internet browser

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Graphics Platform: Wayland
Comment 1 Nate Graham 2022-09-22 17:45:51 UTC
If you run:

killall xdg-desktop-portal
/usr/libexec/xdg-desktop-portal
systemctl restart --user plasma-xdg-desktop-portal-kde.service

does it start working?
Comment 2 Patrick Silva 2022-09-22 17:49:32 UTC
A few hours ago my Thunderbird was updated to version 102.3.0 and now I'm unable to reproduce. :)
Comment 3 Patrick Silva 2022-09-30 10:57:14 UTC
The bug occurs if I open Thunderbird before opening my default browser.

1. make sure your default browser is closed
2. install Thunderbird mail client from flathub:
$flatpak install flathub org.mozilla.Thunderbird
3. open Thunderbird and configure your email account
4. when you receive a notification from bugzilla, click on the link to the bug report

OBSERVED RESULT
nothing happens

The commands from command 1 fixes the bug temporally.
Comment 4 Patrick Silva 2022-09-30 23:07:33 UTC
Not related to flatpak. Can also reproduce with Thunderbird 102.3.0 from Arch Linux repos.
Comment 5 Patrick Silva 2022-11-01 19:15:22 UTC
*** Bug 461274 has been marked as a duplicate of this bug. ***
Comment 6 Patrick Silva 2022-12-01 10:11:00 UTC
I can't reproduce this bug with Firefox, but it persists with all chromium-based browsers installed on my system: Vivaldi, Opera and
Ungoogled Chromium. I see these messages in the journal log after clicking on a link in Thunderbird:

dez 01 07:08:59 neon-laptop xdg-desktop-portal[13643]: Authorization required, but no authorization protocol specified
dez 01 07:08:59 neon-laptop xdg-desktop-portal[13643]: [13639:13639:1201/070859.438534:ERROR:ozone_platform_x11.cc(239)] Missing X server or $DISPLAY
dez 01 07:08:59 neon-laptop xdg-desktop-portal[13643]: [13639:13639:1201/070859.438609:ERROR:env.cc(255)] The platform failed to initialize.  Exiting.

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.26.80
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphics Platform: Wayland