Bug 440489 - Some windows are not lifted to the top of stacking order when interacted with
Summary: Some windows are not lifted to the top of stacking order when interacted with
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.25.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-08-01 12:30 UTC by Ilya Bizyaev
Modified: 2022-11-04 05:08 UTC (History)
3 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 Ilya Bizyaev 2021-08-01 12:30:21 UTC
SUMMARY
There is a recent bug that causes apps to stay on top for no particular reason.
For me, this most often happens with Firefox and Telegram: when browsing and chatting, Telegram stays on top of Firefox, even though Firefox's window is active. This also happened with Dolphin and Gwenview: I was sorting photos, and Gwenview sometimes stayed on top of focused Dolphin.


STEPS TO REPRODUCE
1. Open Firefox
2. Open Telegram (system window frame here)
3. Use both in turns for a while

OBSERVED RESULT
At some point Telegram will stay on top of Firefox, even though KWin doesn't think the "Keep on top" flag is set


EXPECTED RESULT
Window stacking order is respected


SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.3
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.3.18-59.16-default (64-bit)
Graphics Platform: X11
Graphics Processor: Mesa DRI Intel® UHD Graphics
Comment 1 Nate Graham 2021-08-02 20:50:46 UTC
Odd, I've never seen this happen. I don't suppose you have any window rules set for these apps or any other apps?
Comment 2 Ilya Bizyaev 2021-08-02 20:53:47 UTC
(In reply to Nate Graham from comment #1)
> Odd, I've never seen this happen. I don't suppose you have any window rules
> set for these apps or any other apps?

I have some app-specific window rules to apply titlebar color schemes or launch apps in specific activities, but they should not affect this...
Comment 3 David Edmundson 2021-08-02 21:11:29 UTC
Can you start disabling your rules until you find some specific trigger that makes this happen / not happen. Even if it doesn't make sense.

We need a bit more info to get us started on doing anything productive with this report.
Comment 4 Ilya Bizyaev 2021-08-12 22:03:12 UTC
I can reproduce this without any window rules.

What happened this time is that Firefox was below both Telegram and Konsole, responding to numerous clicks and window movement, but still staying below. So it seems it's less of "windows stick to top" and more of "windows stay below".
Comment 5 Nate Graham 2022-09-08 15:07:57 UTC
Are you able to reproduce this issue in Plasma 5.25 or later?
Comment 6 Ilya Bizyaev 2022-09-08 15:51:48 UTC
Yes, I can reproduce with 5.25
Comment 7 Zamundaaa 2022-09-08 19:25:49 UTC
Do you have the "Slide Back" effect enabled?
Comment 8 Nate Graham 2022-09-08 19:33:16 UTC
.
Comment 9 Ilya Bizyaev 2022-09-08 20:11:22 UTC
No, I don't use that effect
Comment 10 Vlad Zahorodnii 2022-09-15 08:50:41 UTC
Can you post the output of `xwininfo -root -tree` when the stacking order is broken?
Comment 11 Ilya Bizyaev 2022-09-17 16:14:38 UTC
Just reproduced this on Wayland, Plasma 5.26 beta — wrong moment for xwininfo I suppose :)
Comment 12 Bug Janitor Service 2022-10-02 04:49:03 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 13 Ilya Bizyaev 2022-10-05 10:24:28 UTC
I've been using Wayland since Plasma 5.26 beta; is there an equivalent command that I can use there?
Comment 14 Vlad Zahorodnii 2022-10-05 10:38:20 UTC
(In reply to Ilya Bizyaev from comment #13)
> I've been using Wayland since Plasma 5.26 beta; is there an equivalent
> command that I can use there?

On Wayland, no.
Comment 15 Bug Janitor Service 2022-10-20 04:59:41 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 16 Bug Janitor Service 2022-11-04 05:08:08 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!