Skip to content

Moved main window load into a QTimer#35

Merged
Zarxrax merged 2 commits intoZarxrax:mainfrom
tommyhooper:splash_draw_first
Mar 7, 2026
Merged

Moved main window load into a QTimer#35
Zarxrax merged 2 commits intoZarxrax:mainfrom
tommyhooper:splash_draw_first

Conversation

@tommyhooper
Copy link
Copy Markdown
Contributor

On Linux (Rocky 8.10), with the gnome3 desktop, the splash screen does not finish drawing before the main window starts loading. So we end up with just the drop shadow (ghost window!) for several seconds before the application appears. I'm proposing a small change that moves the main window load into QTimer, which lets the main event loop finish drawing the splash screen before the main window starts loading. Not sure if there is a better fix but it's my goto method.

Side note: we have a bunch of Flame artists here who are loving Sammie-Roto so a big thanks from us!

@Zarxrax
Copy link
Copy Markdown
Owner

Zarxrax commented Jan 21, 2026

That's an interesting issue.

Just curious, instead of the qtimer, what happens if you instead try adding a single line: app.processEvents()
directly after this line: splash = show_splash(app)

I'm just curious if that would fix it. I already have it within the show_splash function, but I wonder if moving it outside would change anything.

@Zarxrax
Copy link
Copy Markdown
Owner

Zarxrax commented Mar 7, 2026

I cleaned it up some and was able to verify on a virtual machine running rocky 10 (I tried for hours to get things running on 8, to no avail)

@Zarxrax Zarxrax merged commit e2b9943 into Zarxrax:main Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants