News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Start here page

Started by sethjackson, January 15, 2006, 08:30:41 PM

Previous topic - Next topic

sethjackson

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:

Michael

Hmmm. I did not notice this (C::B rev1728  and rev1763).

Michael
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

thomas

Are you sure it is really recreated? Or are you referring to it being redrawn?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

Quote from: thomas on January 15, 2006, 08:51:58 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....

thomas

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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

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

Ok. Still it is possible to avoid the above behavior no?

thomas

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?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

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

No it is not a probblem.  :) It is kinda funny to see the start here page re-appear on shutdown. :lol:

Michael

Quote from: thomas on January 15, 2006, 09:29:15 PM
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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

rickg22

I think an if should solve it, like if the app's not shutting down...

takeshimiya

#10
Code (cpp) Select
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.

thomas

Quote from: Takeshi Miya on January 18, 2006, 01:46:26 AM
Code (cpp) Select
if(ProjectsOpen || FilesOpen || AppShuttingDown)
    ShowSplash = false;

:)

It remains to see if WorkspacesOpen too.
What's that supposed to do?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

takeshimiya

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