<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 7, 2015 at 6:06 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 07/02/15 10:12, Martin Landa wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
2015-02-06 19:56 GMT+01:00 Anna Petrášová <<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Although this example will work fine, it overlooks the main reason<br>
programmers add a splash screen; to give the user feedback while a program<br>
is loading.<br>
</blockquote>
<br>
this is right.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It first displays splash screen for 1 second and then start to load the main<br>
frame. So this would basically make the gui start even longer.<br>
I don't have problems as you describe so it's difficult to test anything. I<br>
</blockquote>
<br>
Same here, I wonder if to go back to the previous version of splashscreen.<br>
</blockquote>
<br></span>
I don't think that the splash screen significantly slows down the start of the GUI, but to solve that issue, if something like wx.Yield() does not work, it seems that the general recommendation is threading, so that the program can load in a separate thread.</blockquote><div><br></div><div>I am not sure how to do that, generally GUI should be always in the main thread. We could try to make the start faster by importing some parts of gui only when they are needed, but I am not sure if that will cause significant speed up.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
still don'y understand, did you have the same problems with the old splash<br>
screen?<br>
</blockquote>
<br>
I also didn't understand that. Martin<br>
<br>
</blockquote>
<br></span>
Yes, sorry, I see that I wasn't clear: I'm having the same problem with all versions of GRASS. I don't know if this is related to wxpython 3 ? Maybe wx.Yield() is handled differently now ?<br>
<br>
I don't really know for how long this problem has existed, I've just become conscious of it through the discussions on the new splash screen.<br>
<br>
But if I'm really the only one with the issue, maybe something's wrong in my config.</blockquote><div><br></div><div>I didn't have any problem with or without wxPython 3, but I have a new fast laptop. I would keep the new splash screen in trunk, maybe not put it in release since it changes start up mechanism and that should be tested more.</div><div><br></div><div>Anna</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
<br>
Moritz<br>
<br>
</font></span></blockquote></div><br></div></div>