Moved main window load into a QTimer#35
Merged
Zarxrax merged 2 commits intoZarxrax:mainfrom Mar 7, 2026
Merged
Conversation
… drawing the splash screen
Owner
|
That's an interesting issue. Just curious, instead of the qtimer, what happens if you instead try adding a single line: 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. |
Owner
|
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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!