wails: [V2] No Animation When Minimizing, Maximizing and Restoring and Some Bugs on Frameless Window

Description You know when minimizing or maximizing the animation appear on Windows (Not sure if this works on OSX) as the window moves to the task bar. However if the window set to frameless, then the animation does not happen and the window just disappear in a flash.

To Reproduce

  1. Set Frameless: true in &options.App.
  2. Use the runtime method window.runtime.WindowMinimise() in Javascript on a button.

Expected behaviour Animation should starts as normal.

System Details

System
------
OS:             Windows 10 Enterprise LTSC 2019
Version:        1809 (Build: 17763)
ID:
Go Version:     go1.17.6
Platform:       windows
Architecture:   amd64

Dependency      Package Name    Status          Version
----------      ------------    ------          -------
WebView2        N/A             Installed       97.0.1072.62
npm             N/A             Installed       6.14.13
*upx            N/A             Available

* - Optional Dependency

Diagnosis
---------
Your system is ready for Wails development!
Optional package(s) installation details:
  - upx : Available at https://upx.github.io/

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

I wish I can be more helpful, I only started to learn Go a few days ago.

Seriously, I cannot tell you just how helpful thorough testing and solid feedback is. It saves everyone so much time (look how @stffabi was able to quickly hone in on the bugs based on your testing) and everyone wins. You’re providing an amazing contribution. Thanks! 🙏

@stffabi thanks for the suggestion. I appreciate your work!

@KiddoV I’ve pushed a fix for the cut-off onto the Draft-PR

Awesome testing @KiddoV ! Thanks 🙏