Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix gtk crash on module instance delete #18066

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zisoft
Copy link
Collaborator

@zisoft zisoft commented Dec 25, 2024

If the currently focused module instance is being deleted, gtk crashes on gtk_widget_grab_focus().

To reproduce:

  • enter darkroom
  • create a new instance of the exposure module
  • slightly touch the exposure slider so the module is focused
  • delete the instance

Solution is to move the focus to dt_ui_center before the module instance is deleted.

fixes #18052
fixes #18039

If the currently focused module instance is being deleted, gtk crashes
on `gtk_widget_grab_focus()`.
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.

darktable crashes when deleting new instance Darktable 5.1 app crash
1 participant