agregore-browser icon indicating copy to clipboard operation
agregore-browser copied to clipboard

URL Bar not showing on MacOS

Open RangerMauve opened this issue 2 years ago • 0 comments

It seems the calculation for the URLbar at the top of windows is being messed up for MacOS.

Specifically, it might be an issue to do with how the bounds for the web content get either calculated or set.

Here is where the bounds get set in the electron side: https://github.com/AgregoreWeb/agregore-browser/blob/master/app/window.js#L377

Here is where we track changes to the web content sizing: https://github.com/AgregoreWeb/agregore-browser/blob/master/app/ui/tracked-box.js

Here is where the bounds get set in the main UI code on getting a resize: https://github.com/AgregoreWeb/agregore-browser/blob/master/app/ui/script.js#L61

It might be that the resize observer isn't being trigger, or there might be some race condition.

It'd be nice if somebody with a mac could try seeing what's going on in here.

RangerMauve avatar Oct 06 '22 19:10 RangerMauve