microsoft / microsoft/terminal
Bug: Quake mode (globalSummon) animation with dropdownDuration=0
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version (or Windows build number)
1.10.2383.0
### Other Software
Windows 1909 (build 18363), might be relevant for repro since it's about the actual window.
### Steps to reproduce
Add the following action to `settings.json` under `"actions"`:
```json
{ "keys": "win+`", "command": { "action": "globalSummon", "name": "_quake", "dropdownDuration": 0 } },
```
First press Win+` to launch the quake window.
Then press it again to hide, and another time to show the quake window, and notice the show/hide animations.
### Expected Behavior
Both the hide and show animations should be instant, no animation should play and the window should appear and disappear instantly.
### Actual Behavior
The hide animation works as expected, but the show animation is no longer a reveal from above but rather a zoom out and pan (to top left) for some reason.
Changing `"dropdownDuration"` to 1 instead of 0 works as expected, a workaround.
If it doesn't repro for you, perhaps the Windows version is important.
Contributor guide
Research direction
Trace the globalSummon action and dropdownDuration handling from the settings.json action shown, then follow the window show/hide animation path. Reproduce with dropdownDuration set to 0 and verify that both transitions are instant, including reopening the quake window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100