Start menu closes itself immediately

Sometimes when I open the start menu, it closes itself right away. I see it open, but then it closes before I can do anything. If it happens once, it keeps happening until I run plasmashell --replace. Sometimes it’s like that as soon as I boot in, and sometimes it seems to start happening a while after booting.

Here is the journalctl output for plasma from my current boot, which does have the issue currently:

Apr 23 15:54:11 debian systemd[1358]: Starting plasma-kcminit.service - KDE Config Module Initialization...
Apr 23 15:54:11 debian kcminit_startup[1595]: Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_style.so"
Apr 23 15:54:11 debian kcminit_startup[1595]: Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_fonts.so"
Apr 23 15:54:11 debian kcminit_startup[1595]: Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_mouse.so"
Apr 23 15:54:11 debian systemd[1358]: Started plasma-kcminit.service - KDE Config Module Initialization.
Apr 23 15:54:11 debian dbus-daemon[1385]: [session uid=1000 pid=1385] Activating via systemd: service name='org.freedesktop.impl.portal.desktop.kde' unit='plasma-xdg-desktop-portal-kde.service' requested by ':1.22' (uid=1000 pid=1535 comm="/usr/libexec/xdg-desktop-portal")
Apr 23 15:54:11 debian systemd[1358]: Starting plasma-ksmserver.service - KDE Session Management Server...
Apr 23 15:54:11 debian systemd[1358]: Started plasma-kwallet-pam.service - Unlock kwallet from pam credentials.
Apr 23 15:54:11 debian systemd[1358]: Starting plasma-kded.service - KDE Daemon...
Apr 23 15:54:11 debian systemd[1358]: Starting plasma-kwin_x11.service - KDE Window Manager...
Apr 23 15:54:11 debian systemd[1358]: Started plasma-kded.service - KDE Daemon.
Apr 23 15:54:11 debian systemd[1358]: Starting plasma-kcminit-phase1.service - KDE Configuration Module Initialization (Phase 1)...
Apr 23 15:54:11 debian kcminit_startup[1595]: Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_kgamma.so"
Apr 23 15:54:11 debian kcminit_startup[1595]: Initializing  "/usr/lib/x86_64-linux-gnu/qt5/plugins/plasma/kcms/systemsettings/kcm_touchpad.so"
Apr 23 15:54:11 debian systemd[1358]: Finished plasma-kcminit-phase1.service - KDE Configuration Module Initialization (Phase 1).
Apr 23 15:54:11 debian dbus-daemon[1385]: [session uid=1000 pid=1385] Activating via systemd: service name='org.kde.kglobalaccel' unit='plasma-kglobalaccel.service' requested by ':1.32' (uid=1000 pid=1619 comm="/usr/bin/ksmserver")
Apr 23 15:54:11 debian systemd[1358]: Starting plasma-kglobalaccel.service - KDE Global Shortcuts Server...
Apr 23 15:54:12 debian systemd[1358]: Started plasma-kglobalaccel.service - KDE Global Shortcuts Server.
Apr 23 15:54:12 debian systemd[1358]: Started plasma-ksmserver.service - KDE Session Management Server.
Apr 23 15:54:12 debian systemd[1358]: Starting plasma-plasmashell.service - KDE Plasma Workspace...
Apr 23 15:54:12 debian systemd[1358]: Started plasma-kwin_x11.service - KDE Window Manager.
Apr 23 15:54:12 debian dbus-daemon[1385]: [session uid=1000 pid=1385] Activating via systemd: service name='org.kde.ActivityManager' unit='plasma-kactivitymanagerd.service' requested by ':1.30' (uid=1000 pid=1621 comm="/usr/bin/kded5")
Apr 23 15:54:12 debian systemd[1358]: Starting plasma-kactivitymanagerd.service - KActivityManager Activity manager Service...
Apr 23 15:54:12 debian plasmashell[1660]: Checking screens: available: (QScreen(0x557c34e800e0, name="HDMI-0")) redundant: QHash() fake: QSet() all: (QScreen(0x557c34e800e0, name="HDMI-0"))
Apr 23 15:54:12 debian plasmashell[1660]: Checking screens: available: (QScreen(0x557c34e800e0, name="HDMI-0")) redundant: QHash() fake: QSet() all: (QScreen(0x557c34e800e0, name="HDMI-0"))
Apr 23 15:54:12 debian systemd[1358]: Started plasma-plasmashell.service - KDE Plasma Workspace.
Apr 23 15:54:12 debian systemd[1358]: Reached target plasma-core.target - KDE Plasma Workspace Core.
Apr 23 15:54:12 debian systemd[1358]: Started plasma-gmenudbusmenuproxy.service - Proxies GTK DBus menus to a Plasma readable format.
Apr 23 15:54:12 debian systemd[1358]: Starting plasma-polkit-agent.service - KDE PolicyKit Authentication Agent...
Apr 23 15:54:12 debian systemd[1358]: Starting plasma-powerdevil.service - Powerdevil...
Apr 23 15:54:12 debian systemd[1358]: Starting plasma-xdg-desktop-portal-kde.service - Xdg Desktop Portal For KDE...
Apr 23 15:54:12 debian systemd[1358]: Started plasma-xembedsniproxy.service - Handle legacy xembed system tray icons.
Apr 23 15:54:13 debian dbus-daemon[1385]: [session uid=1000 pid=1385] Activating via systemd: service name='org.kde.KScreen' unit='plasma-kscreen.service' requested by ':1.30' (uid=1000 pid=1621 comm="/usr/bin/kded5")
Apr 23 15:54:13 debian systemd[1358]: Starting plasma-kscreen.service - KScreen...
Apr 23 15:54:13 debian systemd[1358]: Started plasma-kactivitymanagerd.service - KActivityManager Activity manager Service.
Apr 23 15:54:13 debian plasmashell[1660]: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
Apr 23 15:54:13 debian plasmashell[1660]: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Apr 23 15:54:13 debian plasmashell[1660]: Aborting shell load: The activity manager daemon (kactivitymanagerd) is not running.
Apr 23 15:54:13 debian plasmashell[1660]: If this Plasma has been installed into a custom prefix, verify that its D-Bus services dir is known to the system for the daemon to be activatable.
Apr 23 15:54:13 debian plasmashell[1660]: kf.plasma.quick: Applet preload policy set to 1
Apr 23 15:54:13 debian systemd[1358]: Started plasma-kscreen.service - KScreen.
Apr 23 15:54:13 debian systemd[1358]: Started plasma-polkit-agent.service - KDE PolicyKit Authentication Agent.
Apr 23 15:54:13 debian systemd[1358]: Started plasma-xdg-desktop-portal-kde.service - Xdg Desktop Portal For KDE.
Apr 23 15:54:14 debian systemd[1358]: Started plasma-powerdevil.service - Powerdevil.
Apr 23 15:54:14 debian systemd[1358]: Reached target plasma-workspace.target - KDE Plasma Workspace.
Apr 23 15:54:14 debian systemd[1358]: Reached target plasma-workspace-x11.target.
Apr 23 15:54:14 debian systemd[1358]: Starting plasma-ksplash-ready.service - KSplash "ready" Stage...
Apr 23 15:54:14 debian systemd[1358]: Starting plasma-restoresession.service - KDE Session Restoration...
Apr 23 15:54:14 debian systemd[1358]: Finished plasma-ksplash-ready.service - KSplash "ready" Stage.
Apr 23 15:54:14 debian systemd[1358]: Finished plasma-restoresession.service - KDE Session Restoration.
Apr 23 15:54:15 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
Apr 23 15:54:15 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
Apr 23 15:54:16 debian plasmashell[1660]: Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
Apr 23 15:54:17 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:499:13: QML Label: Binding loop detected for property "height"
Apr 23 15:54:17 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:534:9: QML Label: Binding loop detected for property "height"
Apr 23 15:54:17 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.digitalclock/contents/ui/DigitalClock.qml:556:5: QML Label: Binding loop detected for property "height"
Apr 23 15:54:17 debian plasmashell[1660]: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
Apr 23 15:54:17 debian plasmashell[1660]: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
Apr 23 15:54:18 debian plasmashell[1660]: libkcups: CUPS-Get-Printers last error: 1030 No destinations added.
Apr 23 15:54:18 debian plasmashell[1660]: libkcups: Create-Printer-Subscriptions last error: 0 successful-ok
Apr 23 15:54:18 debian plasmashell[1660]: libkcups: Get-Jobs last error: 0 successful-ok
Apr 23 15:54:18 debian plasmashell[1660]: libkcups: Get-Jobs last error: 0 successful-ok
Apr 23 15:54:18 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.networkmanagement/contents/ui/main.qml:95: TypeError: Cannot read property 'airplaneModeAvailable' of null
Apr 23 15:54:18 debian plasmashell[1660]: libkcups: 0
Apr 23 15:54:18 debian plasmashell[1660]: libkcups: 0
Apr 23 15:54:19 debian plasmashell[1660]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
Apr 23 15:54:19 debian plasmashell[1660]: QQmlVMEMetaObject: Internal error - attempted to evaluate a function in an invalid context
Apr 23 15:54:19 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/main.qml:399: TypeError: Property 'modelIndex' of object Task_QMLTYPE_296(0x557c36c1e570) is not a function
Apr 23 15:54:19 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/CompactRepresentation.qml:61:17: Unable to assign [undefined] to int
Apr 23 15:54:24 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2005, resource id: 77594628, major code: 3 (GetWindowAttributes), minor code: 0
Apr 23 15:54:24 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2006, resource id: 77594628, major code: 142 (Unknown), minor code: 1
Apr 23 15:54:24 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 2007, resource id: 77594628, major code: 143 (Unknown), minor code: 1
Apr 23 15:54:24 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2008, resource id: 77594628, major code: 2 (ChangeWindowAttributes), minor code: 0
Apr 23 15:54:24 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2009, resource id: 77594628, major code: 142 (Unknown), minor code: 3
Apr 23 15:54:24 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 152 (Unknown), sequence: 2010, resource id: 37748826, major code: 143 (Unknown), minor code: 2
Apr 23 15:54:39 debian plasmashell[1660]: libpng warning: iCCP: known incorrect sRGB profile
Apr 23 15:54:39 debian plasmashell[1660]: libpng warning: known incorrect sRGB profile
Apr 23 15:54:39 debian plasmashell[1660]: libpng warning: profile matches sRGB but writing iCCP instead
Apr 23 15:54:49 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:125: TypeError: Cannot read property 'compactRepresentationItem' of null
Apr 23 15:55:58 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Kickoff.qml:157:34: QML FullRepresentation (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "preferredWidth"
Apr 23 15:55:58 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Footer.qml:155:5: QML LeaveButtons: Binding loop detected for property "shouldCollapseButtons"
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4690, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4691, resource id: 37748853, major code: 55 (CreateGC), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4692, resource id: 37748853, major code: 72 (PutImage), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4693, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4694, resource id: 37748855, major code: 55 (CreateGC), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4695, resource id: 37748855, major code: 72 (PutImage), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4696, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4697, resource id: 37748857, major code: 55 (CreateGC), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4698, resource id: 37748857, major code: 72 (PutImage), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4699, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4700, resource id: 37748859, major code: 55 (CreateGC), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4701, resource id: 37748859, major code: 72 (PutImage), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4702, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4703, resource id: 37748861, major code: 55 (CreateGC), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4704, resource id: 37748861, major code: 72 (PutImage), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4705, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4706, resource id: 37748863, major code: 55 (CreateGC), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4707, resource id: 37748863, major code: 72 (PutImage), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4708, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4709, resource id: 37748865, major code: 55 (CreateGC), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4710, resource id: 37748865, major code: 72 (PutImage), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 2 (BadValue), sequence: 4711, resource id: 0, major code: 53 (CreatePixmap), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4712, resource id: 37748867, major code: 55 (CreateGC), minor code: 0
Apr 23 15:55:58 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 4713, resource id: 37748867, major code: 72 (PutImage), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Footer.qml:155:5: QML LeaveButtons: Binding loop detected for property "shouldCollapseButtons"
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 12959, resource id: 37748857, major code: 54 (FreePixmap), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 12960, resource id: 37748858, major code: 60 (FreeGC), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 12961, resource id: 37748859, major code: 54 (FreePixmap), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 12962, resource id: 37748860, major code: 60 (FreeGC), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 12963, resource id: 37748861, major code: 54 (FreePixmap), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 12964, resource id: 37748862, major code: 60 (FreeGC), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 12965, resource id: 37748863, major code: 54 (FreePixmap), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 12966, resource id: 37748864, major code: 60 (FreeGC), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 12967, resource id: 37748865, major code: 54 (FreePixmap), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 12968, resource id: 37748866, major code: 60 (FreeGC), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 12969, resource id: 37748867, major code: 54 (FreePixmap), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 12970, resource id: 37748868, major code: 60 (FreeGC), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 12971, resource id: 37748853, major code: 54 (FreePixmap), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 12972, resource id: 37748854, major code: 60 (FreeGC), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 4 (BadPixmap), sequence: 12973, resource id: 37748855, major code: 54 (FreePixmap), minor code: 0
Apr 23 16:37:15 debian plasmashell[1660]: qt.qpa.xcb: QXcbConnection: XCB error: 13 (BadGC), sequence: 12974, resource id: 37748856, major code: 60 (FreeGC), minor code: 0
Apr 23 16:52:38 debian plasmashell[1660]: libkcups: Renew-Subscription last error: 0 successful-ok
Apr 23 16:56:40 debian plasmashell[1660]: trying to show an empty dialog
Apr 23 16:57:00 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:286: Unable to assign [undefined] to QString
Apr 23 16:57:00 debian plasmashell[1660]: file:///usr/share/plasma/plasmoids/org.kde.plasma.taskmanager/contents/ui/Task.qml:286: Unable to assign [undefined] to QString
Apr 23 16:57:00 debian plasmashell[12538]: kf.xmlgui: Shortcut for action  "" "Show Quick Commands" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Apr 23 16:57:00 debian plasmashell[12538]: kf.xmlgui: Shortcut for action  "" "Show SSH Manager" set with QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.

I don’t know enough about plasma to say which of these logs is related to the problem, I would greatly appreciate help.

Update: I just discovered the bug is dependent on focus. If plasma is focused, including if the desktop or a configuration window is focused, then the application launcher behaves normally. If another app - firefox, steam, even dolphin - is focused, instant close.

You might need to post KInfoCenter details on your system.

Sure thing

Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-30-amd64 (64-bit)
Graphics Platform: X11
Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz
Memory: 15.6 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2060/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7B24
System Version: 2.0

That’s pretty old Plasma, not sure if anybody will want to debug that. Anyway, I recommend upgrading to 6, if possible.

KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.3

Hi! Just to double-check, do you have Focus Stealing Prevention set to “High” or “Extreme”? That’s been known to cause the Application Launcher to immediately close, due to the odd interaction between how the Plasma panel works and how KWin is thinking about window focus.

That’s the newest version on Debian Stable. I thought lots of people still used Debian stable.

Thank you. It’s odd that the issue described by Nikos only appears sometimes, and that I can fix it. They must have implemented a fix that doesn’t work all the time. I am using “click to focus” and “high” focus stealing prevention. Medium is even worse, so I tried to implement a window rule for plasmashell to add extreme focus protection and none focus stealing prevention. I hope it works.

1 Like

Ah, I see, got spoiled by KDE Neon.

The window rule for focus protection on the application launcher has been working great for the past three weeks. Here are the settings:

1 Like