dillo-browser / dillo

Dillo, a multi-platform graphical web browser
https://dillo-browser.github.io/
GNU General Public License v3.0
572 stars 30 forks source link

Resizing the window several times triggers the layout emergency brake #300

Closed rodarima closed 2 days ago

rodarima commented 3 days ago

We should reset the counter of the layout loop if the window is being resized, otherwise it will lock and no more layout updates will happen.

See #236

rodarima commented 3 days ago

There are multiple Layout instances in a single tab and each is currently using its own resizeCounter. This is used for ComplexButtonResource. We may want to use it only in the top level one, otherwise each sub-layout may break at different times.