Bug #13554
openResizable 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
No data to display