Author Topic: Start here page  (Read 8536 times)

sethjackson

  • Guest
Start here page
« 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:

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Start here page
« Reply #1 on: January 15, 2006, 08:34:42 pm »
Hmmm. I did not notice this (C::B rev1728  and rev1763).

Michael

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Start here page
« Reply #2 on: January 15, 2006, 08:51:58 pm »
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

  • Guest
Re: Start here page
« Reply #3 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....

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Start here page
« Reply #4 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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

  • Guest
Re: Start here page
« Reply #5 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?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Start here page
« Reply #6 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?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

  • Guest
Re: Start here page
« Reply #7 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:

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Start here page
« Reply #8 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

Offline rickg22

  • Lives here!
  • ****
  • Posts: 2283
Re: Start here page
« Reply #9 on: January 18, 2006, 01:19:57 am »
I think an if should solve it, like if the app's not shutting down...

takeshimiya

  • Guest
Re: Start here page
« Reply #10 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.
« Last Edit: January 18, 2006, 01:52:25 am by Takeshi Miya »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Start here page
« Reply #11 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?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

takeshimiya

  • Guest
Re: Start here page
« Reply #12 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...