Bug 413935 - Apps don't start instantly
Summary: Apps don't start instantly
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.62.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-08 09:22 UTC by Valdas
Modified: 2021-06-13 15:56 UTC (History)
3 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 Valdas 2019-11-08 09:22:17 UTC
SUMMARY

This happens sometimes when:
 - I enter name of application in KRunner dialog and press Enter,
 - double-click on freshly appeared image file in Krusader window to open GWenView.
 After that icon of starting application near mouse is shown and only after 3-5 seconds window of application appears.
 If I close application window and try to start it again then this time it shows instantly.
 I can interrupt that 3-5 second delay before start: I must click mouse somewhere.

 This problem I first noticed in KUbuntu 19.04 (plasma 5.17.1). Now I have freshly (no settings migrated) installed KUbuntu 19.10 and mentioned problem remains.

OBSERVED RESULT

Delay before start.


EXPECTED RESULT

Instant start.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.17.2
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.04
Comment 1 Nate Graham 2019-11-12 19:39:24 UTC

*** This bug has been marked as a duplicate of bug 401442 ***
Comment 2 Valdas 2019-11-13 07:07:10 UTC
(In reply to Nate Graham from comment #1)
> 
> *** This bug has been marked as a duplicate of bug 401442 ***

I get no crashes. Why this bug is duplicate of bug 401442, is it related to OpenGL?
Comment 3 Nate Graham 2019-11-13 14:56:18 UTC
Oops, I must have been on the wrong tab and marked the wrong bug as a dupe. Thanks for catching that, my bad.
Comment 4 Nate Graham 2019-11-13 16:10:17 UTC
Possibly a KRun issue. Moving to KIO.
Comment 5 Ahmad Samir 2021-06-13 15:56:14 UTC
Typically an app being started for the first time will take slightly more time than subsequent ones because of memory and disk caches that the Kernel use. (When you close an app it's not purged from memory immediately, it's only purged when that memory is needed by something else).