Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: sethjackson on January 15, 2006, 08:30:41 pm

Title: Start here page
Post by: sethjackson on January 15, 2006, 08:30:41 pm
Hi I've noticed something interesting.....

1. Open a project.
2. Now do File -> Quit.

The Start here page gets re-created. That is totally useless, why does it need to be re-created when C::B is closing....  :lol:
Title: Re: Start here page
Post by: Michael on January 15, 2006, 08:34:42 pm
Hmmm. I did not notice this (C::B rev1728  and rev1763).

Michael
Title: Re: Start here page
Post by: thomas on January 15, 2006, 08:51:58 pm
Are you sure it is really recreated? Or are you referring to it being redrawn?
Title: Re: Start here page
Post by: sethjackson on January 15, 2006, 09:09:37 pm
Are you sure it is really recreated? Or are you referring to it being redrawn?

Hmm I though it was recreated.... Maybe not.  :?
Technicalities, technicalites.  :lol: Anyways let me re-phrase why is it recreated/redrawn?

PS: I'm compiling rev 1763 right now....
Title: Re: Start here page
Post by: thomas on January 15, 2006, 09:11:11 pm
It is drawn because that's what is supposed to be happening when no projects are open.
When the application closes, all projects are closed.
Title: Re: Start here page
Post by: sethjackson on January 15, 2006, 09:13:36 pm
It is drawn because that's what is supposed to be happening when no projects are open.
When the application closes, all projects are closed.

Ok. Still it is possible to avoid the above behavior no?
Title: Re: Start here page
Post by: thomas on January 15, 2006, 09:29:15 pm
Yes, for example by deleting the notebook page containing the "start here" page before closing all projects. I haven't tried that, but it should do.

Since shutdown is quite fast anyway, it is not an issue really, is it?
Title: Re: Start here page
Post by: sethjackson on January 15, 2006, 10:15:09 pm
Yes, for example by deleting the notebook page containing the "start here" page before closing all projects. I haven't tried that, but it should do.

Since shutdown is quite fast anyway, it is not an issue really, is it?

No it is not a probblem.  :) It is kinda funny to see the start here page re-appear on shutdown. :lol:
Title: Re: Start here page
Post by: Michael on January 16, 2006, 11:25:22 am
Since shutdown is quite fast anyway, it is not an issue really, is it?

No, IMHO this is not really an issue or not one that must be solved in the next 5 minutes :D. But, I think we should kept it in mind in case later there would be switch off issues.

Michael
Title: Re: Start here page
Post by: rickg22 on January 18, 2006, 01:19:57 am
I think an if should solve it, like if the app's not shutting down...
Title: Re: Start here page
Post by: takeshimiya on January 18, 2006, 01:46:26 am
Code: cpp
if(ProjectsOpen || FilesOpen || AppShuttingDown)
    ShowSplash = false;
:)

It remains to see if WorkspacesOpen too.

Actually, when you close a Project, but have an outside-project file open, the Start here appears, alongside the file, which is rather weird.
Title: Re: Start here page
Post by: thomas on January 18, 2006, 08:26:30 am
Code: cpp
if(ProjectsOpen || FilesOpen || AppShuttingDown)
    ShowSplash = false;
:)

It remains to see if WorkspacesOpen too.
What's that supposed to do?
Title: Re: Start here page
Post by: takeshimiya on January 18, 2006, 09:48:45 am
Nothing, only prevent "when you close a Project, but have an outside-project file open, the Start here appears, alongside the file, which is rather weird" kind of things...