https://bugs.kde.org/show_bug.cgi?id=464099

--- Comment #5 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Now why does switching focus to the open window clear the token? There are some
checks that try to prevent that. One of them is comparing the input serials of
the current token and newly focussed window: "if (window->lastUsageSerial() <
m_currentActivationToken->serial)"

Plasma's notification code always sends 0 as input serial. This is because we
call KWindowSytem::lastInputSerial() with a nullptr QWindow always:
https://invent.kde.org/plasma/plasma-workspace/-/blob/master/libnotificationmanager/server.cpp#L69

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to