shellcoronoa's activateLauncherMenu launches the first launcher it encounters in any panel. When one is using two screens, both with a launcher, this will result in any of them getting launched rather than the most suitable (the one with the active window).
Harald can you please confirm if this bug report is still valid against current KDE, thanks.
Well, KDE being a community I don't think we are particularly buggy. The bug in Plasma is still pretty much the same. The first found applet that is a launcher and has a global shortcut is activated. https://invent.kde.org/plasma/plasma-workspace/-/blob/master/shell/shellcorona.cpp#L2188
*** Bug 436452 has been marked as a duplicate of this bug. ***
*** Bug 433317 has been marked as a duplicate of this bug. ***
*** Bug 430524 has been marked as a duplicate of this bug. ***
Needs new api from kwin that also specifies the screen you want to open the menu in
That new API was eventually, added and now this works, respecting the active screen as expected