csgo-osx-linux icon indicating copy to clipboard operation
csgo-osx-linux copied to clipboard

[Linux] Mouse freezes/missing when opening developer console

Open CommanderAlchemy opened this issue 12 years ago • 14 comments

] version
Protocol version 13448
Exe version 1.34.4.8 (csgo)
Exe build: 17:49:07 Sep 18 2014 (5794) (730)

Steamsysteminfo

Issue

When opening the developer console the CS:GO mouse freezes. You still can move your mouse and select text etc but you cannot see the mouse itself other than the frozen CS:GO mouse.

Can be seen here for example. Mouse is stuck above in the right corner and still im able to select text in the developer console below. warpout1

CommanderAlchemy avatar Sep 22 '14 22:09 CommanderAlchemy

Can confirm. It seems the mouse is still moving, but the actual cursor is frozen and is stuck within the console frame. I can click stuff within the console, but I can't click buttons like "Watch".

Toggling the console off allows the mouse to move again. Upon doing so, the mouse cursor jumps to where the mouse actually was (while the cursor was frozen).

ceribik avatar Sep 22 '14 22:09 ceribik

Mine doesn't free, it's just missing entirely. The in-game mouse works okay, as does the Steam Overlay one, just doesn't give me the separate cursor for the console.

Vash63 avatar Sep 23 '14 00:09 Vash63

I confirm, problem is the same as CommanderAlchemy described.

lexandrop avatar Sep 23 '14 07:09 lexandrop

Looks like it was fixed in the recent update but it is still a little buggy

Mainly-Green avatar Oct 10 '14 21:10 Mainly-Green

Yeah it seems that the normal CS:GO (the big one) still freezes, but it now spawns the regular mouse cursor which can be used to click stuff. This is sufficient enough for me.

ceribik avatar Oct 10 '14 21:10 ceribik

Same here.

redditCommand avatar Oct 11 '14 01:10 redditCommand

For me, there is no mouse in steam's in-game overlay at all. I just kinda move it around and watch for stuff to highlight so I know where it is (this is one heck of a mini-game. :D).

dvereb avatar Oct 19 '14 05:10 dvereb

I just tried to reproduce this on a KDE Plasma Wayland session. I think the issue is mostly fixed, but maybe not entirely.

When opening the console underneath the cursor, and keeping the cursor within the console window, the mouse is visible and works as expected. However, when moving the mouse outside of the console window, it seems to be forced into the bottom right corner of the screen about every 100ms. If I try to move the cursor when its in this state, I can see it constantly teleporting back to the bottom right corner. This persists until the console is closed.

Protocol version 13797 [1306/1306]
Exe version 1.37.9.7 (csgo)
Exe build: 03:24:40 Jul  3 2021 (8234) (730)

eiglow avatar Aug 10 '21 07:08 eiglow

I just tried to reproduce this on a KDE Plasma Wayland session. I think the issue is mostly fixed, but maybe not entirely.

When opening the console underneath the cursor, and keeping the cursor within the console window, the mouse is visible and works as expected. However, when moving the mouse outside of the console window, it seems to be forced into the bottom right corner of the screen about every 100ms. If I try to move the cursor when its in this state, I can see it constantly teleporting back to the bottom right corner. This persists until the console is closed.

Protocol version 13797 [1306/1306]
Exe version 1.37.9.7 (csgo)
Exe build: 03:24:40 Jul  3 2021 (8234) (730)

Same thing here on Manjaro (5.14.0-1-MANJARO) and KDE Plasma 5.22.4 however the cursor teleports back into the console window (not into the bottom right corner)

Protocol version 13800 [1316/1316]
Exe version 1.38.0.0 (csgo)
Exe build: 22:27:57 Aug  9 2021 (8234) (730)

CrumblyLiquid avatar Aug 22 '21 15:08 CrumblyLiquid

Duplicate of #1743

3331 avatar Jan 02 '22 16:01 3331

@3331 this is the issue #1, open on September 2014. Do you want to say that #1743 is a duplicate of this issue perhaps?

leinardi avatar Jan 02 '22 17:01 leinardi

@3331 this is the issue #1, open on September 2014. Do you want to say that #1743 is a duplicate of this issue perhaps?

Oh wow, the very first issue, that is quite something I didn't even notice when going through all the issues about this lol.. anyway I just wanted to gather them all at one place and shine light on it somehow as it is an easy fix since it works in TF2. The other issue just had a better title, so I choose that one. I dont want to spam everyone again and really care which one gets the trophy, if anything @kisak-valve can do what he deems best I just want this fixed..

Edit:

Things that can trigger this bug:

  • Community server browsert breaks cursor visibility
  • When Console is open cursor spams cursor visibilty on/off constantly lagging the cursor and xorg
  • After a trade up contract cursor visibilty is broken
  • Potential cursor visibility issues whenever you open/close steam overlay (authorizing funds..)

For the lucky dev hopefully reading this. TF2 works completely fine, so copy the cursor hiding logic from that branch. Start by looking at void CSDLMgr::OnFrameRendered() it should be straight forward from there, simply copy that into the csgo equivalent function and cleanup the old cursor hiding logic in the respective places/functions.

3331 avatar Jan 03 '22 02:01 3331

Hello @3331, friendly reminder that I'm a moderator for Valve's issue trackers on Github, and not a CS:GO developer myself. No, I'm not going to summary merge all the cursor-related issue reports without direction from a CS:GO developer that there actually is a single underlying issue across most or all of them.

kisak-valve avatar Jan 03 '22 02:01 kisak-valve

Hello @kisak-valve that is no problem, I hope this at least shines some light on the issue/s as I strongly believe this is the case after taking the time to debug and narrow down the problem as much as I can.

This is the current state of the console for anyone wondering

https://user-images.githubusercontent.com/28063746/147895837-08eb132a-5bc3-4dab-86d8-bbf8db0696a8.mp4

3331 avatar Jan 03 '22 02:01 3331