Bug 495862 - New windows shouldn't steal focus from an open Application Launcher
Summary: New windows shouldn't steal focus from an open Application Launcher
Status: RESOLVED LATER
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.3
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL: https://invent.kde.org/plasma/kwin/-/...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-06 03:47 UTC by Fernando M. Muniz
Modified: 2025-09-16 20:43 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2024-11-06 03:47:53 UTC
New windows shouldn't steal focus from an open Application Launcher, because it's very likely that the user is searching for something in particular and wouldn't want to be interrupted.
Comment 1 Nate Graham 2024-11-06 05:44:36 UTC
If we implemented what you're requesting in an unconditional manner, then if I used Application Launcher to launch an app, the app would appear below Application Launcher! Depending on the screen's resolution and scale, it might be covering up quite a lot of the window. That doesn't really make any sense.

In order to not be super annoying, we'd have to track windows that were opened by something *other* than Application Launcher. That might be possible. Let's move this to KWin to see what the KWin devs think.
Comment 2 Fernando M. Muniz 2024-11-06 06:09:11 UTC
(In reply to Nate Graham from comment #1)
> If we implemented what you're requesting in an unconditional manner, then if
> I used Application Launcher to launch an app, the app would appear below
> Application Launcher! Depending on the screen's resolution and scale, it
> might be covering up quite a lot of the window. That doesn't really make any
> sense.
> 
> In order to not be super annoying, we'd have to track windows that were
> opened by something *other* than Application Launcher. That might be
> possible. Let's move this to KWin to see what the KWin devs think.

Perhaps having it as an option disabled by default is the best approach.
Comment 3 Zamundaaa 2024-11-13 17:15:36 UTC
Once https://invent.kde.org/plasma/kwin/-/issues/186 is implemented, this will just work™
Comment 4 Fernando M. Muniz 2025-03-27 20:37:02 UTC
(In reply to Zamundaaa from comment #3)
> Once https://invent.kde.org/plasma/kwin/-/issues/186 is implemented, this
> will just work™

That's great. Some apps have loading screens, like GIMP. So I sometimes look at a part of the panel that expands, then the loaded app retracts.
Comment 5 Nate Graham 2025-09-16 20:43:19 UTC
Given that it's planned and being worked on as part of a larger project, there's no need to keep this open, as it will be difficult to track which exact part fixes it.

Once the whole project is complete, feel free to re-open if you find that the issue isn't resolved, though!