Skip to content
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

[Bug]: Frameless windows don't have OS's open/close/minimize/maximize animation #32899

Closed
3 tasks done
jcv8000 opened this issue Feb 15, 2022 · 5 comments
Closed
3 tasks done

Comments

@jcv8000
Copy link

jcv8000 commented Feb 15, 2022

Preflight Checklist

Electron Version

17.0.1

What operating system are you using?

Windows

Operating System Version

Windows 11 (21H2 build 22000.493)

What arch are you using?

x64

Last Known Working Electron version

17.0.0

Expected Behavior

In 17.0.0, my frameless window would have the Windows 11 "pop in" and "fade back" animations when the app starts/exits

17-0-0

(I don't think the Windows Vista-looking frame that pops up matters. When I make the window wait to show until dom-ready that issue goes away, and that's how my actual application does it)

Actual Behavior

As of 17.0.1 the frameless window instantly appears/disappears on start/exit (I'm pressing Alt+F4 to close the window in both gifs)

17-0-1

Testcase Gist URL

https://gist.github.com/jcv8000/c587ff1c069b0324ad5d9aecb633754f

Additional Information

I uploaded the files in a gist, but all I had to do to test this was download the quick-start and add frame: false to the BrowserWindow options

@kaizjen
Copy link

kaizjen commented Feb 26, 2022

I have the same issue. It also doesn't play animation when I minimize the window.

@LitileXueZha
Copy link

LitileXueZha commented Mar 5, 2022

Same problem on WIndows 10 x64, Electron v17.1.0

Also test with v14 v15 v16, no animations, v13 is ok, but seems Electron v14+ launch a bit faster.

@jcv8000 jcv8000 changed the title [Bug]: Frameless windows don't have OS's open/close animation [Bug]: Frameless windows don't have OS's open/close/minimize/maximize animation Mar 29, 2022
@jcv8000
Copy link
Author

jcv8000 commented Mar 29, 2022

Issue is still there on v18.0.0

@rmill777
Copy link

rmill777 commented Apr 4, 2022

Issue is still there on v18.0.1

@kaizjen
Copy link

kaizjen commented Apr 27, 2022

On v18.1.0, the issue has been resolved for me.

It seems that #33599 fixed this.

@jcv8000 jcv8000 closed this as completed Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants