[GRASS-dev] splash screen image comes up too late [Re: Planning GRASS GIS 7.0.0RC2]

Anna Petrášová kratochanna at gmail.com
Fri Feb 6 10:56:06 PST 2015


On Fri, Feb 6, 2015 at 11:32 AM, Moritz Lennert <
mlennert at club.worldonline.be> wrote:

> On 06/02/15 17:09, Vincent Bain wrote:
>
>> Le vendredi 06 février 2015 à 14:54 +0100, Martin Landa a écrit :
>>
>>> right, I can change it in trunk right now, should I used the attached
>>> image?
>>>
>>>
>> Attached is a clean version (light shades of grey were missing
>> underneath white lettering -> better readability with it)
>>
>> Le vendredi 06 février 2015 à 16:55 +0100, Moritz Lennert a écrit :
>>
>>> The only caveat is that I still have that empty window showing up for
>>>
>> a
>>
>>> while before the image appears shortly before the window disappears.
>>>
>>
>> Eventhough it's a very small file, may the lighter png file help reduce
>> this time of emptiness ?
>>
>>
> No, that doesn't seem to help.
>
> I think that this is more a question of program logic:
>
> When I look at the example splashscreen code at [1], I see that the splash
> screen is defined as a separate class that is called from the wxApp's
> OnInit function and then calls the main GUI from its OnExit function. Using
> the example code here with the 400K version of the splash screen works
> perfectly.
>

yes, but on the wiki page, they say:

Although this example will work fine, it overlooks the main reason
programmers add a splash screen; to give the user feedback while a program
is loading.

It first displays splash screen for 1 second and then start to load the
main frame. So this would basically make the gui start even longer.
I don't have problems as you describe so it's difficult to test anything. I
still don'y understand, did you have the same problems with the old splash
screen?

Anna



>
> I'm not familiar enough with wxPython and the wxGUI to adapt this quickly,
> but maybe this could inspire some of the wx gurus...
>
> Moritz
>
> [1] http://wiki.wxpython.org/SplashScreen
>
>
>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150206/7c18ca47/attachment.html>


More information about the grass-dev mailing list