Bug 479580

Summary: URLs do not open properly with Google Chrome
Product: [Frameworks and Libraries] frameworks-kio Reporter: spamless.9v5xj
Component: URL navigatorAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fanzhuyifan, kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description spamless.9v5xj 2024-01-09 17:54:08 UTC
SUMMARY
***
For whatever reason if one has Google Chrome set as their default browser and attempts to open a URL, whether it is a .desktop file or Ctrl+Clicking on a hyperlink in Konsole (likely among others), the link fails to open properly.

***


STEPS TO REPRODUCE
1. Set Google Chrome as default browser (note: has to be Google Chrome, bug does not occur in Chromium)
2. Open Dolphin
3. Right click > Create New > Link to Location
4. Set destination to some URL, eg. https://kde.org/
5. Double click on link

OBSERVED RESULT
Chrome opens as expected, but the page shown is text consisting of the raw HTML instead of a proper web page

EXPECTED RESULT
A proper web page

Linux/KDE Plasma: Fedora 38
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Comment 1 fanzhuyifan 2024-01-09 20:41:56 UTC
Seems to be 439477. Happens when the .desktop file is missing the %u placeholder: https://bugs.kde.org/show_bug.cgi?id=439477#c14

*** This bug has been marked as a duplicate of bug 439477 ***