https://bugs.kde.org/show_bug.cgi?id=477365
ratijas <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |CONFIRMED Ever confirmed|0 |1 --- Comment #2 from ratijas <[email protected]> --- With a bunch of self-descriptive debug logs at the start/end of certain functions as well as in relevant branches, I can confirm my suspicions: The very first time KRunner is started, it shows up its window voluntarily just because it has started, and then it receives a DBus activation request, and toggles itself off. // Press Ctrl+Space once, KRunner blinks and immediately hides: Nov 26 22:03:01 orange dbus-daemon[893]: [session uid=1000 pid=893] Activating via systemd: service name='org.kde.krunner' unit='plasma-krunner.service' requested by ':1.11' (uid=1000 pid=972 comm="/usr/local/kde6/lib/libexec/kglobalacceld") Nov 26 22:03:01 orange systemd[878]: Starting KRunner... Nov 26 22:03:02 orange dbus-daemon[893]: [session uid=1000 pid=893] Successfully activated service 'org.kde.krunner' Nov 26 22:03:02 orange systemd[878]: Started KRunner. Nov 26 22:03:02 orange krunner[422512]: View::View(begin) Nov 26 22:03:02 orange krunner[422512]: objectIncubated(begin) Nov 26 22:03:02 orange krunner[422512]: objectIncubated(end) Nov 26 22:03:02 orange krunner[422512]: View::View(end) Nov 26 22:03:02 orange krunner[422512]: main() updateVisibility(before) Nov 26 22:03:02 orange krunner[422512]: main() updateVisibility() else Nov 26 22:03:02 orange krunner[422512]: toggleDisplay(begin) isVisible() = false , QGuiApplication::focusWindow() = QWindow(0x0) Nov 26 22:03:02 orange krunner[422512]: toggleDisplay(end) Nov 26 22:03:02 orange krunner[422512]: main() updateVisibility(after) Nov 26 22:03:02 orange krunner[422512]: QObject::startTimer: Timers cannot be started from another thread Nov 26 22:03:02 orange krunner[422512]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) Nov 26 22:03:03 orange krunner[422512]: slotFocusWindowChanged(begin) QGuiApplication::focusWindow() = View(0x7ffe9750ef40) , m_requestedClipboardSelection = false , m_pinned = false Nov 26 22:03:03 orange krunner[422512]: slotFocusWindowChanged(end) Nov 26 22:03:03 orange krunner[422512]: main DBus activateRequested(begin) QList("/usr/local/kde6/bin/krunner") Nov 26 22:03:03 orange krunner[422512]: main() updateVisibility() else Nov 26 22:03:03 orange krunner[422512]: toggleDisplay(begin) isVisible() = true , QGuiApplication::focusWindow() = View(0x7ffe9750ef40) Nov 26 22:03:03 orange krunner[422512]: toggleDisplay(end) Nov 26 22:03:03 orange krunner[422512]: main DBus activateRequested(end) Nov 26 22:03:03 orange krunner[422512]: slotFocusWindowChanged(begin) QGuiApplication::focusWindow() = QWindow(0x0) , m_requestedClipboardSelection = false , m_pinned = false Nov 26 22:03:03 orange krunner[422512]: slotFocusWindowChanged(end) // Press Ctrl+Space second time, KRunner shows up: Nov 26 22:03:08 orange krunner[422512]: main DBus activateRequested(begin) QList("/usr/local/kde6/bin/krunner") Nov 26 22:03:08 orange krunner[422512]: main() updateVisibility() else Nov 26 22:03:08 orange krunner[422512]: toggleDisplay(begin) isVisible() = false , QGuiApplication::focusWindow() = QWindow(0x0) Nov 26 22:03:08 orange krunner[422512]: toggleDisplay(end) Nov 26 22:03:08 orange krunner[422512]: main DBus activateRequested(end) Nov 26 22:03:08 orange krunner[422512]: slotFocusWindowChanged(begin) QGuiApplication::focusWindow() = View(0x7ffe9750ef40) , m_requestedClipboardSelection = false , m_pinned = false Nov 26 22:03:08 orange krunner[422512]: slotFocusWindowChanged(end) // Press Ctrl+Space for the third time, KRunner dismisses: Nov 26 22:03:10 orange krunner[422512]: main DBus activateRequested(begin) QList("/usr/local/kde6/bin/krunner") Nov 26 22:03:10 orange krunner[422512]: main() updateVisibility() else Nov 26 22:03:10 orange krunner[422512]: toggleDisplay(begin) isVisible() = true , QGuiApplication::focusWindow() = View(0x7ffe9750ef40) Nov 26 22:03:10 orange krunner[422512]: toggleDisplay(end) Nov 26 22:03:10 orange krunner[422512]: main DBus activateRequested(end) Nov 26 22:03:10 orange krunner[422512]: slotFocusWindowChanged(begin) QGuiApplication::focusWindow() = QWindow(0x0) , m_requestedClipboardSelection = false , m_pinned = false Nov 26 22:03:10 orange krunner[422512]: slotFocusWindowChanged(end) -- You are receiving this mail because: You are watching all bug changes.
