Bug 500294 - Focus stealing prevention on Wayland: multiple issues
Summary: Focus stealing prevention on Wayland: multiple issues
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.1.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-18 01:41 UTC by Roman Odaisky
Modified: 2025-02-18 02:33 UTC (History)
0 users

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 Roman Odaisky 2025-02-18 01:41:43 UTC
Focus stealing prevention level: Medium.

Press a shortcut to launch an app. It doesn’t get focus but it should.

In Konsole, run a GUI app. It doesn’t get focus but it should.

Click a text file when Kate is configured to open each file in a new window and not a tab. It gets focus as it should, but a previously opened Kate window with an entirely different file is also marked as demanding attention.

Start Chromium after it crashed while multiple tabs were open. Ask to reopen the tabs. It opens windows one by one and they all steal focus as they appear, but they shouldn’t.

Connect a phone over USB. A panel appears. It steals the focus, which makes zero sense because it doesn’t accept any keyboard input. Especially bad if the device is buggy and seems to disconnect and reconnect often, and the panel steals the focus each time.
Comment 1 Bug Janitor Service 2025-02-18 02:33:37 UTC
Thank you for the bug report!

However Plasma 6.1.5 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.2 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 6.1.5, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.