Bug 413935

Summary: Apps don't start instantly
Product: [Frameworks and Libraries] frameworks-kio Reporter: Valdas <zmogas>
Component: generalAssignee: David Faure <faure>
Status: REPORTED ---    
Severity: normal CC: a.samirh78, kdelibs-bugs, nate
Priority: NOR    
Version: 5.62.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

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).