Wt 3.3.4-RC1 and menus
Added by Stas Magill about 10 years ago
Hi,
I am just trying out Wt3.3.4-RC1 and have quickly ran into a problem. Our site has a menu on the left-hand side, with a stacked widget to display the selected widget for each menu item. With Wt3.3.4-RC1 nothing appears inside the stacked widget. Strangely, sub-menu items do work, but items that are top-level don't.
Any suggestions for where I could start looking for this problem?
Thanks,
Stas.
Replies (4)
RE: Wt 3.3.4-RC1 and menus - Added by Koen Deforche about 10 years ago
Oops? I can't see any relevant changes but I will try to reproduce this. Any hints on specific details for reproducing this?
RE: Wt 3.3.4-RC1 and menus - Added by Stas Magill about 10 years ago
Hi Koen,
I've attached a simple app which I hope repeats the problem for you. For me this works with Wt3.3.3, but not with Wt3.3.4-RC1.
Thanks,
Stas.
WtMenuStackApp.h (1.65 KB) WtMenuStackApp.h |
RE: Wt 3.3.4-RC1 and menus - Added by Koen Deforche about 10 years ago
Hey,
The thing that confuses Wt is that you already add the containers c1 to the stacked widget. That's not the way it's been intended. If you remove this then it works as expected.
I'm not sure what change in Wt now leads to the changed behavior, but I've applied a fix in my git version.
Koen
RE: Wt 3.3.4-RC1 and menus - Added by Stas Magill about 10 years ago
That's fixed it! :)
Thanks very much for your help Koen.
Stas.