pop-os / cosmic-comp

Compositor for the COSMIC desktop environment
GNU General Public License v3.0
418 stars 51 forks source link

Strange mouse/cursor behaviour in fullscreen apps #484

Open Tipcat-98 opened 1 month ago

Tipcat-98 commented 1 month ago

This started around the time when #448 and related commits were added.

In one game, V Rising. The cursor is offset from it's actionable position. As seen in the screenshot the option box is highlighted when the cursor is moderately to the left of it. This only happens in "Exclusive Fullscreen" mode, where in "Windowed" it works fine.

In another game, World of Warcraft. The cursor position matches where it actually is but you cannot move it to the very right of the screen. As seen in the screenshot, I cannot move it further to the right. This only happens in "Fullscreen (window)" mode, in "Windowed" mode it is fine.

I have two 1920x1080 monitors and I'm on Nvidia.

System Info: Cosmic: Updated to latest git as of today OS: Pop!_OS 22.04 LTS x86_64 Kernel: 6.8.0-76060800daily20240311-g DE: GNOME 42.5 CPU: Intel i7-6700 (8) @ 4.000GHz GPU: NVIDIA GeForce RTX 2060 Rev. A GPU Driver: 550.67 Memory: 32024MiB

Tipcat-98 commented 1 month ago

I can't really confirm if this only happens with xwayland apps.

Sidenote (might be related, not sure): I tried native wayland terraria and it does exhibit the same instability with nvidia as my other issue - #419.

I'll rename to say fullscreen apps.

Tipcat-98 commented 3 weeks ago

screenshot-2024-06-11-15-28-41

Adding proper embeds instead of discord links