[Bug 1178596] New: mailto: links don't open in Thunderbird (or at all)
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 Bug ID: 1178596 Summary: mailto: links don't open in Thunderbird (or at all) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Major Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: teo8976@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 843427 --> http://bugzilla.opensuse.org/attachment.cgi?id=843427&action=edit the error message To reproduce: 1. In your browser (tested with Chrome and Firefox) visit: https://output.jsbin.com/woyufanaki 2. Click on the link, which is a mailto: link Expected: should open in my default email client, which in my case is Thunderbird Observed: this cryptic error message (see attached screenshot) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c1 --- Comment #1 from Christophe Giboudeaux <christophe@krop.fr> --- Can you reproduce the issue if you try in konqueror? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c2 --- Comment #2 from teo teo <teo8976@gmail.com> --- I don't have Konqueror. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c3 --- Comment #3 from teo teo <teo8976@gmail.com> --- Operating System: openSUSE Tumbleweed 20201030 KDE Plasma Version: 5.20.2 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1 Kernel Version: 5.8.15-1-default OS Type: 64-bit Processors: 8 × Intel® Core™ i7-1065G7 CPU @ 1.30GHz Memory: 7.3 GiB of RAM Graphics Processor: Mesa DRI Intel® Iris® Plus Graphics This came with Firefox installed by default, and I installed Chrome. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c4 robert spitzenpfeil <rs.opensuse@spitzenpfeil.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rs.opensuse@spitzenpfeil.or | |g --- Comment #4 from robert spitzenpfeil <rs.opensuse@spitzenpfeil.org> --- There is a very unfruitful discussion in the forums https://forums.opensuse.org/showthread.php/541135-Thunderbird-set-as-default... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c5 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fabian@ritter-vogt.de Assignee|opensuse-kde-bugs@opensuse. |simonf.lees@suse.com |org | --- Comment #5 from Fabian Vogt <fabian@ritter-vogt.de> --- Since https://invent.kde.org/plasma/plasma-desktop/commit/d1f62c16c878a665c6e548f7..., EmailClient can refer to a .desktop file instead. xdg-email should do this in "open_kde": if [ "$client" != "${client%.desktop}" ]; then client=`desktop_file_to_binary "$client"` fi -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c6 --- Comment #6 from teo teo <teo8976@gmail.com> --- Now I don't get the error message anymore, it just fails silently, does absolutely nothing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c7 Frank Kr�ger <fkrueger@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fkrueger@mailbox.org --- Comment #7 from Frank Kr�ger <fkrueger@mailbox.org> --- JFYI: Works fine with TW20201215 and MozillaFirefox-84.0-4.1.x86_64. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c8 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED --- Comment #8 from Fabian Vogt <fabian@ritter-vogt.de> --- (In reply to Fabian Vogt from comment #5)
Since https://invent.kde.org/plasma/plasma-desktop/commit/ d1f62c16c878a665c6e548f7a99b6fab21882e6d, EmailClient can refer to a .desktop file instead.
xdg-email should do this in "open_kde":
if [ "$client" != "${client%.desktop}" ]; then client=`desktop_file_to_binary "$client"` fi
That's actually not the whole story - that code path is only used when it contains "thunderbird". It seems like the fallback path using kde-open5 is affected and simply kde-open5 mailto: also fails with that error. So this is most likely a bug in KIO or the scheme handler is not set correctly anymore. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://bugs.kde.org/show_b | |ug.cgi?id=418425 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c9 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |teo8976@gmail.com Flags| |needinfo?(teo8976@gmail.com | |) --- Comment #9 from Fabian Vogt <fabian@ritter-vogt.de> --- The issue initially reported here with "Unknown protocol 'mailto'" is actually a different one than the one in the forum. The one in the forum might be fixed by comment 5, but not the one here. For the "Unknown protocol 'mailto'" case, please show the output of "ktraderclient5 --mimetype x-scheme-handler/mailto". Does the first "exec" line contain "%u"? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c10 teo teo <teo8976@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(teo8976@gmail.com | |) | --- Comment #10 from teo teo <teo8976@gmail.com> ---
ktraderclient5 --mimetype x-scheme-handler/mailto mimetype is : x-scheme-handler/mailto got 3 offers. ---- Offer 0 ---- StartupNotify : 'TRUE' TryExec : 'thunderbird' Invalid property UntranslatedGenericName Type : 'Application' Name : 'Thunderbird' Comment : 'Mail/News Client' GenericName : 'Mail/News Client' Icon : 'thunderbird' Exec : 'thunderbird %u' Terminal : 'FALSE' Invalid property TerminalOptions Invalid property Path ServiceTypes : 'x-scheme-handler/mailto - Application' AllowAsDefault : 'TRUE' InitialPreference : '1' Invalid property Library DesktopEntryPath : '/usr/share/applications/thunderbird.desktop' DesktopEntryName : 'thunderbird' Keywords : '' FormFactors : '' Categories : 'Network - Email - GTK' ---- Offer 1 ---- NoDisplay : 'TRUE' Type : 'Application' Name : 'Thunderbird' Comment : 'Custom definition for Thunderbird' Invalid property GenericName Invalid property Icon Exec : '/usr/bin/thunderbird %u' Terminal : 'FALSE' Invalid property TerminalOptions Invalid property Path ServiceTypes : 'Application' AllowAsDefault : 'TRUE' InitialPreference : '1' Invalid property Library DesktopEntryPath : '/home/teo/.local/share/applications/userapp-Thunderbird-T02CS0.desktop' DesktopEntryName : 'userapp-thunderbird-t02cs0' Keywords : '' FormFactors : '' Categories : '' ---- Offer 2 ---- Invalid property Actions StartupNotify : 'TRUE' Invalid property UntranslatedGenericName X-DBUS-ServiceName : 'org.kde.kmail' X-DocPath : 'kmail2/index.html' Type : 'Application' Name : 'KMail' Comment : 'Send, receive and manage your mail with KMail' GenericName : 'Mail Client' Icon : 'kmail' Exec : 'kmail -qwindowtitle %c %u' Terminal : 'FALSE' Invalid property TerminalOptions Invalid property Path ServiceTypes : 'x-scheme-handler/mailto - Application' AllowAsDefault : 'TRUE' InitialPreference : '10' Invalid property Library DesktopEntryPath : '/usr/share/applications/org.kde.kmail2.desktop' DesktopEntryName : 'org.kde.kmail2' Keywords : '' FormFactors : '' Categories : 'Qt - KDE - Office - Network - Email'
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 Frank Kr�ger <fkrueger@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|fkrueger@mailbox.org | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c11 Jeff Stern <jas.61803@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jas.61803@gmail.com --- Comment #11 from Jeff Stern <jas.61803@gmail.com> --- I too encountered the Unable to create io-slave. klauncher said: Unknown protocol 'mailto'. cryptic error. However I was lucky enough to find a solution posted in a (more fruitful) forum discussion and the solution posted by user "abruenin" (post #5).. https://forums.opensuse.org/showthread.php/544819-mail-link-on-any-browser-U... .. also worked for me: systemsettings5 --> Applications --> Default Applications --> Email Client --> There are 2 Thunderbirds, so choose the one not currently selected. I saw 2 Thunderbirds (spelled exactly the same, and no underscores, "_"). Already selected was the 2nd (lower). When I selected the 1st (upper), now the mailto: linking worked. Curious, I wanted to see what would happen if I returned to select the 2nd. After doing so, the mailto: linking broke again. So I re-selected the 1st, and again, the mailto linking worked. (I have rebooted the machine since then, and now I see that only 1 Thunderbird choice appears in the Email Client drop-down list.) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c12 Bruce Korb <bruce.korb+suse@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruce.korb+suse@gmail.com --- Comment #12 from Bruce Korb <bruce.korb+suse@gmail.com> --- A year after the last entry, problem persists:
$ ktraderclient5 --mimetype x-scheme-handler/mailto|grep -i exec Exec : '/usr/bin/thunderbird %u' Exec : 'kmail -qwindowtitle %c %u' TryExec : 'thunderbird' Exec : 'thunderbird %u' Exec : 'evolution %U'
$ for cmd in kdeinit5 plasmashell kf5-config
do printf "\n=== %s ===\n" $cmd ; $cmd --version ; done
=== kdeinit5 === Qt: 5.12.7 KDE: 5.76.0
=== plasmashell === plasmashell 5.18.6
=== kf5-config === Qt: 5.12.7 KDE Frameworks: 5.76.0 kf5-config: 1.0
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1178596 http://bugzilla.opensuse.org/show_bug.cgi?id=1178596#c13 Jonas Liljegren <jonas@liljegren.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonas@liljegren.org --- Comment #13 from Jonas Liljegren <jonas@liljegren.org> --- I got it to work by selecting to run thunderbird in terminal -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com