The fix (adding sleep()) works on all my VMs except Ubuntu.  OTOH, Leo 
loads so fast on my Ubuntu VM that I don't really miss the splash screen.  
Funny how some of my Linux VMs are very fast and some are sluggish.  I 
don't generally find Ubuntu/Gnome snappy, but it does load Leo quickly.  
The snappiest distro I've found so far is Manjaro/XFCE.  It's become my 
favorite so far.

Here are the distros I've tested:

Distro          Desktop        Display    Splash
                     Manager       Server      displays?
-------------------------------------------------------------------------
Mint             Cinnamon        X11            yes
Debian         Cinnamon        X11            yes
Ubuntu          Gnome            Wayland    no
Manjaro         XFCE              X11            yes
OpenSUSE   KDE Plasma   X11            yes
WIndows 10    -                      -                yes

So maybe the splash screen doesn't show on systems with a Wayland display 
server?  At this point, I'm not inclined tp spend any more time on this.  
I'll put in a PR with the sleep() added and call it a day for now.
On Monday, January 23, 2023 at 11:01:59 PM UTC-5 Thomas Passin wrote:

> A short sleep() makes the splash screen display on those recalcitrant VMs:
>
>             if not pixmap.isNull():
>                 splash = QtWidgets.QSplashScreen(pixmap, 
> WindowType.WindowStaysOnTopHint)
>                 splash.show()
>                 sleep(.05)  # <-------- Allows the splash screen to show
>                 splash.repaint()
>
> I'll do some more testing with my various Linux VMs before putting in a 
> new PR.
>
> Those small partially competed windows I mentioned earlier are not in fact 
> the splash screen trying to form.  They are from some other temporary 
> window opening, incompletely painting, then closing or possibly getting 
> moved to their final position.  With the sleep(), those windows show up 
> behind the splash screen.  I'm not inclined to try to diagnose this 
> behavior.
> On Monday, January 23, 2023 at 10:06:01 PM UTC-5 Thomas Passin wrote:
>
>> I've got four Gnome-based VMs and the splash screen isn't building on any 
>> of them. It starts to but doesn't finish.  On the XFCE VM, it displays as 
>> on Windows.
>>
>> On Monday, January 23, 2023 at 8:36:45 PM UTC-5 gates...@gmail.com wrote:
>>
>>> FWIW, the current devel commit does *not* display the splash screen on 
>>> my Arch Linux install using the Cinnamon desktop environment (at one point 
>>> a derivative of Gnome 2, now well and truly its own thing).  Anecdotally, I 
>>> do remember the splash screen displaying on this Linux installation 
>>> historically.  Just another couple of data points that I hope might help.
>>>
>>> The splash screen does appear (and looks quite lovely now, in vector 
>>> form and without the watermark!) on my Windows 10 install.
>>>
>>> Jake
>>>
>>> On Mon, Jan 23, 2023 at 7:41 PM Thomas Passin <tbp1...@gmail.com> wrote:
>>>
>>>> Now I'm bummed.  The splash screen displays properly on Manjaro, a 
>>>> Linux distro using XFCE.  But on two Gnome systems, Mint and Debian, it 
>>>> acts the same as before I added the repaint() call.  This will take some 
>>>> more digging.
>>>>
>>>> On Monday, January 23, 2023 at 6:25:17 PM UTC-5 Edward K. Ream wrote:
>>>>
>>>>> On Monday, January 23, 2023 at 5:04:34 PM UTC-6 tbp1...@gmail.com 
>>>>> wrote:
>>>>> It looks like the splash screen may never have been visible on 
>>>>> Linux(!).
>>>>>
>>>>> My recent PR removed the call to repaint, so the splash screen has 
>>>>> only recently been broken on Linux.
>>>>>
>>>>> Edward
>>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "leo-editor" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to leo-editor+...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/leo-editor/05cc16e6-f896-41d3-a0ac-6333e8ec5524n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/leo-editor/05cc16e6-f896-41d3-a0ac-6333e8ec5524n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/62821edd-71d9-4255-8b66-6629daed9e96n%40googlegroups.com.

Reply via email to