Bug 379475 - activateLauncherMenu launches wrong launcher with multiple screens
Summary: activateLauncherMenu launches wrong launcher with multiple screens
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.9.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
: 430524 433317 436452 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-03 10:57 UTC by Harald Sitter
Modified: 2023-04-21 15:15 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Sitter 2017-05-03 10:57:20 UTC
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).
Comment 1 Justin Zobel 2020-11-08 07:21:52 UTC
Harald can you please confirm if this bug report is still valid against current KDE, thanks.
Comment 2 Harald Sitter 2020-11-09 12:07:47 UTC
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
Comment 3 Nate Graham 2021-08-16 23:53:43 UTC
*** Bug 436452 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2021-08-16 23:53:53 UTC
*** Bug 433317 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2021-08-17 01:50:06 UTC
*** Bug 430524 has been marked as a duplicate of this bug. ***
Comment 6 Marco Martin 2021-08-24 12:47:39 UTC
Needs new api from kwin that also specifies the screen you want to open the menu in
Comment 7 Nate Graham 2023-04-21 15:15:07 UTC
That new API was eventually, added and now this works, respecting the active screen as expected