Bug 467289

Summary: In the Raven Shadow: Unable to access top-left corner during gameplay
Product: [Plasma] kwin Reporter: myself600
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde, nate, postix, xaver.hugl
Priority: NOR Keywords: regression
Version First Reported In: 5.27.10   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the bug
Screenshot of the bug #2

Description myself600 2023-03-13 18:03:11 UTC
Created attachment 157238 [details]
Screenshot of the bug

SUMMARY
I noticed that with Plasma/kwin 5.26.x, I cannot access the top-left corner of the screen while playing Ve stínu havrana using Wine. There's a slide-out icon in each corner of the screen, but the top-left one doesn't appear -- see video: https://youtu.be/pUS_ZmTo_t0?t=690. Instead, the mouse cursor appears on top of the arrow (see the attached screenshot). Downgrading kwin to 5.25.x solved the problem (incompatible with Plasma 5.27.x).

STEPS TO REPRODUCE
1. Install the game using Wine (https://www.gamepressure.com/download.asp?ID=4264)
2. Run winecfg and check "Emulate virtual desktop", then run the game
3. Switch window to fullscreen (Right click -> More -> Fullscreen). The game will be aligned to the top-left corner.
4. During gameplay, once the corner icons disappear, move the cursor to the top-left corner

OBSERVED RESULT
The mouse cursor will show up on top of the arrow (in-game cursor) instead of the slide-out icon. Disabling the hotspot with Alt+Shift+F12 doesn't affect the game.

EXPECTED RESULT
The slide-out "diskette" icon should appear

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.2.5-1-MANJARO-ARM (64-bit)
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-03-14 17:10:47 UTC
Are you using X11 or Wayland? Is the issue reproducible on both platforms, or only one?
Comment 2 myself600 2023-03-14 17:26:36 UTC
X11 as Wine is tied to it. Haven't tried xwayland yet.
Comment 3 Bug Janitor Service 2023-03-29 03:45:43 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 4 myself600 2023-07-02 18:05:36 UTC
7292af3d04a2f692a52564ef16509e3760624e64 is the first bad commit
Comment 5 David Edmundson 2023-07-05 10:08:51 UTC
Can you confirm your monitor setup?
Comment 6 myself600 2023-07-05 10:48:41 UTC
(In reply to David Edmundson from comment #5)
> Can you confirm your monitor setup?

I'm using a laptop
Comment 7 David Edmundson 2023-07-14 05:14:07 UTC
Can I have resolution and scale please
Comment 8 myself600 2023-07-14 10:08:25 UTC
1920x1080 / no scaling (960x540 with "xrandr --scale 0.5" on the picture)
Comment 9 myself600 2023-08-04 12:41:27 UTC
(In reply to myself600 from comment #2)
> X11 as Wine is tied to it. Haven't tried xwayland yet.

Same issue on a Wayland session
Comment 10 David Edmundson 2023-08-17 13:51:29 UTC
Can you confirm if "killall xembedsniproxy" makes this problem go away.
Comment 11 myself600 2023-08-18 15:36:19 UTC
The issue is present after xembedsniproxy is killed (confirmed with systemmonitor)
Comment 12 Zamundaaa 2023-08-30 12:31:44 UTC
Can you post the xwininfo for the window?
Comment 13 myself600 2023-08-30 17:34:16 UTC
xwininfo: Window id: 0x1e00008 "Default - Wine desktop"

  Absolute upper-left X:  0
  Absolute upper-left Y:  29
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 640
  Height: 480
  Depth: 24
  Visual: 0x40
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x1e00007 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+29  -1280+29  -1280-571  +0-571
  -geometry 640x480+0+0
Comment 14 Nate Graham 2024-01-17 16:09:42 UTC
Thanks for your patience here. Can I ask if you're able to reproduce the issue in any other games, or only this one?

Also, Plasma ships with a default top-left hotcorner that activates Present Windows when you move the mouse into that corner. Is this enabled for you? You can check in System Settings > Workspace > Screen Edges. If it is, can you disable it and see if that resolves the issue?
Comment 15 myself600 2024-01-19 19:22:05 UTC
Yes, system cursor appears in top-left corner with Jeff Wayne's 'The War Of The Worlds'.

> Disabling the hotspot with Alt+Shift+F12 doesn't affect the game.
Comment 16 myself600 2024-01-19 19:22:45 UTC
Created attachment 165047 [details]
Screenshot of the bug #2