Skip to content

Commit

Permalink
don't try to iconify/hide window during init
Browse files Browse the repository at this point in the history
Unfortunately, on some systems minimizing or hiding the main window
during initialization results in the main window remaining hidden or
iconified.  We'll have to live with a brief display of an empty window....
  • Loading branch information
ralfbrown committed Sep 20, 2024
1 parent 979766e commit da9ea85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/gtk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1671,7 +1671,8 @@ static void _init_widgets(dt_gui_gtk_t *gui)
// then we hide the scroll bars and popup messages again
// before doing this, request that the window be minimized (some WMs
// don't support this, so we can hide it below, but that had issues)
gtk_window_iconify(GTK_WINDOW(dt_ui_main_window(gui->ui)));
// gtk_window_iconify(GTK_WINDOW(dt_ui_main_window(gui->ui)));
// unfortunately, on some systems the above results in a window which can only be manually deiconified....
gtk_widget_show_all(dt_ui_main_window(gui->ui));
gtk_widget_set_visible(dt_ui_log_msg(gui->ui), FALSE);
gtk_widget_set_visible(dt_ui_toast_msg(gui->ui), FALSE);
Expand Down

0 comments on commit da9ea85

Please sign in to comment.