[kepler-dev] [Bug 2343] - add welcome screen for release 1.0

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Mar 29 20:44:57 PST 2006


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2343





------- Additional Comments From cxh at eecs.berkeley.edu  2006-03-29 20:44 -------
I moved the WelcomeWindow code out of exp and back to ptolemy.
WelcomeWindow now uses ptolemy.actor.gui.PtolemyPreferences to save
the preference.

Laura writes:
> Okay we are getting there but some other changes need to be made to get the 
> dialog to look like what is spec'd on the wiki.  Here they are:
> -title of dialog should be Welcome, not that url string currently there
>Fixed in Ptolemy, but the URL still appears in Kepler.
My fix for Ptolemy was to add a setTitle() method to WelcomeWindow which
always sets the title to "Welcome". To see this change, you may
need to run "ant clean ptolemy run-dev"

>-remove the ptolemy icon in the title bar
The icon is set in ptolemy.actor.gui.TableauFrame._getDefaultIconImage()
and defaults to  "/ptolemy/actor/gui/PtolemyIISmallIcon.gif"
Since there is already a Kepler specific copy of this class, I created
be able to either create kepler/src/exp/ptolemy/actor/gui/PtolemyIISmallIcon.gif
or else edit the Kepler copy of TableauFrame and change the name of the gif.
I tried some things, but the icon was not displayed properly.  It looks
like a threading issue?  I'm not sure what's up.

> -remove the menu bar
The menu bar is not present in ptolemy when I edit
ptolemy/configs/full/welcomeWindow.xml so that we are using the WelcomeWindow.
I'm not sure where in Kepler the welcome window is coming from.  This
might take Matthew's keen eye.

> -remove the scroll bars and size things so no scroll bars are needed.
I don't see the scrollbars in Kepler, I suspect Nandita fixed this already.
The size of the window should be set in welcomeWindow.xml, probably
kepler/configs/ptolemy/configs/kepler/welcomeWindow.xml

>-the border/background around the inner square should be as spec'd on the wiki
>-the logo should be aligned as spec'd on the wiki
I'm not sure how much we can do here, the HTML is rather primitive.
The file to edit is
kepler/configs/ptolemy/configs/kepler/intro.html

>-remove the links to User's Guide and Workflow Cookbook since those won't be 
>ready for release 1.0
Done.

>-remmove the min/max controls in the title bar
I think Nandita did this.

>-up the font size a little to look like wiki
Nandita is looking at style sheets, but we might have to live with what
we have.

>-align the indented text under the "E" in Welcome
This would be nice, but I'm no HTML Guru and the HTML widget is somewhat borken

>-make the checkbox "checked" as the default
Done.

About the startup time, I thought there was an open bug for this, but
I could not find it.  The short answer is that Kepler is instantiating all
the actors, which takes lots of time.  Implmenting some sort of proxy loading
scheme would be nice, but probably won't happen before 1.0.  The splash screen
is there to cover up this bug.  The splash screen should probably stay on
longer, or somehow get closed once the main window is up.
There are still problems with the empty main window, if we click on a link,
then the model should open in that empty graph editor.  I won't have time
to implement this before 1.0.


More information about the Kepler-dev mailing list