Code::Blocks

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: dmoore on February 28, 2011, 12:59:46 am

Title: Start Here Page
Post by: dmoore on February 28, 2011, 12:59:46 am
Any reason why an option to show the Start Here page isn't available from the "View" menu (or some other menu)?

Also interesting that if you close the Start Here page, choose Settings -> Environment, click OK, the start here page will show again. Not sure this makes sense.
Title: Re: Start Here Page
Post by: oBFusCATed on February 28, 2011, 08:24:57 am
I've got a crash when executed the steps above, here is the stack trace (no debug info, so probably it is wrong):

Code: [Select]
    <frame level="0"/>
    <frame level="1" function="wxEvtHandler::Disconnect(int, int, int, void (wxObject::*)(wxEvent&amp;), wxObject*, wxEvtHandler*)" offset="00000053"/>
    <frame level="2" function="cbAuiNotebook::ResetTabCtrlEvents()" offset="000000f4"/>
    <frame level="3" function="cbAuiNotebook::AllowScrolling(bool)" offset="00000030"/>
    <frame level="4"/>
    <frame level="5" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="00000051"/>
    <frame level="6" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="000000a3"/>
    <frame level="7" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000c7"/>
    <frame level="8" function="wxWindowBase::TryParent(wxEvent&amp;)" offset="00000038"/>
    <frame level="9"/>
    <frame level="10" function="g_closure_invoke" offset="00000163"/>
    <frame level="11"/>
    <frame level="12" function="g_signal_emit_valist" offset="00000801"/>
Title: Re: Start Here Page
Post by: jens on February 28, 2011, 08:43:45 am
I've got a crash when executed the steps above, here is the stack trace (no debug info, so probably it is wrong):

Code: [Select]
    <frame level="0"/>
    <frame level="1" function="wxEvtHandler::Disconnect(int, int, int, void (wxObject::*)(wxEvent&amp;), wxObject*, wxEvtHandler*)" offset="00000053"/>
    <frame level="2" function="cbAuiNotebook::ResetTabCtrlEvents()" offset="000000f4"/>
    <frame level="3" function="cbAuiNotebook::AllowScrolling(bool)" offset="00000030"/>
    <frame level="4"/>
    <frame level="5" function="wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&amp;, wxEvtHandler*, wxEvent&amp;)" offset="00000051"/>
    <frame level="6" function="wxEventHashTable::HandleEvent(wxEvent&amp;, wxEvtHandler*)" offset="000000a3"/>
    <frame level="7" function="wxEvtHandler::ProcessEvent(wxEvent&amp;)" offset="000000c7"/>
    <frame level="8" function="wxWindowBase::TryParent(wxEvent&amp;)" offset="00000038"/>
    <frame level="9"/>
    <frame level="10" function="g_closure_invoke" offset="00000163"/>
    <frame level="11"/>
    <frame level="12" function="g_signal_emit_valist" offset="00000801"/>

Fixed in svn r7029.
Thanks for reporting !
Title: Re: Start Here Page
Post by: dmoore on July 24, 2012, 11:38:45 pm
17 months later, Here's a patch that puts a toggle for the start page in the View menu (shouldn't interfere with other start page behavior)
Title: Re: Start Here Page
Post by: dmoore on August 09, 2012, 07:42:06 pm
Not useful?

If concerned about cluttering the view menu with yet another option, I could make minimal changes to the core and expose the option in a plugin (a bit more work because that functionality is currently in the main app not the sdk)
Title: Re: Start Here Page
Post by: oBFusCATed on August 09, 2012, 07:48:04 pm
Just commit it and don't bother with plugins...
Title: Re: Start Here Page
Post by: dmoore on August 11, 2012, 04:44:20 am
committed rev 8228. Let me know if there are any issues
Title: Re: Start Here Page
Post by: MortenMacFly on August 11, 2012, 08:31:22 am
committed rev 8228. Let me know if there are any issues
Maybe one with CC - I recall a place where CC was assuming the start page always to be gone... maybe that was in the past only... We'll see... ;-)