Open hmz22 opened 2 years ago
Hey so I can't really tell from the video where the delay is. Is there any way you could add some sort of overlay to the recording for when you actually press the keys?
FWIW, I can't really repro this locally. For me, there's no difference between opening a pane with a keybinding vs via the command palette. Is this something that you noticed on the latest upgrade (1.12), or was this happening on earlier versions as well/?
when use hotkey or command palette delay for create pane and I can't show in video u can tell me how record video in latest version have this problem. the older version haven't this problem
in this video add mouse effect and see after click on duplicate pane delay for run this command and duplicate pane
I think I am experiencing the same issue, there is a new delay that did not exist around a month ago. The delay is present when opening a pane using keyboard shortcuts or the command palette.
In this example, I am opening 3 panes to make my usual 2x2 layout (Split right, Split down, Select left, Split down). The changes used to be instant before. Now it takes around 3 to 6 seconds (in the video, it started at 0:07 when the cursor stopped blinking, the terminal freezes during this time, and the result appears at 0:11). The terminal becomes unresponsive during that time.
I also experience the same behavior on another computer, with maybe half the delay due to better hardware.
I've just compared 1.13.1143 against 1.11.3471 and there's indeed a drastic difference when splitting panes, especially on my less powerful hardware.
But even on my workstation the difference is immediately noticeable: When I create a pane in 1.11 it transitions in smoothly and closes just the same. In 1.13 however creating a new pane is very stuttery to a point where it appears as if there was no animation at all. Only closing a pane remains smooth.
~https://github.com/microsoft/terminal/compare/v1.13.10336.0...v1.11.3471.0
Maybe I'm choosing the wrong commits here. I'm not immediately seeing Pane
, TerminalPage
, or TermControl
that hop out at me.
https://github.com/microsoft/terminal/compare/v1.12.10982.0...v1.12.10732.0 doesn't have... anything?~
~Maybe, (this would be crazy), we don't PGO that path anymore, so it ends up being stuttery? I don't even know if there's a delta to support that hypothesis.~
I'm a dingus and had the compare backwards.
https://github.com/microsoft/terminal/compare/v1.12.10732.0...v1.12.10982.0
An improved animation would be preferable, but in the meantime we can just default pane animations to disabled to band-aid it.
Windows Terminal version
1.12.10983.0
Windows build number
10.0.22000.675
Other Software
No response
Steps to reproduce
When duplicate pane with hotkey delay to duplicate pan
https://user-images.githubusercontent.com/36853974/168461908-f9061372-3886-4993-9c70-c358696ad9af.mp4
e
in version 1.12.10732.0 haven't this problem.
Expected Behavior
No response
Actual Behavior
fix it