<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 9, 2015 at 7:50 AM, Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<span class=""><br>
2015-02-09 9:37 GMT+01:00 Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>>:<br>
> I agree, again especially if I'm the only one with this issue.<br>
><br>
> Don't change the startup logic with RC2. If this needs changing then this<br>
> should go into a point release.<br>
<br>
</span>Absolutely agree.<br>
<span class=""><br>
> FYI, however, here's a movie showing the three GUI startups in release64,<br>
> release70 and trunk, all three completely fresh checkouts and compiles:<br>
><br>
> <a href="http://tomahawk.ulb.ac.be/moritz/splash_screen.ogv" target="_blank">http://tomahawk.ulb.ac.be/moritz/splash_screen.ogv</a><br>
<br>
</span>BTW, it's quite visible here that wxGUI in trunk starts more slowly<br>
(related to the recent changes in wxgui.py) compared to GRASS 70.<br></blockquote><div><br></div><div>Perhaps we should go back  to the previous version. I would suggest to move the GMFrame import after showing the splash screen (the diff is for release branch):</div><div><br></div><div>===================================================================</div><div>--- wxgui.py<span class="" style="white-space:pre">      </span>(revision 64473)</div><div>+++ wxgui.py<span class="" style="white-space:pre">       </span>(working copy)</div><div>@@ -34,9 +34,7 @@</div><div> except ImportError:</div><div>     SC = None</div><div> </div><div>-from lmgr.frame import GMFrame</div><div> </div><div> class GMApp(wx.App):</div><div>     def __init__(self, workspace = None):</div><div>         """ Main GUI class.</div><div>@@ -79,6 +77,7 @@</div><div>         wx.Yield()</div><div> </div><div>         # create and show main frame</div><div>+        from lmgr.frame import GMFrame</div><div>         mainframe = GMFrame(parent = None, id = wx.ID_ANY,</div><div>                             workspace = self.workspaceFile)</div><div> </div><div><br></div><div>as a result on my computer, the splash screen is showed earlier. It probably won't effect the problem Moritz has, but it's worth trying. I also saw someone mentioning calling Refresh() and Update() on the splash screen after showing it. Then, there is a more complicated solution <a href="http://wiki.wxpython.org/SplashScreen%20While%20Loading">http://wiki.wxpython.org/SplashScreen%20While%20Loading</a>.</div><div><br>Anna</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">
Martin<br>
<br>
--<br>
Martin Landa<br>
<a href="http://geo.fsv.cvut.cz/gwiki/Landa" target="_blank">http://geo.fsv.cvut.cz/gwiki/Landa</a><br>
<a href="http://gismentors.eu/mentors/landa" target="_blank">http://gismentors.eu/mentors/landa</a><br>
</div></div></blockquote></div><br></div></div>