tether icon indicating copy to clipboard operation
tether copied to clipboard

[OSX] Content redraw suspended during maximize and fullscreen mode transitions

Open fullreset opened this issue 7 years ago • 4 comments
trafficstars

I haven't tested this elsewhere yet, but I've encountered these issues on OSX:

(1) As per the title, content is not redrawn until window maximization or fullscreen transition is completed. And I have not checked yet but I suspect JS execution is also suspended.

(2) Enlarging the window also exhibits a redraw delay; it's most apparent when you drag the left or top edges of the window ...

Another small matter is the fact that there is no way to set the background color of the backing window, and the window is shown before the (in this case) minimal 'boot' html -- which is a little jarring.

All that said, thanks -- this is a useful gizmo. :)

fullreset avatar Feb 23 '18 19:02 fullreset

Thanks! Maybe the initialization code should go in applicationWillFinishLaunching instead of applicationDidFinishLaunching, which I think is where it is right now. But if it's being paused every time the window is maximized, I'm not sure why.

quadrupleslap avatar Feb 23 '18 20:02 quadrupleslap

I'm not sure either, but I suspect that there is some option that needs to be set on the window/view. Some WebKit UIs have this issue and some don't -- and so there's a big red flag here. :)

fullreset avatar Feb 23 '18 20:02 fullreset

My last was re the slow update problem. Sorry.

Your solution for initial views might work, but I'm not sure ...

Sounds logical though. :)

fullreset avatar Feb 23 '18 20:02 fullreset

i tried the applicationWillFinishLaunching fix idea, but that doesn't solve the problem; I think the launch problem has to be solved by overloading finishedLaunching from the cocoa code. I'll try that when I find the time ...

The resize/maximize issue I haven't looked into yet.

fullreset avatar Mar 06 '18 19:03 fullreset