Bug 493828 - Cursor can't enter Warframe launcher window
Summary: Cursor can't enter Warframe launcher window
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: xwayland (show other bugs)
Version: 6.1.5
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-29 12:48 UTC by pmargeti34
Modified: 2024-10-09 02:29 UTC (History)
1 user (show)

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


Attachments
Bug showcase (560.64 KB, video/mp4)
2024-09-29 12:48 UTC, pmargeti34
Details
Display settings (215.41 KB, image/png)
2024-10-01 01:09 UTC, pmargeti34
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pmargeti34 2024-09-29 12:48:51 UTC
Created attachment 174201 [details]
Bug showcase

SUMMARY
In a wayland session, mouse cursor doesn't enter the area of Warframe launcher. It's not possible to click on the play button or interact with the window contents using the mouse.

STEPS TO REPRODUCE
1. Launch warframe
2. Try clicking the play button

OBSERVED RESULT
Warframe window resists the mouse cursor!

EXPECTED RESULT
I can click play

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux/6.1.5
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3

ADDITIONAL INFORMATION
Warframe runs under Xwayland. 
Launcher can be downloaded from https://www.warframe.com/download
Comment 1 pmargeti34 2024-09-30 14:20:25 UTC
Update: if the Legacy applications (X11) is set to "Scaled by the system" cursor can enter the launcher window normally. Conjecture: "Apply scaling themselves" breaks the cursor for Warframe and possibly other launchers. This option is the default.
Comment 2 Nate Graham 2024-09-30 23:16:45 UTC
That link downloads an MSI file, which is a windows installer archive. How did you get this installed on your presumably non-Windows System? Can you write specific instructions?

Also, what scale factor is your system using? And what's its screen resolution?
Comment 3 pmargeti34 2024-10-01 01:01:40 UTC
(In reply to Nate Graham from comment #2)
> That link downloads an MSI file, which is a windows installer archive. How
> did you get this installed on your presumably non-Windows System? Can you
> write specific instructions?
> 
Download the Warframe.msi file using your browser
Make sure you have wine (or wine-staging) and dxvk installed on your system
Open terminal emulator of your choice and navigate to where you downloaded the Warframe.msi file (e.g. 'cd Downloads')
execute 'wine Warframe.msi'

> Also, what scale factor is your system using? And what's its screen
> resolution?
Scale factor is 125%
Native screen resolution is 2560x1440@165 Hz
Comment 4 pmargeti34 2024-10-01 01:09:30 UTC
Created attachment 174246 [details]
Display settings
Comment 5 pmargeti34 2024-10-01 03:33:19 UTC
I toyed with the scaling settings last night and much to my surprise the cursor was able to enter the launcher window with "Apply scaling themselves" setting. As you can see in the showcase video, I didn't imagine the issue, but now I can't reproduce it anymore. I'm changing the bug status to WORKSFORME but also NEEDSINFO in hopes of receiving any kind of explanation as to why it didn't work but now it suddenly works. I should point out that there were no system updates between 'broken' and 'working' states. I'm baffled.
Comment 6 pmargeti34 2024-10-06 05:31:59 UTC
Update: I have a reproducer. Launching another game that uses xwayland (ADOM - https://www.gog.com/en/game/adom) prior to launching warframe causes warframe launcher window to ignore mouse pointer. Workaround is changing the scaling mode settings after ADOM has been closed.
Comment 7 pmargeti34 2024-10-09 02:29:28 UTC
Fixed in Plasma 6.2