Registered Member
|
Hello,
I've come to notice an problematic behavior of KMail (and probably of KDE applications, too) of opening URLs. My systems default browser is Firefox. When I click on a link in a mail, KMails seems to do a request, followed by Firefox:
I wonder why KMail at all is doing a request in contrast to just handing the URL over to the browser. This behavior can be problematic with verification tokens, e.g. I wasn't able to complete an ordering process with hetzner.com until I copied/pasted the link to Firefox. * Is this intended behavior? * Can this be reproduced on KDE desktops? * Can it be ommited? KMail 5.7.1, KDE Frameworks 5.42.0, Qt 5.10.0 (kompiliert gegen 5.10.0), Das xcb Fenstersystem Window Manager is i3, distribution is Arch. Thanks! |
Registered Member
|
Another site which does not work this way is the link to the Discourse Forum One-Click Update which is sent in a mail.
|
Registered Member
|
Also you can't open Eurowings Booking Information from a link inside the confirmation mail, I needed to copy/paste the link to the browser.
|
Registered Member
|
https://www.senderscore.org is also broken by KMail.
|
Registered Member
|
Have you tried filing a bug at bugs.kde.org?
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Yes, now: https://bugs.kde.org/show_bug.cgi?id=394599
I wanted to see first if there is anyone else noticed that and maybe having a workaround. |
Registered Member
|
nebenan.de, a German local social network is also broken by KMails way of opening URLs.
I am a bit suprised that this problem has been ignored for so long. Does it only happens on non-KDE desktop? Can it be reproduced by you? |
Registered Member
|
This is likely because KMail follows your system setting for file associations, and has to download the linked file to know which application to open it with. To change this open the "System Setting" application, click on the "Applications" icon, select the "Default Applications" tab, and select the "Web Browser" sub-tab. Now change "Open http and https URLs" from "in an application based on the contents of the URL" to "in the following browser:", click on the "..." button, and select Firefox from the application list.
Note that if you do this and then click on a link to a non-webpage, Firefox will likely silently download the file to your "~/Downloads" directory, while with the default settings KMail would have opened the file in the correct application automatically. |
Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]