Bug 484932 - Window is not activated when brought to foreground
Summary: Window is not activated when brought to foreground
Status: RESOLVED DUPLICATE of bug 478556
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.0.3
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-02 15:58 UTC by Cristian Le
Modified: 2024-04-02 19:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Le 2024-04-02 15:58:15 UTC
SUMMARY

The setup is that I have 2 Jetbrains IDEs that are overlapping with each other. When I select one to bring to foreground, the mouse clicks, etc. are still being sent to the background app.

So far I am not sure what kind of apps trigger it, but it seems flatpak and native apps are safe.

jp_bennett in matrix chat room also reported this happenning with vscode/thunderbird + chrome

STEPS TO REPRODUCE

Not guaranteed to be reproduced, it sometimes happens with the same Jetbrains IDE, but most often it is with different IDEs

1. Have 2 windows overlap
2. Switch between which window is in focus
3. Click/right-click/type and observe if it's directed to the appropriate window


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 40
(available in About System)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 1 Zamundaaa 2024-04-02 16:09:12 UTC
Do you have the "Slide Back" effect enabled?
Comment 2 Nate Graham 2024-04-02 16:20:32 UTC
Could also be Bug 478556.
Comment 3 Cristian Le 2024-04-02 16:24:21 UTC
(In reply to Zamundaaa from comment #1)
> Do you have the "Slide Back" effect enabled?

No, it is disabled. If i enabled that things are thousand times worse.
Comment 4 Nate Graham 2024-04-02 16:31:14 UTC

*** This bug has been marked as a duplicate of bug 478556 ***
Comment 5 Nate Graham 2024-04-02 16:46:47 UTC

*** This bug has been marked as a duplicate of bug 478556 ***
Comment 6 Cristian Le 2024-04-02 19:06:13 UTC
It happened again, and this time between a Jetbrains IDE and zulip (installed from Flatpak). This time it was because neither windows were in focus, and even though I clicked on the Jebtrains IDE in the foreground, the actions were selected for zulip in the background. Zulip remained in the background during that.
Comment 7 Nate Graham 2024-04-02 19:11:02 UTC
The problem is one or both of those apps not supporting the xdg-activation-v1 Wayland protocol.