BB-Games / gamemode-issues-requests

Suggest / Request stuff here. Or don't, it's up to you.
https://bbservers.co.uk/forums/index.php?forums/suggestions-bugs.223/
3 stars 0 forks source link

Hovering name & rank not displaying properly #74

Open Sod-ers opened 3 weeks ago

Sod-ers commented 3 weeks ago

Describe the bug Hovering playermodels for name & rank isn't working consistently for me; often it appears accidentally or I have to wiggle my mouse around until it pops up. I don't remember experiencing this behavior on Windows, first noticed when I switched to Linux.

How to reproduce the issue Please click here or the image below for a video demonstration.

Screenshots

System Information:

Protocol version 24
Exe version 2023.06.28 (garrysmod)
Exe build: 17:03:26 Jul 22 2024 (9379) (4000)
GMod version 2024.08.09, branch: x86-64, multicore: 1
Linux 64bit
Sod-ers commented 3 weeks ago

Pressing & releasing tab, I'm able to get the name & rank to appear on any part of the playermodel reproducibly. Upon any mouse movement it disappears immediately & only reappears at the feet of the playermodel, if I move my mouse around to find it.

TeddiO commented 3 weeks ago

I wonder if https://github.com/facepunch/garrysmod-issues/issues/4964 has some relevance here, because internally we use input.GetCursorPos(), though it wouldn't explain why it really only displays at the origin of the model instead of all over.

A comment from when Santamon originally wrote it:

-- If player mouse isn't in the middle-ish of their screen, we stop drawing (May have moved for VGUI.) -- We have a wiggle room of a 60 pixels to deal with some movement

so I wonder if on Linux (or your particular flavour) if it's interpretating that function differently. It would be good to know what distro you're running - however this is only a Linux based issue so far as it definitely doesn't happen on Windows.

Sod-ers commented 3 weeks ago

That's interesting. Pressing & releasing tab then moving mouse slowly will still show the name & rank exactly where my crosshair was; same behavior as the video though where it only appears in a tiny spot. Moving the mouse too fast or too far causes it to disappear. I'm using Linux Mint XFCE.

TeddiO commented 3 weeks ago

Out of curiosity, do you know if you're using raw mouse input or no? That could impact how the game is dealing with your cursor pos.

Sod-ers commented 3 weeks ago

The option is enabled, however it's grayed out & I can't seem to disable it. Clicking apply with it disabled just re-enables it & rejoining the server or restarting the game gives the same result.