Menu

#1156 wxWidget assert when closing C::B if any toolbar is a floating window

Undefined
fixed
nobody
UI (54)
Bug_Report
2022-01-28
2021-11-23
No

wxWidgets Debug Alert occurs when the following procedure is done on SVN 12537 (Nightly 11-Nov-2021)
1) Undock the BrowserTracker toolbar so it becomes a floating window
2) Close C::B
3) The Following wxWidget assert occurs:
[Window Title] wxWidgets Debug Alert
[Main Instruction] A debugging check in this application has failed.
[Content] ../../src/common/tbarbase.cpp(324): assert ""pos < GetToolsCount()"" failed in DeleteToolByPos(): invalid position in wxToolBar::DeleteToolByPos()

Related

Tickets: #1183

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2022-01-28

    This happens with more toolbars, p.e. IncrementalSearch. I have not tried, but probably all toolbars have the same problem.

     
    • Andrew Cottrell

      Andrew Cottrell - 2022-01-28

      I agree. I have seen with a number of other floating windows.

      On the flip side the debug windows seem to be okay.

       
  • Miguel Gimenez

    Miguel Gimenez - 2022-01-28

    I think it is actually a problem in wxAUIManager code.

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-01-28

    The AUI sample does not fail, must be something else.

     
  • Miguel Gimenez

    Miguel Gimenez - 2022-01-28
    • labels: BrowseTracker --> UI
    • summary: wxWidget asssert when closing C::B if the BrowserTracker toolbar is a floating window --> wxWidget assert when closing C::B if any toolbar is a floating window
     
  • Miguel Gimenez

    Miguel Gimenez - 2022-01-28
    • status: open --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2022-01-28

    Fixed in [r12684]

     

    Related

    Commit: [r12684]


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.