Bug #13554
closedResizable WBoxLayout causes browser window to freeze
0%
Description
This behavior started with version Wt 4.11.2 and is present in Wt 4.11.3. In earlier versions it was fine overall.
When using a WBoxLayout
in resizable mode WBoxLayout::setResizable
(probably within a WMenu
with WStackedWidget
) then the Wt-App causes the browser window to freeze following error messages like "This page slows down your browser" or "This site does not respond".
I've extracted the relevant code into the sample attached. The behavior only occures when WBoxLayout::setResizable
is set together with WLayout::setContentsMargins
.
Steps to reproduce:
Press "Click here to freeze". If the page doesn't freeze immediately then resize the browser window by dragging to smaller and larger sizes back and forth, then it will freeze.
I can reproduce this with current versions of Firefox, Edge and Opera on Windows 10, 64 bit.
Files
Updated by Stefan Bn about 1 month ago
Update:
As of Wt 4.11.4 I don't see this behavior anymore! Resizing works without freezing the browser.
This issue can be closed. Thanks!
Updated by Matthias Van Ceulebroeck about 1 month ago
- Status changed from New to Rejected
Hey Stefan,
thank you for the update (al the more with the positive news). I suspect this had to do with: #13685.
And after validation I can indeed say this has been resolved! By convention, we mark tickets for which we did no work (or in this case "direct" work), as Rejected
.
Updated by Matthias Van Ceulebroeck about 1 month ago
- Related to Bug #13685: StdGridLayoutImpl2.js: ensure resizing stretchable items does not loop added