ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
649 stars 75 forks source link

[TF2] Cannot open chat windows via aliases #2632

Open YoshiRulz opened 6 years ago

YoshiRulz commented 6 years ago

Title. To reproduce:

bind J say
alias test_alias "say"
bind K test_alias

...then close the console and try each. The expected behaviour is that, like the rest of the console commands, say opens the chat even from inside aliases.


I'm running TF2 build 4620606 on Manjaro 17.1.11, though as noted in a later comment this also affects Windows builds.

Help > System Information:

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Laptop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:  Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
    CPU Family:  0x6
    CPU Model:  0x3d
    CPU Stepping:  0x4
    CPU Type:  0x0
    Speed:  2700 Mhz
    4 logical processors
    2 physical processors
    HyperThreading:  Supported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    "Manjaro Linux" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.18.0-1-MANJARO
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11906000
    X Window Manager:  KWin
    Steam Runtime Version:  <Runtime disabled>

Video Card:
    Driver:  Intel Open Source Technology Center Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) x86/MMX/SSE2
    Driver Version:  3.0 Mesa 18.1.3
    OpenGL Version: 3.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 50 Hz
    VendorID:  0x8086
    DeviceID:  0x1616
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 1920 x 1080
    Primary Display Size: 50.39" x 28.35" (57.80" diag)
                                            128.0cm x 72.0cm (146.8cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: Intel Broadwell HDMI

Memory:
    RAM:  7894 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_AU.UTF-8
    Total Hard Disk Space Available:  693981 Mb
    Largest Free Hard Disk Block:  539200 Mb
    VR Headset: None detected

Recent Failure Reports:
YoshiRulz commented 6 years ago

I've just had a friend reproduce this on their Windows 10 machine.

Also, may I suggest that this be fixed by opening the chat window with separate commands, perhaps open_chatbox_global, open_chatbox_team, and open_chatbox_party?

YoshiRulz commented 6 years ago

edit: their now deleted comment was something like "put quotes around the first arg of bind"

@1157 You've misunderstood me. I'm not trying to bind typing something in chat, alias test_alias "say Hello, world!"; bind K test_alias for example. That works fine. I'm trying to open the chat window in the same way pressing Y would with the default keybinds. Also, the key doesn't "need's to be in quote's" when using bind, as far as I can tell none of them contain spaces anyway.

That said, I went ahead and downloaded a bunch of games, and I can now confirm that this bug is reproducible on the following:

This was all done on the same borrowed Win10 machine. I don't own CS:S or DoD:S so I can't say whether the version of Source they use is affected.

1157 commented 6 years ago

Good luck.