Bug 390134 - Why clicking on a link has a delay before it opens the page?
Summary: Why clicking on a link has a delay before it opens the page?
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.11.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-09 09:15 UTC by Krasi Georgiev
Modified: 2018-03-07 23:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krasi Georgiev 2018-02-09 09:15:34 UTC
It seems that clicking on a link (mailspring, Riot, skype etc) goes through some checks before it actually opens the browser and this add some delay of  2-3 seconds.

Is this a bug or can it be bypassed to just open it immediately?
Comment 1 David Edmundson 2018-02-09 11:11:13 UTC
There is not any artificial delay.
Comment 2 Krasi Georgiev 2018-02-09 11:18:03 UTC
Thanks for the reply.
When I disconnect the network and click on a link instead of opening a new tab in Chrome and displaying some error there I get a popup window - Unknown  Host (Popup title Kio Client) which makes me think that there is some middleware that does networks checks before it invokes the software handler which is causing some delay.

Otherwise if my assumption is incorrect do you have any idea what might be causing this delay?


On Gnome click a link opens a new tab in chrome instantly.
Comment 3 Krasi Georgiev 2018-02-18 13:55:45 UTC
I can make a short video if this will help to get a better idea what I mean.

basically I click a link in a mail client and I get some small chrome icon jumping next to the cursor and sometimes it keeps jumping 1-2 seconds before it actually opens a new Chrome tab.

either the link handler is adding some delay or does some additional checks that introduce this delay.
Comment 4 David Edmundson 2018-02-18 14:57:00 UTC
Can you show me what 

systemsettings -> applications -> default apps -> web browser 

says

"in an application based on the contents"  will download the mimetype first
Comment 5 Patrick Silva 2018-02-26 03:00:21 UTC
bug 372702 seems related.
Comment 6 Krasi Georgiev 2018-02-26 08:31:38 UTC
I think these were the main culprits (url type and launch feedback) so I made the changes and will report in few days.
Comment 7 Rex Dieter 2018-02-26 22:44:07 UTC
I can confirm unchecking
"in an application based on the contents"
makes links open (more) immediately in a webbrowser.

Downside, of course, is that they will always open in a webbrowser, even if the default applications for the given file type is something else.