On Mon, Jan 23, 2023 at 10:02 PM Thomas Passin <tbp100...@gmail.com> 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.
>

Thanks for sorting this out.

This kind of sleep appeared previously. I considered commenting it out when
I submitted my PR, but I wasn't sure where the sleep should go in relation
to the show and repaint statements.

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3etdtgqnerid0e7ARD%2B1L3hWgrmUJYWEa3K%2BtFOAKLeA%40mail.gmail.com.

Reply via email to