zed icon indicating copy to clipboard operation
zed copied to clipboard

Use document window animation for “normal” windows

Open lunacookies opened this issue 1 year ago • 6 comments

Release Notes:

  • Added animation when opening new editor windows to match document windows on macOS, e.g. File > New in TextEdit or File > New > File… in Xcode.

https://github.com/zed-industries/zed/assets/31783266/91ff12e2-585d-46bd-9c3e-d71bc9a2c45a

https://github.com/zed-industries/zed/assets/31783266/cefc890d-35bb-4a8d-a64a-85c7a556c9d7

lunacookies avatar Apr 12 '24 14:04 lunacookies

We require contributors to sign our Contributor License Agreement, and we don't have @lunacookies on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

cla-bot[bot] avatar Apr 12 '24 14:04 cla-bot[bot]

@cla-bot check

lunacookies avatar Apr 12 '24 15:04 lunacookies

The cla-bot has been summoned, and re-checked this pull request!

cla-bot[bot] avatar Apr 12 '24 15:04 cla-bot[bot]

I don't think we want this window open animation.

It increases the time it takes to open a new window, which I feel is undesirable for an editor like Zed.

maxdeviant avatar Apr 12 '24 15:04 maxdeviant

You’re totally right about the speed aspect: of course, opening a new window now has a short delay.

My counter-argument is that the animation is brief and doesn’t have much easing, so at least to me it isn’t frustratingly slow in the way e.g. the animations in the macOS Control Center are. More importantly, seeing that animation upon opening a new window is the expected behavior, since it’s shared by all NSDocument-based applications on the system (QuickTime Player, Pages, Keynote, TextEdit, etc).

I realize that this really doesn’t matter though, so I don’t mind if you disagree and close this PR :)

lunacookies avatar Apr 13 '24 05:04 lunacookies

Yeah, I have to also say that while I appreciate your work on this, I really don't like animations like these and would try to turn them off as soon as possible.

mrnugget avatar Apr 15 '24 12:04 mrnugget

Okay, closing it for now. We can always reopen when someone really, really wants it. Seems like there's more push against animations for now.

mrnugget avatar Apr 16 '24 08:04 mrnugget