You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a legacy VGUI button is repeatedly pressed with the mouse whilst the mouse hover never exits that target button, the successive presses after the first one display incorrectly:
The text of the target button disappears
The visual cue (example images below) of the button being held down does not appear
The correct visual cue before the button is held down:
The correct visual cue after the button is held down:
To Reproduce
In the main menu, open the bottom-right music player
Move the mouse cursor over the Play/Pause button
Press the button
Do not exit the mouse hover on the target button
Press the button again
Expected behavior
All mouse presses provide the same visual feedback as the first mouse press.
Actual behavior
Mouse presses after the first mouse press (when not exiting the hover) have the button's text disappear whilst the button is held down, and the button element itself does not visually depress.
Operating System
Windows
Linux
Version/Distro
11
Additional context and Screenshots
Mouse1 press state is recorded in the top-left corner of these videos.
Build Info
v28.4-alpha
Description
When a legacy VGUI button is repeatedly pressed with the mouse whilst the mouse hover never exits that target button, the successive presses after the first one display incorrectly:
The correct visual cue before the button is held down:
The correct visual cue after the button is held down:
To Reproduce
Expected behavior
All mouse presses provide the same visual feedback as the first mouse press.
Actual behavior
Mouse presses after the first mouse press (when not exiting the hover) have the button's text disappear whilst the button is held down, and the button element itself does not visually depress.
Operating System
Version/Distro
11
Additional context and Screenshots
Mouse1 press state is recorded in the top-left corner of these videos.
Music player example:
mp3-play-button.webm
demoui example:
demoui-open-button.webm