ValveSoftware / ValveSoftware/Proton

Keyboard media keys un-lock the mouse cursor in most games

Open
#6,624 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

In windowed games (or even full-screen, with two monitors,) pressing media keys on a keyboard will unlock the mouse cursor.

I've had this happen across a variety of games, on a few different engines (Halo infinite, which is custom; Ultrakill which is unity; and Outriders, which is unreal; just to name a few)

Tested on proton 7.0-6, experimental, and other assorted versions i can't remember (it's been a persistent issue)

This does not happen on native linux games, Superhot has both and this issue only happens on the windows version

here's a demo video to show the issue:

https://user-images.githubusercontent.com/16214950/226150258-ab8cd191-9c4f-4730-a1d2-1e78e60fc6b5.mp4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in a windowed or dual-monitor Windows game using the listed Proton versions, then compare media-key behavior with a native Linux game. Use the linked video and the examples in the report to define the expected result: media keys must not release the captured mouse cursor.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.