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

Invisible mouse cursor

Open LarryAshy opened this issue 5 years ago • 14 comments

Your system information

Please describe your issue in as much detail as possible:

My mouse cursor is invisible in the in-game menu, but I can still use the mouse. After the recent updates I got it back working for one game. Then when I restart my computer it dissapears again. Already tried different cursor skins.

My in-game resolution is 1024x768. When the game is in window mode I can see the cursor. I have a two monitor setup.

untitled

LarryAshy avatar Jul 29 '18 20:07 LarryAshy

Same her on macOS.

osxdoc avatar Aug 05 '18 22:08 osxdoc

Without the -novid start option, the mouse coursor is back.

osxdoc avatar Aug 06 '18 21:08 osxdoc

Further investigations: Sometimes the cursor disappeares mid-game and doesn't come back. Then after a few days when I boot my PC and start a new game it is there again..

LarryAshy avatar Aug 18 '18 11:08 LarryAshy

With the latest update you removed the console command "cursortimeout". Setting the value to "1" fixed the cursor issue on MacOS EVERY TIME I used it.

Please bring back the command!

PaulGrill avatar Oct 22 '18 17:10 PaulGrill

I think I have found the source of the problem. I had f.lux installed and whenever it was running while csgo was open, the cursors was missing. As soon as I closed f.lux the cursor appeared again and hasn't since been missing.

LarryAshy avatar Nov 25 '18 12:11 LarryAshy

The cursor went missing right after I purchased a key through the Steam overlay.

When the screen went back to unlock the container with that key, the mouse cursor was missing. I could still click to unlock the container, after which I couldn't even click on the quit button since left click -with my now missing cursor- didn't register on it.

System specs (I had Steam Runtime disabled).

glubsy avatar Sep 29 '19 17:09 glubsy

I have this on macOS everyday. Have to quit & start again. Very annoying. Note that I tried stuff found on the net as ui_reloadscheme command & things like that but no luck...

MoOx avatar Oct 11 '19 20:10 MoOx

ui_reloadscheme 1 seems to work for me on macOS.

tillkruss avatar Nov 19 '19 00:11 tillkruss

@tillkruss thanks for the hint, it does indeed work around the issue. Just purchased the season pass, the glitch occurred again (mouse cursor missing), but this works for now.

glubsy avatar Nov 19 '19 20:11 glubsy

The bug is still present, but the ui_reloadscheme 1 trick does not help.

Are there any other workarounds?

halfzebra avatar Apr 03 '20 19:04 halfzebra

I still see this today. ui_reloadscheme 1 did not help. Any new thoughts?

csm10495 avatar Jun 24 '20 03:06 csm10495

@kisak-valve bump

Okay, so this is getting kinda ridicoulus, I found issues dating all the way back to 2014 with this issue.

Noteable ways to trigger this bug:

  • Community server list is utterly broken and 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..)

The dirty fix to bring back the cursor is to double tap backtick to open and close console quickly, this will bring back the cursor until it goes away again.

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 02 '22 17:01 3331

Duplicate of #591

BloodyIron avatar Jan 03 '22 18:01 BloodyIron

I have the same issue on Linux Mint. Cursor is only visible, when its moved and I can not click anything in the menu.

gituser823 avatar Mar 20 '22 12:03 gituser823