NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.2k stars 14.2k forks source link

lutris cursor bug #320175

Open patrulhasirius opened 5 months ago

patrulhasirius commented 5 months ago

Describe the bug

Different cursor behavior from other distros on World of Warcraft running inside lutris. In wow, the most common method of moving the camera is by holding right click, this makes the cursor disappear and makes the camera move based on mouse movement, after releasing right click the cursor should reappear where it was before right clicking. Instead, the cursor moves while invisible, even jumping to other monitors, this renders the game basically unplayable.

This does not seem to be intended as this is not the behavior observed in the flatpak or in arch linux. This odd behavior happens both in unstable and in stable-24.05.

Steps To Reproduce

Steps to reproduce the behavior:

  1. install battle.net with lutris
  2. install World of Warcraft
  3. open World of Warcraft
  4. move camera with right click

Expected behavior

Cursor should stay locked where the player right clicked

Additional context

This bug has been discussed in this thread on reddit

I have not tested but I think this problem could also affect others games that use this control scheme like final fantasy XIV

Notify maintainers

@Madouura

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
output here
- system: `"x86_64-linux"`
 - host os: `Linux 6.6.32, NixOS, 24.11 (Vicuña), 24.11.20240612.57d6973`
 - multi-user?: `yes`
 - sandbox: `relaxed`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/store/dydg48djlykksz8cxq0xjplyxpa9pvf4-source`

Add a :+1: reaction to issues you find important.

ReLoneR1 commented 1 month ago

as far as i understand its a problem with lutris runtime specifically. They missing some libraries or not symlinking them correctly for nix. Apparently the problem is with libjansson from their runtime