Clicking link in Thunderbird opens Firefox, but doesn't proceed with link
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
People
(Reporter: igor.mironchik, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Steps to reproduce:
I click link in email body in Thunderbird. Opens new Firefox window to proceed with link and open a web page.
Actual results:
In address bar is nothing, Firefox doesn't do anything.
Expected results:
Opens a web page from link in Thunderbird.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 year ago
|
||
Does other app works? Can you open URL link from terminal for instance?
Thanks.
Reporter | ||
Comment 3•1 year ago
|
||
Hello. From terminal, if I type, for example:
firefox https://www.google.com
works, when Firefox is not launched, or launched in working state.
But if I first (when Firefox is not launched) I click link in Thunderbird, Firefox launches, but link doesn't proceed. And if in this state of Firefox I type from terminal:
firefox https://www.google.com
Firefox opens second Tab, I see in address bar my URL, but nothing happens, link doesn't proceed.
Reporter | ||
Comment 4•1 year ago
|
||
Look at this GIF, I recorded the issue, and working launch.
Reporter | ||
Comment 6•1 year ago
|
||
I attached support page. And one more info: from other applications links work.
Comment 7•1 year ago
|
||
Can you try to edit /usr/bin/firefox and log which args are passed to the launch script?
Thanks.
Reporter | ||
Comment 8•1 year ago
|
||
This is a script that /usr/bin/firefox was linked to...
Reporter | ||
Comment 9•1 year ago
|
||
Wait...
Reporter | ||
Comment 10•1 year ago
|
||
I printed args set to Firefox, when it launched from Thunderbird. And there only a URL, like:
Comment 11•1 year ago
|
||
I mean, if you run firefox from terminal as:
/usr/bin/firefox bugzilla.mozilla.org
is the bugzilla page opened? I guess so. And can you check how Firefox is executed from TB, if the call also contains the URL?
Comment 12•1 year ago
|
||
You may add echo to print params before exec to firefox.sh script:
exec $MOZ_LIBDIR/$MOZ_APP_NAME "$@"
like
echo $MOZ_LIBDIR/$MOZ_APP_NAME "$@" > ~/ff-run.txt 2>&1
exec $MOZ_LIBDIR/$MOZ_APP_NAME "$@"
and then check ~/ff-run.txt file how Firefox is launched.
Reporter | ||
Comment 13•1 year ago
|
||
I got:
/usr/lib/firefox/firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1880724
So Firefox was launched from Thunderbird. And I got the described issue.
Comment 14•1 year ago
|
||
So if you run Firefox from terminal as /usr/lib/firefox/firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1880724 it works but if it's launched from TB it's broken, right? I wonder why the same command once works and once fails.
Updated•1 year ago
|
Reporter | ||
Comment 15•1 year ago
|
||
So if you run Firefox from terminal as /usr/lib/firefox/firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1880724 it works but if it's launched from TB it's broken, right? I wonder why the same command once works and once fails.
Yes. I don't have any idea too...
Comment 16•1 year ago
|
||
Does TB behave the same if Firefox is already running? It should open URL in already running FF instance.
Reporter | ||
Comment 17•1 year ago
|
||
Does TB behave the same if Firefox is already running?
No, in this case all works like a charm.
Reporter | ||
Comment 18•1 year ago
|
||
If it matters, I'm on:
Operating System: KDE neon 5.27
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.5.0-18-generic (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Manufacturer: HP
Product Name: HP ProBook 640 G3
Firefox and Thunderbird installed via apt
.
Reporter | ||
Comment 19•11 months ago
|
||
The issue is still there. And I want to add that Firefox doesn't proceed with links texted in address bar if Firefox opened by clicking link in Thunderbird. New tabs behaves the same. I was forced to close Firefox and open new instance to have ability to proceed with address bar.
Comment 20•10 months ago
|
||
Can you try 'xdg-open http://www.google.com' command from terminal? Does it open Firefox with google as expected?
Reporter | ||
Comment 21•10 months ago
|
||
xdg-open http://www.google.com
opens Firefox and proceed to Google, everything works.
Comment 22•10 months ago
|
||
(In reply to igor.mironchik from comment #21)
xdg-open http://www.google.com
opens Firefox and proceed to Google, everything works.
xdg-open standard system-wide way how to open particular file. If that works, ti means there's a bug in your Thunderbird config and Thunderbird doesn't follow system settings but uses its own. You may try to check if there's set any custom html file handler or so - you may use system default.
Comment 23•10 months ago
|
||
You may check Edit -> Settings and 'Files & Attachments' section what's configured for html links.
Reporter | ||
Comment 24•10 months ago
|
||
In that settings I have a line for PDF only. In Config Editor I don't see any changed values for this kind of issues.
Reporter | ||
Comment 25•9 months ago
|
||
Just caught myself on interesting thought - what if this problem is not in systems calls, but in some library that used both in Thunderbird and Firefox? I'm on Linux using system installed Mozilla products... Maybe...
Comment 26•9 months ago
|
||
I think TB opens Firefox in some non-standard way which doesn't pass the URL. But frankly I have no idea how. You may try to create a new clean TB profile (run thunderbird -P on terminal) and check it...and then perhaps copy messages to the new profile and use it.
Reporter | ||
Comment 27•9 months ago
|
||
No, it didn't help. I deleted all profiles with all files in dialog from thunderbird -P, and created new default profile. The issue is here.
Reporter | ||
Comment 28•8 months ago
|
||
Reporter | ||
Comment 29•8 months ago
|
||
Solution in the answer works for me...
Description
•