Hello Dmitriy,
I'm confused about how you mix menus and popupmenus in this example. Can
you explain what you want to do?
BR,
Wim.
2013/12/31 Dmitriy Igrishin <[email protected]>
> Hey Wim,
>
>
> 2013/12/31 Wim Dumon <[email protected]>
>
>> Hello Dmitriy,
>>
>> Thank you for reporting the WMenuItem bug, this is my fix:
>> if (contents_) {
>> // contents' ownership will be moved to a containerwidget once
>> // it is in the widget tree (contentsLoaded). In any case, if
>> // contents_ is destroyed elsewhere, we want to know about it.
>> contentsDestroyedConnection_ =
>> contents_->destroyed().connect(this, &WMenuItem::contentsDestroyed);
>> }
>>
> Yes, this fixes the regression.
>
>>
>>
>> With this fix, and with the following little modification to your example
>> program, I think the behaviour is as expected?
>> WMenu* const m = new WMenu(new WStackedWidget(root()));
>>
> This fixes error in my test case :-)
> But the test case in the attachment demonstrates another bug -- it's
> about incorrect internal path handling by WMenu (when the user uses
> submenus which participates in the internal path handling). Please,
> see the attachment.
>
>
>
> --
> // Dmitriy.
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest