Skip to content

Control and gui starting (renamed)#20116

Open
jenshannoschwalm wants to merge 3 commits intodarktable-org:masterfrom
jenshannoschwalm:starting_no_splash
Open

Control and gui starting (renamed)#20116
jenshannoschwalm wants to merge 3 commits intodarktable-org:masterfrom
jenshannoschwalm:starting_no_splash

Conversation

@jenshannoschwalm
Copy link
Collaborator

@jenshannoschwalm jenshannoschwalm commented Jan 10, 2026

EDITED for latest commits

  1. Manually reverts Avoid control threads race condition Avoid control threads race condition #20002
  2. control->last_expose_time was not used at all so it got removed.
  3. Don't clear *gui struct again

@jenshannoschwalm
Copy link
Collaborator Author

@wpferguson would you be able to test for #19992
@dterrahe you absolutely convinced me :-) Would you review ?

@gi-man
Copy link
Contributor

gi-man commented Jan 10, 2026

It's still crashing for me. Before this PR I noticed that sometimes dt starts one time, but after that it will crash every single start.

@jenshannoschwalm
Copy link
Collaborator Author

jenshannoschwalm commented Jan 10, 2026

Thanks for feedback! What do you mean with crashing exactly? No window appearing without further notice in the logs?

Copy link
Contributor

@dterrahe dterrahe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies; I had a couple of pending comments lined up as in the other PR, but as usual forgot to press the "Finish your review" button.

Copy link
Member

@TurboGit TurboGit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor change.

Also, given the last comment that this seems to not fix the splash issue I suppose we want this in 5.6 but not in 5.4.1. Right?

@TurboGit TurboGit added this to the 5.6 milestone Jan 14, 2026
@TurboGit TurboGit added the scope: codebase making darktable source code easier to manage label Jan 14, 2026
@gi-man
Copy link
Contributor

gi-man commented Jan 14, 2026

Thanks for feedback! What do you mean with crashing exactly? No window appearing without further notice in the logs?

Sorry for the late reply. Dt starts but as soon as the GUI tries to start, it just keeps a spinning blue circle. Nothing new in the logs after that point. There is an X close button on the top right. When press it, Windows tells me that the app crashed and it closes everything. Log remains the same.

@jenshannoschwalm jenshannoschwalm changed the title Safe starting without splash Control and gui starting (renamed) Jan 16, 2026
@jenshannoschwalm
Copy link
Collaborator Author

latest commit a) keeps the thread naming as useful in crash logs b) use dt_ atomic instruction where correct

@jenshannoschwalm jenshannoschwalm force-pushed the starting_no_splash branch 2 times, most recently from 693f5dd to 9187ffb Compare January 26, 2026 21:33
@jenshannoschwalm jenshannoschwalm force-pushed the starting_no_splash branch 5 times, most recently from 68084d8 to 3d28b09 Compare February 7, 2026 18:43
…0002'

As discussed there this was not a fix and added misleading code, so let's revert.
Don't clear *gui struct again - it was calloced, a few things have been set up already
and we want to keep that.
@jenshannoschwalm
Copy link
Collaborator Author

@TurboGit this is ready to go from my side, all 3 commits have been cleaned and changes are as minimal as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: codebase making darktable source code easier to manage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants