Bug#1145589: plasma-workspace: Multi-second delay when launching applications from KDE application launcher on X11

Amir Ramazanov <[email protected]>
Newsgroups gmane.linux.debian.devel.qt-kde
Message-ID <178768756912.11656.3884817181091773561.reportbug__29110.263152846$1787688090$gmane$org@debian>
Package: plasma-workspace
Severity: normal

//Dear Maintainer:

I am reporting a reproducible multi-second delay when launching applications
from the KDE Plasma application launcher in an X11 session.

--STEPS TO REPRODUCE

Step 1) Log into a KDE Plasma X11 session.
Step 2) Open the KDE application launcher.
Step 3) Select "System Settings" and launch it by clicking its launcher entry.
Step 4) Observe the time between activating the launcher entry and the
application
window appearing.
Step 5) Close System Settings.
Step 6) Open Konsole.
Step 7) Launch the same application directly with:

    systemsettings

Step 8) Compare the startup behavior.
Step 9) Repeat the same comparison with Dolphin.

--OBSERVED RESULT

When System Settings is launched by clicking its icon in the KDE application
launcher, there is a reproducible multi-second delay before the window appears.

For comparison:

- X11, KDE application launcher: approximately 3 seconds
- X11, Konsole (`systemsettings`): approximately 0.5 seconds
- Wayland, KDE application launcher: no noticeable delay

When the same application is launched from Konsole using `systemsettings`,
there is still a noticeable delay, but it is significantly shorter,
approximately 0.5 seconds.

The same difference is reproducible with Dolphin.

The issue is therefore not limited to a single application. System Settings
and Dolphin are the applications I have tested so far. Other applications
launched through the KDE application launcher may also be affected.

--EXPECTED RESULT

Applications launched through the KDE application launcher should appear
and become usable without a noticeable multi-second delay.

The startup behavior when launching applications from the KDE application
launcher in an X11 session should be comparable to the behavior observed
when launching the same applications from the KDE application launcher
in a Wayland session.

--ADDITIONAL TESTING

I performed the same launcher-based test in both X11 and Wayland sessions.
The additional multi-second delay is reproducible in X11 but not in Wayland.

KWin compositing was also tested separately. Disabling compositing with:

    kwriteconfig6 --file kwinrc \
        --group Compositing \
        --key Enabled false

and logging into the Plasma session again makes application startup somewhat
faster, but does not completely eliminate the delay.

This suggests that the problem may involve the interaction between the
application launcher, X11, and the compositor, but I cannot determine the
exact cause.
The NVIDIA graphics driver was completely removed and reinstalled during
troubleshooting. This did not resolve the problem.
The problem was also tested with older kernel versions. This did not resolve
the problem.

The issue was initially investigated as a possible KDE/Plasma issue:
https://bugs.kde.org/show_bug.cgi?id=524761

KDE requested that the issue be reported to Debian because the Plasma version
shipped in Debian 13 is no longer supported upstream.

[SOFTWARE / HARDWARE]

Operating System: Debian 13.6
KDE Plasma: 6.3.6
KDE Frameworks: 6.13.10
KWin: 6.3.6
Kernel: 6.12.101+deb13-amd64
Graphics Platform: X11
CPU: AMD Ryzen 7 3800X
Memory: 32 GiB
GPU: NVIDIA GeForce GTX 1060 6GB

The system uses a minimal KDE installation without automatically installing
unnecessary Recommends packages.

Please let me know if additional diagnostic information or a specific trace
from the affected X11 session is required.


