SUMMARY If an HTML e-mail contains `<a href="https://..." target="_blank">...</a>` and I click on the link with the left mouse button, the link is not opened and the following warning from qtwebengine appears in the terminal: > Can not adopt content from a different WebEngineProfile. STEPS TO REPRODUCE 1. View an HTML e-mail with such a link. 2. Click on the link with left mouse button. OBSERVED RESULT The link is not opened and the following warning appears in the terminal: > Can not adopt content from a different WebEngineProfile. EXPECTED RESULT The link should be opened with my default Internet browser. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo Linux default/linux/amd64/23.0/systemd KDE Plasma Version: 6.1.4 KDE Frameworks Version: 6.5.0 Qt Version: 6.7.2 ADDITIONAL INFORMATION If I click on the link with the right mouse button and then click `Open URL`, a new page is opened in my default browser as expected.
Still reproducible with kmail 6.4.1 using: KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0
I can confirm this happening. For some reason unknown to me, links can be opened by holding ctrl button while left clicking. This behaviour happens in both Wayland and X11 sessions. Manjaro Linux x86_64 KDE Plasma 6.3.5 KDE Frameworks 6.14.0 QT 6.9.0
Yep, holding Ctrl while clicking on the link works. Thanks for the tip!
A possibly relevant merge request was started @ https://invent.kde.org/pim/messagelib/-/merge_requests/293
Git commit ed80e347c97cd29f662d8ffdd8241bdd2e7f74f6 by Albert Astals Cid. Committed on 13/12/2025 at 08:03. Pushed by aacid into branch 'master'. Fix left-click not working on links with target="_blank" in HTML e-mails M +1 -1 webengineviewer/src/webenginenavigationrequestinterceptor.cpp https://invent.kde.org/pim/messagelib/-/commit/ed80e347c97cd29f662d8ffdd8241bdd2e7f74f6
Git commit 586ca1049c7b3b0d6f2cd3f10889aa70897c8d3e by Albert Astals Cid. Committed on 13/12/2025 at 09:42. Pushed by aacid into branch 'release/25.12'. Fix left-click not working on links with target="_blank" in HTML e-mails (cherry picked from commit ed80e347c97cd29f662d8ffdd8241bdd2e7f74f6) M +1 -1 webengineviewer/src/webenginenavigationrequestinterceptor.cpp https://invent.kde.org/pim/messagelib/-/commit/586ca1049c7b3b0d6f2cd3f10889aa70897c8d3e