Bug 453607 - KONQUEROR does not open URL https://web.whatsapp.com/
Summary: KONQUEROR does not open URL https://web.whatsapp.com/
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: 21.12.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-10 03:32 UTC by Bangalore Ramdas Ramanath
Modified: 2022-05-15 14:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bangalore Ramdas Ramanath 2022-05-10 03:32:48 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

STEPS TO REPRODUCE
1. Open Konqueror
2. Type URL https://web.whatsapp.com/ in the Address Bar

OBSERVED RESULT
An UPDATE BROWSER message appears

EXPECTED RESULT
Konqueror is expected to open website

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Konqueror Version 21.12.3
Comment 1 Stefano Crocco 2022-05-15 14:17:32 UTC
That's not completely Konqueror's fault. The problem is that web.whatsapp.com checks which browser you're using by parsing its user agent string and infers, incorrectly, that you're using a version of Chrome which is too old and asks you to upgrade.

There's no way for Konqueror to fix this issue, except by changing its user agent. However, doing so risks to break some other site. The best approach would be to make the user agent configurable depending on the site, as it was with the previous web engines (KTHML and KWebKitPart). Unfortunately, the current web engine, QtWebEngine only allows to change it globally.

I'll think if I can find some kind of solution, however.