-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quake Mode reveal animation tears/flickers #12293
Comments
Yea, that's just kind of a known issue at the moment. I have that as a bullet point in #8888 but we can use this to track it officially. We'd be happy to accept a contribution to help fix this!
#9977 has notes on what I tried and didn't work for me. I'd cross reference that when trying this again. There's another project out there that accomplishes this effect by literally calling This is probably the best solution TBH, and one I hadn't considered when originally implementing this. I was resizing the window which was always wack. But we don't need to resize it, right? We can just slide it in from the top... Take a look at:
Adjust those guys to move the root window instead of clipping the region of the If we can prove that works nicely, then I'd say let's ship that and figure out the following in post: I'd maybe be wary of a situation where there's another monitor above the monitor the window is dropping down onto. That would look a little weird - like, the window appears on the top one, then slides down onto the bottom. That's silly, but might be able to be fixed with clever use of |
That's pretty slick! I'd love to see the PR and play around with it myself 😄 RE: hiding the border. Hmm. That's a good question. I'm trying to remember if there's an API that disables that - something like |
@zadjii-msft I have sent the PR #15659 |
I suspect that the remaining drop shadow is caused by the parent window (CASCADIA_HOSTING_WINDOW_CLASS) still being fully visible until the animation completes. If I just change the animation to be done on the parent window (just using |
Windows Terminal version
1.11.3471.0
Windows build number
10.0.22543.0
Other Software
No response
Steps to reproduce
Reveal or hide the quake mode window
Expected Behavior
No tearing/flickering
Actual Behavior
Tearing/flickering, I have attached a video which somewhat shows the effect.
quake-mode-tearing.mp4
I have a medium-beefy PC and tearing is not an issue anywhere else, so I assume this should work for the terminal as well.
The text was updated successfully, but these errors were encountered: