-
Notifications
You must be signed in to change notification settings - Fork 975
content doesn't fill fast enough when you resize a browser window horizontally #586
Comments
Just noting for now, a big part of this is that there's an app state change that happens on resize here mainWindow.on('resize', function (evt) {
// the default window size is whatever the last window resize was
AppActions.setDefaultWindowSize(evt.sender.getSize())
}) That triggers the app state to be communicated to the window over IPC. We should look to minimize app state transfer for things that only matter to the app itself, like the default window position size. |
Several UI snappy fixes in 0.7.14. |
Much of this is due to @bbondy @bridiver Have you considered patching libchromiumcontent to fix or work around this? |
right now it's low on the priority list, but at some point after 1.0 we'll take a closer look. I dug through the code a little bit and it's certainly not a trivial fix |
FYI, resizing performance for webviews can be improved quite a bit with electron/electron#7658 (cc @bridiver, @bsclifton). |
I'll take a look. Thanks! |
lgtm! I'll cherry-pick it when I'm done with the chromium 54 update |
@bridiver nice 😄 I created brave/muon#78 for ya If you get a sec, check out the fix I did event-wise in #5102 |
was #5102 supposed to close this? |
@bridiver yes- the performance is noticeably better 😄 |
ok, but I assume we still want to pull in the upstream change? |
@bridiver yup! and that is captured with brave/muon#78 |
Sorry this was mistakenly closed, it's more about content not filling in the resizing window fast enough. |
With brave/muon#78 closed, we should retest this starting with 0.13.0 😄 If it's not fixed, let's remove the milestone and leave some notes here |
it was closed because the patch no longer applied, but I have no idea if the behavior has changed or not |
Gave it a go, performance didn't seem any better. Was worth a shot 😄 Removing milestone |
a similar change may or may not work for the chromium webview |
This was getting better through 0.12.5 and now became worse again with 0.13.0 based on my personal mac OS experience. |
@bradleyrichter in 0.13 we switched from the electron webview to the chrome webview and that may have had an impact because the resizing code is different |
This issue will be solved when we move to the Chromium UI (Brave Core) |
Load a site like slashdot.org. Not too complex. Resize the window horizontally and notice the content doesn't fill in very quickly. It's very easy on Mac and Windows, even on relatively new equipment, to outrace the content leaving a blank area before the content races to catch up with the window edge. It feels very janky, laggy, bad. Video attached.
refill.mov.zip
also on youtube https://youtu.be/gnE1--66q-I
The text was updated successfully, but these errors were encountered: