Synchronize window resizing on Mac
Closed this issue · 11 comments
Hi all.
Will adding support of this https://code.google.com/p/chromium/issues/detail?id=531831 to brightray fix this electron/electron#3615?
I'm highly interested in that.
Looks awesome to me! 👍
So can you add it?
I'll add it to my TODO list, no estimate for finish date though.
Thanks!
@zcbenz Is there any update? I'm bothered by this issue recently.
After a closing look, I found actually the original Chromium issue was for their new UI framework on Mac, and after upgrading to Chrome 49, we already have synchronous window resizing in Electron.
Hmm, I can't confirm that it's working (tested on Electron 0.37.2).
I tested it by:
- Opening the default app
- Navigate to a complex site like amazon.com
- Make sure devtools is closed
- Resize the window and you can notice sync resizing behavior
Try to open more complex site like youtube.com: https://www.youtube.com/watch?v=D699kZYnWYg&feature=youtu.be
You will also get the same effect when opening Youtube in Chrome. The synchronous window resizing is not working perfectly, the best we can do is keep the same behavior with Chrome.
This is working for manual resize using the cursor but still doesn't seem to be working with win.setSize
with animate set to true
. Tested on 0.37.7 with devtools closed, here's a video.
Let me know if I should create a new issue for this in Electron/Brightray.
Edit: I think this is an Electron bug rather than Brightray, so commented here: electron/electron#4368