[performance] Mouse input loses focus randomly #189
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What you see
Mouse camera view randomly loses focus and stops responding to X/Y mouse movement. The camera stays static until I click LMB or RMB to regain control. Happens at random while in fullscreen. I haven't tested other screen modes, so this could or could not be fullscreen-specific.
Before you post
RAY TRACING in F1
Off
GPU and driver
4070S nvidia 621.47
CPU, RAM and Windows version
Ryzen 5 7600, Win 11
Darner release or commit
Built from source from:
dc332e0Merge PR #179Settings
Settings:
Bindings.ini
Sensitivity = 0.2
MoveUp = W
MoveDown = S
MoveLeft = A
MoveRight = D
RT = C, Mouse1
LT = Z, Mouse2
A = Enter, Space
B = Backspace
X = X
Y = Y
LB = Q
RB = E
LS = F, Shift
RS = H, Mouse3
Menu = Esc
View = Tab
DpadUp = Up
DpadDown = Down
DpadLeft = Left
DpadRight = Right
Log files attached
.
Are you working on a fix?
No
Your log shows the capture released and taken again 15 times in 10 minutes, but not why. Main (
f899d8cf) now logs anative mouse capture changesline each time, with whether the game window had focus, whether a menu, pause or the map was up, and whether capture was wanted. If you rebuild from main and attach the log of a run where it happens, those lines will show which of them drops it.@TrustNo1 I managed to reproduce the bug with Darner that includes your new logging commit (
ad070f0Merge PR #94).I was robbing a store, holding RMB as I was clicking on Y on keyboard to rob NPCs, and as i was aiming with the pistol, the mouse input was suddenly lost for few seconds then came back. Only happened once during the entire session. it happened exactly at around 2026-12-04T03:58
The bug happened again during this session. X/Y input is lost for around 4 seconds and came back by it self without me clicking lmb/rmb