Bug 414022 - New windows are placed behind active window
Summary: New windows are placed behind active window
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.17.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-11 07:25 UTC by Anders Lund
Modified: 2023-02-17 03:49 UTC (History)
2 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 Anders Lund 2019-11-11 07:25:19 UTC
When opening a new application from krunner, it almost always placed behind the active one.
Focus stealing prevention is set to low (default), switching to none does not help.

STEPS TO REPRODUCE
1. activate krunner and type something, select an application to launch
2. there are no more steps

OBSERVED RESULT
The new application window is not visible

EXPECTED RESULT
The new application window is visible

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux, fully updated
(available in About System)
KDE Plasma Version: 5.17.2
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION
I run plasma with almost default settings.
The problem is the same if I use the system menu in the panel.
Comment 1 David Edmundson 2019-11-11 10:08:07 UTC
X or wayland
Comment 2 Anders Lund 2019-11-11 11:40:06 UTC
AFAICT X, as I did not do anything in particular to run wayland, and of course kwin_x11 is running.

I updated after filing the issue, and got kde framworks 5.64, and the issue appears to affect fewer apps now. Okular still comes up behind, but Falkon for example right now comes up on top. Quite weird.
Comment 3 Vlad Zahorodnii 2019-11-20 15:04:03 UTC
The requested information has been provided.
Comment 4 Vlad Zahorodnii 2023-01-18 12:50:24 UTC
Is the issue present in latest plasma (5.26 or 5.27)?
Comment 5 Bug Janitor Service 2023-02-02 05:01:34 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2023-02-17 03:49:03 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!