https://bugs.kde.org/show_bug.cgi?id=465671
Bug ID: 465671 Summary: KWin Wayland hangs for a second while launching browser with Junction Classification: Plasma Product: kwin Version: 5.26.90 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: k...@hexchain.org Target Milestone: --- Created attachment 156194 --> https://bugs.kde.org/attachment.cgi?id=156194&action=edit reproducer.js SUMMARY When using Junction (non-flatpak) to start the browser, the whole desktop freezes for less than a second before the browser shows up. This does not happen when it's running inside Flatpak. I've nailed down the problem and attached a simple reproducer script. STEPS TO REPRODUCE 1. Execute the script with GJS: gjs test.js OBSERVED RESULT Upon executing the script, the whole screen freezes for about a second. This can be verified with some animated/moving things, e.g. glxgears or simply moving the mouse. In the journal, kwin_wayland prints some warnings from kf.services: kwin_wayland[1398775]: kf.service.services: The desktop entry file "/usr/share/applications/qemu.desktop" has Type= "Application" but no Exec line kwin_wayland[1398775]: kf.service.sycoca: Invalid Service : "/usr/share/applications/qemu.desktop" kwin_wayland[1398775]: kf.service.sycoca: The menu spec file ( "" ) contains a Layout or DefaultLayout tag without the mandatory Merge tag inside. Please fix it. EXPECTED RESULT The screen should not freeze. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.26.90 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 Kernel Version: 6.1.10-arch1-1 (64-bit) Graphics Platform: Wayland -- You are receiving this mail because: You are watching all bug changes.