News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Start Here Page

Started by dmoore, February 28, 2011, 12:59:46 AM

Previous topic - Next topic

dmoore

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.
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

oBFusCATed

I've got a crash when executed the steps above, here is the stack trace (no debug info, so probably it is wrong):


    <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"/>
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Jenna

Quote from: 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):


    <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 !

dmoore

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)
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

dmoore

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)
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

oBFusCATed

Just commit it and don't bother with plugins...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

dmoore

committed rev 8228. Let me know if there are any issues
Python plugins: [url="https://github.com/spillz/codeblocks-python"]https://github.com/spillz/codeblocks-python[/url]
Code::Blocks Daily Builds -- Ubuntu PPA: [url="https://launchpad.net/~damien-moore/+archive/codeblocks"]https://launchpad.net/~damien-moore/+archive/codeblocks[/url]

MortenMacFly

Quote from: dmoore on August 11, 2012, 04:44:20 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... ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]