ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.69k stars 623 forks source link

Switching to another window from HL and then back causes mouse to no longer pan the camera #3491

Open 2xsaiko opened 11 months ago

2xsaiko commented 11 months ago

Since the 25th Anniversary Update, if you switch to another window (e.g. via alt+tab) and then back, the mouse no longer pans the camera. Keyboard still works, you can shoot and you can also interact with menus as normal, you just can't look around in the game anymore until you restart it.

System info:

``` Computer Information: Manufacturer: Micro-Star International Co., Ltd. Model: PRO Z690-A WIFI DDR4(MS-7D25) Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: GenuineIntel CPU Brand: 13th Gen Intel(R) Core(TM) i7-13700F CPU Family: 0x6 CPU Model: 0xb7 CPU Stepping: 0x1 CPU Type: 0x0 Speed: 5100 MHz 24 logical processors 16 physical processors Hyper-threading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Unsupported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: "NixOS 23.11 (Tapir)" (64 bit) Kernel Name: Linux Kernel Version: 6.1.60 X Server Vendor: The X.Org Foundation X Server Release: 12302002 X Window Manager: KWin Steam Runtime Version: steam-runtime_0.20231024.64411 Video Card: Driver: AMD AMD Radeon RX 6800 XT (navi21, LLVM 15.0.7, DRM 3.49, 6.1.60) Driver Version: 4.6 (Compatibility Profile) Mesa 23.1.9 OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 59 Hz VendorID: 0x1002 DeviceID: 0x73bf Revision Not Detected Number of Monitors: 2 Number of Logical Video Cards: 1 Primary Display Resolution: 3840 x 2160 Desktop Resolution: 6720 x 2160 Primary Display Size: 23.62" x 13.39" (27.13" diag), 60.0cm x 34.0cm (68.9cm diag) Primary VRAM: 16384 MB Sound card: Audio device: Realtek ALC897 Memory: RAM: 64169 Mb VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 3754444 MB Largest Free Hard Disk Block: 2114106 MB Storage: Number of SSDs: 4 SSD sizes: 4000G,250G,250G,385M Number of HDDs: 0 Number of removable drives: 0 ```
nixRidge commented 11 months ago

ALT+Enter as a temporary workaround works for me.

2xsaiko commented 11 months ago

It doesn't do anything for me, but I just found out that it works again if you alt+tab away and back a second time.

nixRidge commented 11 months ago

Ah, shame :( Glad you found a way though.