Bug 485840 - Panel attracts the cursor to itself on some fullscreen games
Summary: Panel attracts the cursor to itself on some fullscreen games
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 6.0.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-20 07:28 UTC by Alexey
Modified: 2024-04-23 10:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Bug demonstration (3.36 MB, video/mp4)
2024-04-20 07:28 UTC, Alexey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2024-04-20 07:28:03 UTC
Created attachment 168709 [details]
Bug demonstration

SUMMARY
This bug report is related to https://bugs.kde.org/show_bug.cgi?id=474488 (maybe).

As in the mentioned bug, this bug affects some full-screen games and is not reproducible on other compositors like Mutter or Hyprland.

Like the previous issue involving the annoying flickering of the full screen game window with the visible system bar (the hidden panel did not caused this behavior), this issue has the same "triggers" but has a different observable result: the cursor moves to the bar (only when system panel is visible too).

There seem to be too many bugs associated with the panel lately, from apps losing focus when there are standalone widgets in the panel, to less detectable bugs like this that can persist for years. As a complete amateur in such questions, I am sincerely interested in why this is even possible.

STEPS TO REPRODUCE
1. Set "Always visible" to panel;
2. Launch game with detectable behavior (for example, HoMM3);
3. Perform “trigger” actions that lead to an issue (see attachments).

OBSERVED RESULT
...

EXPECTED RESULT
...
Comment 1 Alexey 2024-04-20 07:28:58 UTC
An important point: in the demo you can see that some of the triggers of the mentioned bug 474488 still cause windows to flicker.
Comment 2 fanzhuyifan 2024-04-20 23:49:48 UTC
Is this on wayland or x11?
Comment 3 Alexey 2024-04-21 07:18:24 UTC
(In reply to fanzhuyifan from comment #2)
> Is this on wayland or x11?

It's Wayland, but something tells me that it's reproducible regardless of session.