This is a bug report in response of the discussion here: https://www.reddit.com/r/kde/comments/fpc7rt/latte_bug_fix_release_0910/flrb31d/ Right now the idea is that the window tracking feature of latte ignores plasma popups, but not windows like krunner or yakuake. This is the intended behaviour for deciding whether the panel should be transparent or not, if the transparency option is set, as those are windows positioned directly next to a top panel. The behaviour, however, doesn't match the appmenu applet, which is set to ignore all plasma popups. So if the window-title, window-buttons and window-appmenu applet are present, opening krunner changes the behaviour of the buttons and the title applets, but the appmenu keeps referring to the previous app. The proposed suggestion is to implement new properties such as skipTaskBar, skipSwitcher, skipPager for the LastActiveWindow class, so that the applets can ignore some apps if needed.
this was fixed much easier. The LastActiveWindow information are NOT used from Latte window touching algorithms. They are used only for applets to use them. So I blacklisted the relevant windows
Git commit ce245ab25372ccd647df1258609c67e928fb7f30 by Michail Vourlakos. Committed on 07/04/2020 at 10:00. Pushed by mvourlakos into branch 'master'. ignore some windows in LastActiveWindow --LastActiveWindow is providing information to applets thus special windows that contain the following flags: skipTaskBar AND (skipPager OR skipSwitcher) these windows can be totally ignored. In such window case the LastActiveWindow used are provided. M +9 -0 app/wm/tracker/lastactivewindow.cpp M +4 -0 app/wm/waylandinterface.cpp M +4 -0 app/wm/xwindowinterface.cpp https://commits.kde.org/latte-dock/ce245ab25372ccd647df1258609c67e928fb7f30