hmlendea / gfn-electron

Linux Desktop client for Nvidia's GeForce NOW game streaming service
GNU General Public License v3.0
538 stars 63 forks source link

[BUG] Wayland requires escape be pressed twice #255

Open jacobleeharris opened 2 months ago

jacobleeharris commented 2 months ago

Describe the bug

On Wayland systems, the ESCAPE button must be pressed twice for the input to go to the game being played. The first escape unlocks the mouse and the second escape is input towards the game.

The expected response is for the mouse to not be unlocked and the input to go towards the game the first time.

To Reproduce

  1. Open a game in Geforce NOW
  2. Press the Escape button when using the Wayland display server
  3. Mouse will unlock
  4. Press the Escape button again
  5. Menu should now pop up as expected

Screenshots

No response

Operating System

Fedora

Desktop Environment

GNOME 46.5

Display Server

Wayland

Installation method

AppImage

Version

2.1.2

Is this a fresh install of the app or an update from a past version?

Fresh install

Did this issue appear right away upon installation/updating, or spontaneously?

Yes, right after installation

Additional context

No response

jacobleeharris commented 2 months ago

This issue may be a duplicate of #137 but I believe this is a different issue as most of the comments there state X11 as the display server while this issue only affects me on the Wayland display server instead.