Bug 373048 - Clicking links lag when server is slow or not existing
Summary: Clicking links lag when server is slow or not existing
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.28.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-28 19:41 UTC by Guo Yunhe
Modified: 2018-08-22 20:39 UTC (History)
2 users (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 Guo Yunhe 2016-11-28 19:41:42 UTC
The test URL https://www2.guoyunhe.me/ points to a server that doesn't exist.

1. Open LibreOffice or other software that you can insert a link.
2. Type URL https://www2.guoyunhe.me/
3. Ctrl + click the link.
4. Wait the link to be opened.

Expected result:

Open the link immediately in web browser.

Actual result:

There will be a notification with progress bar. And wait about 3 seconds, it time out and open an error dialog: server not found. But it doesn't open the URL in web browser at all.

If the server exist but very slow, users will wait a while before open link in web browser.

My worry is that even KIO cannot access the server, maybe the web browser can (with HTTP/Socks5 proxy). KIO does not need to check if the server can be connected, because the web browser will do this. This step will create a uncertain lag before opening links.
Comment 1 Guo Yunhe 2016-11-28 19:48:10 UTC
Correct URLs and results:

https://www2.guoyunhe.me/  --> Untrusted SSL certificate

https://www2.guoyunhe.cc/  --> Server not found (not exist)

https://thepiratebay.org/  --> Server not found (blocked in my network, but I can open it in my web browser with tor support)
Comment 2 Nate Graham 2018-08-22 20:39:22 UTC
Works for me in KDE Frameworks 5.49. The links instantly open in a browser.