-- System Information:
Debian Release: 13.6
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.101+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages plasma-workspace depends on:
pn  default-dbus-session-bus | dbus-session-bus    <none>
pn  drkonqi                                        <none>
pn  frameworkintegration6                          <none>
pn  gdb                                            <none>
ii  init-system-helpers                            1.69~deb13u1
pn  iso-codes                                      <none>
pn  kactivitymanagerd                              <none>
pn  kded6                                          <none>
pn  kglobalacceld                                  <none>
pn  kio6                                           <none>
pn  kwallet6                                       <none>
pn  kwin-common                                    <none>
pn  kwin-wayland                                   <none>
pn  libappstreamqt3                                <none>
pn  libbatterycontrol6                             <none>
pn  libc6                                          <none>
pn  libcanberra0                                   <none>
pn  libcolorcorrect6                               <none>
pn  libcrypt1                                      <none>
pn  libdbus-1-3                                    <none>
pn  libfontconfig1                                 <none>
pn  libfreetype6                                   <none>
ii  libgcc-s1                                      14.2.0-19
pn  libice6                                        <none>
pn  libicu76                                       <none>
pn  libkexiv2qt6-0                                 <none>
pn  libkf6archive6                                 <none>
pn  libkf6authcore6                                <none>
pn  libkf6baloo6                                   <none>
pn  libkf6bookmarks6                               <none>
pn  libkf6calendarevents6                          <none>
pn  libkf6colorscheme6                             <none>
pn  libkf6completion6                              <none>
pn  libkf6config-bin                               <none>
pn  libkf6configcore6                              <none>
pn  libkf6configgui6                               <none>
pn  libkf6configqml6                               <none>
pn  libkf6configwidgets6                           <none>
pn  libkf6coreaddons6                              <none>
pn  libkf6crash6                                   <none>
pn  libkf6dbusaddons6                              <none>
pn  libkf6globalaccel6                             <none>
pn  libkf6guiaddons6                               <none>
pn  libkf6holidays6                                <none>
pn  libkf6i18n6                                    <none>
pn  libkf6i18nlocaledata6                          <none>
pn  libkf6iconthemes6                              <none>
pn  libkf6jobwidgets6                              <none>
pn  libkf6kcmutils6                                <none>
pn  libkf6kcmutilscore6                            <none>
pn  libkf6kcmutilsquick6                           <none>
pn  libkf6kiocore6                                 <none>
pn  libkf6kiofilewidgets6                          <none>
pn  libkf6kiogui6                                  <none>
pn  libkf6kiowidgets6                              <none>
pn  libkf6networkmanagerqt6                        <none>
pn  libkf6newstuffcore6                            <none>
pn  libkf6newstuffwidgets6                         <none>
pn  libkf6notifications6                           <none>
pn  libkf6notifyconfig6                            <none>
pn  libkf6package6                                 <none>
pn  libkf6parts6                                   <none>
pn  libkf6prison6                                  <none>
pn  libkf6runner6                                  <none>
pn  libkf6service-bin                              <none>
pn  libkf6service6                                 <none>
pn  libkf6solid6                                   <none>
pn  libkf6statusnotifieritem6                      <none>
pn  libkf6svg6                                     <none>
pn  libkf6texteditor-bin                           <none>
pn  libkf6texteditor6                              <none>
pn  libkf6textwidgets6                             <none>
pn  libkf6unitconversion6                          <none>
pn  libkf6userfeedbackcore6                        <none>
pn  libkf6wallet6                                  <none>
pn  libkf6widgetsaddons6                           <none>
pn  libkf6windowsystem6                            <none>
pn  libkf6xmlgui6                                  <none>
pn  libkfontinst6                                  <none>
pn  libkfontinstui6                                <none>
pn  libklipper6                                    <none>
pn  libkmpris6                                     <none>
pn  libkscreenlocker6                              <none>
pn  libksysguardsensorfaces2                       <none>
pn  libkwaylandclient6                             <none>
pn  libkworkspace6-6                               <none>
pn  liblayershellqtinterface6                      <none>
pn  libnotificationmanager1                        <none>
pn  libpackagekitqt6-1                             <none>
pn  libphonon4qt6-4t64                             <none>
pn  libplasma5support6                             <none>
pn  libplasma6                                     <none>
pn  libplasmaactivities6                           <none>
pn  libplasmaactivitiesstats1                      <none>
pn  libplasmaquick6                                <none>
pn  libpolkit-qt6-1-1                              <none>
pn  libprocesscore10                               <none>
pn  libqalculate23                                 <none>
pn  libqt6core6t64                                 <none>
pn  libqt6dbus6                                    <none>
pn  libqt6gui6                                     <none>
pn  libqt6network6                                 <none>
pn  libqt6positioning6                             <none>
pn  libqt6printsupport6                            <none>
pn  libqt6qml6                                     <none>
pn  libqt6quick6                                   <none>
pn  libqt6sql6                                     <none>
pn  libqt6svg6                                     <none>
pn  libqt6waylandclient6                           <none>
pn  libqt6widgets6                                 <none>
pn  libqt6xml6                                     <none>
pn  libsm6                                         <none>
pn  libstdc++6                                     <none>
pn  libsystemd0                                    <none>
pn  libtaskmanager6                                <none>
pn  libudev1                                       <none>
pn  libwayland-client0                             <none>
pn  libweather-ion7                                <none>
pn  libx11-6                                       <none>
pn  libxcb-composite0                              <none>
pn  libxcb-cursor0                                 <none>
pn  libxcb-damage0                                 <none>
pn  libxcb-image0                                  <none>
pn  libxcb-shape0                                  <none>
pn  libxcb-util1                                   <none>
pn  libxcb1                                        <none>
pn  libxcursor1                                    <none>
pn  libxfixes3                                     <none>
pn  libxft2                                        <none>
pn  libxtst6                                       <none>
pn  milou                                          <none>
pn  plasma-desktoptheme                            <none>
pn  plasma-integration                             <none>
pn  plasma-workspace-data                          <none>
pn  python3                                        <none>
pn  qdbus-qt6                                      <none>
pn  qml6-module-org-kde-activities                 <none>
pn  qml6-module-org-kde-breeze                     <none>
pn  qml6-module-org-kde-config                     <none>
pn  qml6-module-org-kde-coreaddons                 <none>
pn  qml6-module-org-kde-draganddrop                <none>
pn  qml6-module-org-kde-kcmutils                   <none>
pn  qml6-module-org-kde-kholidays                  <none>
pn  qml6-module-org-kde-kirigami                   <none>
pn  qml6-module-org-kde-kirigamiaddons-components  <none>
pn  qml6-module-org-kde-kitemmodels                <none>
pn  qml6-module-org-kde-kquickcontrols             <none>
pn  qml6-module-org-kde-kquickcontrolsaddons       <none>
pn  qml6-module-org-kde-ksvg                       <none>
pn  qml6-module-org-kde-ksysguard                  <none>
pn  qml6-module-org-kde-kwindowsystem              <none>
pn  qml6-module-org-kde-newstuff                   <none>
pn  qml6-module-org-kde-notifications              <none>
pn  qml6-module-org-kde-pipewire                   <none>
pn  qml6-module-org-kde-plasma-plasma5support      <none>
pn  qml6-module-org-kde-prison                     <none>
pn  qml6-module-org-kde-quickcharts                <none>
pn  qml6-module-org-kde-userfeedback               <none>
pn  qml6-module-qt5compat-graphicaleffects         <none>
pn  qml6-module-qtcore                             <none>
pn  qml6-module-qtpositioning                      <none>
pn  qml6-module-qtqml                              <none>
pn  qml6-module-qtqml-models                       <none>
pn  qml6-module-qtqml-workerscript                 <none>
pn  qml6-module-qtquick                            <none>
pn  qml6-module-qtquick-controls                   <none>
pn  qml6-module-qtquick-dialogs                    <none>
pn  qml6-module-qtquick-layouts                    <none>
pn  qml6-module-qtquick-shapes                     <none>
pn  qml6-module-qtquick-templates                  <none>
pn  qml6-module-qtquick-virtualkeyboard            <none>
pn  qml6-module-qtquick-window                     <none>
pn  qt6-base-private-abi                           <none>
pn  qt6-declarative-private-abi                    <none>
pn  qt6-wayland                                    <none>
pn  qt6-waylandclient-private-abi                  <none>
pn  udisks2                                        <none>
pn  x11-utils                                      <none>
pn  x11-xserver-utils                              <none>
pn  zlib1g                                         <none>

Versions of packages plasma-workspace recommends:
pn  kde-cli-tools         <none>
pn  kio-extras            <none>
pn  kio-fuse              <none>
pn  ksystemstats          <none>
pn  plasma-workspace-doc  <none>
pn  powerdevil            <none>
pn  systemsettings        <none>

plasma-workspace suggests no packages.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.