[kwin] [Bug 504165] Electron app (XWayland) steals focus from native Wayland window after another X11 window closes

2025-05-13 Thread steemandlinux
https://bugs.kde.org/show_bug.cgi?id=504165

steemandlinux  changed:

   What|Removed |Added

Summary|XWayland ran electron app   |Electron app (XWayland)
   |is stealing focus from a|steals focus from native
   |native wayland app  |Wayland window after
   ||another X11 window closes

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 504165] New: XWayland ran electron app is stealing focus from a native wayland app

2025-05-13 Thread steemandlinux
https://bugs.kde.org/show_bug.cgi?id=504165

Bug ID: 504165
   Summary: XWayland ran electron app is stealing focus from a
native wayland app
Classification: Plasma
   Product: kwin
   Version: git-stable-Plasma/6.3
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: xwayland
  Assignee: kwin-bugs-n...@kde.org
  Reporter: steemandli...@gmail.com
  Target Milestone: ---

Summary:
Electron apps running under XWayland incorrectly regain focus after another
XWayland window is closed, even when a native Wayland window should become
active.

Steps to reproduce:

Launch an Electron application (running via XWayland).

Launch a second XWayland application.

In between, ensure there's a native Wayland window (e.g., Dolphin or a web
browser) that was active before.

Close the second XWayland application.

Expected behavior:
The previously active Wayland-native window (Dolphin or browser) should regain
focus.

Actual behavior:
The first Electron app (running on XWayland) becomes active and receives focus,
even though it wasn't the last active window.

Additional notes:

This issue only occurs with Electron apps running under XWayland. Other
XWayland clients (like xterm, xwayland ran chromium, wine) do not cause this
behavior.

If the same Electron app is launched using native Wayland
(--ozone-platform=wayland), the issue does not occur.

This suggests the problem may be related to how Electron/Chromium handles
background/foreground state under X11, possibly requesting focus incorrectly.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.3
KDE Frameworks Version: 6.13 
Qt Version: 6.9

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 504165] XWayland ran electron app is stealing focus from a native wayland app

2025-05-13 Thread steemandlinux
https://bugs.kde.org/show_bug.cgi?id=504165

steemandlinux  changed:

   What|Removed |Added

Version|git-stable-Plasma/6.3   |6.3.5
   Platform|Other   |Arch Linux

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 504165] Electron app (XWayland) steals focus from native Wayland window after another X11 window closes

2025-05-13 Thread steemandlinux
https://bugs.kde.org/show_bug.cgi?id=504165

steemandlinux  changed:

   What|Removed |Added

 CC||steemandli...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 504165] Electron app (XWayland) steals focus from native Wayland window after another X11 window closes

2025-05-14 Thread steemandlinux
https://bugs.kde.org/show_bug.cgi?id=504165

--- Comment #1 from steemandlinux  ---
Oh, I'm sorry my security settings were allowing  XWayland to handle mouse
outside of the XWayland. Shall I close the bugreport?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 504587] Lightsmark 2008 ignores xwayland security settings.

2025-05-20 Thread steemandlinux
https://bugs.kde.org/show_bug.cgi?id=504587

steemandlinux  changed:

   What|Removed |Added

 CC||steemandli...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 504587] New: Lightsmark 2008 ignores xwayland security settings.

2025-05-20 Thread steemandlinux
https://bugs.kde.org/show_bug.cgi?id=504587

Bug ID: 504587
   Summary: Lightsmark 2008 ignores xwayland security settings.
Classification: Plasma
   Product: kwin
  Version First 6.3.5
   Reported In:
  Platform: Arch Linux
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: xwayland
  Assignee: kwin-bugs-n...@kde.org
  Reporter: steemandli...@gmail.com
  Target Milestone: ---

SUMMARY

When I'm running a native x64 Lightsmark 2008 v.2.0 demo. It's trapping mouse
cursor and focus.

STEPS TO REPRODUCE
1. Download a native lightsmark
https://dee.cz/lightsmark/Lightsmark2008.2.0.tar.bz2
2. Run it with highest xwayland security settings and you will see that focus
and mouse were trapped.

EXPECTED RESULT
We must free mouse and change focus to another app.


SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.3.5
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0

ADDITIONAL INFORMATION:
xorg-xwayland 24.1.6-1

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 504587] Lightsmark 2008 ignores xwayland security settings.

2025-05-22 Thread steemandlinux
https://bugs.kde.org/show_bug.cgi?id=504587

--- Comment #2 from steemandlinux  ---
Yes, the Debug console is showing X11 Unmanaged Windows

-- 
You are receiving this mail because:
You are watching all bug changes.