Tobias Abt
2014-04-28 09:09:50 UTC
Hi,
there is a crash in wxRibbonBar that can easily be reproduced with the ribbon-sample.
(see attached image)
In the ribbon-sample:
1. make the frame so small that the Shapes-panel is minimized to a button.
2. click the Shapes-button, then click the "Other Polygon"-button
3. click any item of the menu
-> crash (or assertion first in debug mode)
Is this issue known or should I create a ticket for it? (or can somebody can reproduce it...)
Regards,
Tobi
wxWidgets: 3.0 (release)
Windows 7
### Assertion in Debug Mode:
---------------------------
wxWidgets Debug Alert
---------------------------
D:\build\wxWidgets-3.0.0-rc2\include\wx/object.h(160): assert "wxDynamicCast(ptr, T)" failed in wxCheckCast(): wxStaticCast() used incorrectly
Call stack:
[00] wxRibbonPanel::HideIfExpanded d:\build\wxwidgets-3.0.0-rc2\src\ribbon\panel.cpp:1103
[01] wxRibbonButtonBar::OnMouseUp d:\build\wxwidgets-3.0.0-rc2\src\ribbon\buttonbar.cpp:1162
[02] wxAppConsoleBase::HandleEvent d:\build\wxwidgets-3.0.0-rc2\src\common\appbase.cpp:612
[03] wxAppConsoleBase::CallEventHandler d:\build\wxwidgets-3.0.0-rc2\src\common\appbase.cpp:624
[04] wxEvtHandler::ProcessEventIfMatchesId d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1386
[05] wxEventHashTable::HandleEvent d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:990
[06] wxEvtHandler::TryHereOnly d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1581
[07] wxEvtHandler::TryBeforeAndHere d:\build\wxwidgets-3.0.0-rc2\include\wx\event.h:3671
[08] wxEvtHandler::ProcessEventLocally d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1514
[09] wxEvtHandler::ProcessEvent d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1487
[10] wxEvtHandler::SafelyProcessEvent d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1605
[11] wxWindowBase::HandleWindowEvent d:\build\wxwidgets-3.0.0-rc2\src\common\wincmn.cpp:1526
[12] wxWindow::HandleMouseEvent d:\build\wxwidgets-3.0.0-rc2\src\msw\window.cpp:5516
[13] wxWindow::MSWHandleMessage d:\build\wxwidgets-3.0.0-rc2\src\msw\window.cpp:3016
[14] wxWindow::MSWWindowProc d:\build\wxwidgets-3.0.0-rc2\src\msw\window.cpp:3636
[15] wxWndProc d:\build\wxwidgets-3.0.0-rc2\src\msw\window.cpp:2725
[16] InternalCallWinProc
[17] UserCallWinProcCheckWow
[18] DispatchMessageWorker
[19] DispatchMessageW
[20] wxGUIEventLoop::ProcessMessage d:\build\wxwidgets-3.0.0-rc2\src\msw\evtloop.cpp:172
there is a crash in wxRibbonBar that can easily be reproduced with the ribbon-sample.
(see attached image)
In the ribbon-sample:
1. make the frame so small that the Shapes-panel is minimized to a button.
2. click the Shapes-button, then click the "Other Polygon"-button
3. click any item of the menu
-> crash (or assertion first in debug mode)
Is this issue known or should I create a ticket for it? (or can somebody can reproduce it...)
Regards,
Tobi
wxWidgets: 3.0 (release)
Windows 7
### Assertion in Debug Mode:
---------------------------
wxWidgets Debug Alert
---------------------------
D:\build\wxWidgets-3.0.0-rc2\include\wx/object.h(160): assert "wxDynamicCast(ptr, T)" failed in wxCheckCast(): wxStaticCast() used incorrectly
Call stack:
[00] wxRibbonPanel::HideIfExpanded d:\build\wxwidgets-3.0.0-rc2\src\ribbon\panel.cpp:1103
[01] wxRibbonButtonBar::OnMouseUp d:\build\wxwidgets-3.0.0-rc2\src\ribbon\buttonbar.cpp:1162
[02] wxAppConsoleBase::HandleEvent d:\build\wxwidgets-3.0.0-rc2\src\common\appbase.cpp:612
[03] wxAppConsoleBase::CallEventHandler d:\build\wxwidgets-3.0.0-rc2\src\common\appbase.cpp:624
[04] wxEvtHandler::ProcessEventIfMatchesId d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1386
[05] wxEventHashTable::HandleEvent d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:990
[06] wxEvtHandler::TryHereOnly d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1581
[07] wxEvtHandler::TryBeforeAndHere d:\build\wxwidgets-3.0.0-rc2\include\wx\event.h:3671
[08] wxEvtHandler::ProcessEventLocally d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1514
[09] wxEvtHandler::ProcessEvent d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1487
[10] wxEvtHandler::SafelyProcessEvent d:\build\wxwidgets-3.0.0-rc2\src\common\event.cpp:1605
[11] wxWindowBase::HandleWindowEvent d:\build\wxwidgets-3.0.0-rc2\src\common\wincmn.cpp:1526
[12] wxWindow::HandleMouseEvent d:\build\wxwidgets-3.0.0-rc2\src\msw\window.cpp:5516
[13] wxWindow::MSWHandleMessage d:\build\wxwidgets-3.0.0-rc2\src\msw\window.cpp:3016
[14] wxWindow::MSWWindowProc d:\build\wxwidgets-3.0.0-rc2\src\msw\window.cpp:3636
[15] wxWndProc d:\build\wxwidgets-3.0.0-rc2\src\msw\window.cpp:2725
[16] InternalCallWinProc
[17] UserCallWinProcCheckWow
[18] DispatchMessageWorker
[19] DispatchMessageW
[20] wxGUIEventLoop::ProcessMessage d:\build\wxwidgets-3.0.0-rc2\src\msw\evtloop.cpp:172
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users