Skip to content

Commit 77e36ff

Browse files
committed
don't use rotate transtions
can trigger a stack overflow with some drivers
1 parent 436fc9a commit 77e36ff

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/imagewindow.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,11 @@ imagewindow_imageui_set_visible(Imagewindow *win,
733733
gtk_label_set_text(GTK_LABEL(win->subtitle), "");
734734

735735
if (imageui) {
736-
gtk_stack_set_transition_type(GTK_STACK(win->stack), transition);
736+
printf("imagewindow_imageui_set_visible: FIXME ... "
737+
"set_transition_type can stack overflow for some transitions\n");
738+
// gtk_stack_set_transition_type(GTK_STACK(win->stack), transition);
739+
gtk_stack_set_transition_type(GTK_STACK(win->stack),
740+
GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT);
737741
gtk_stack_set_visible_child(GTK_STACK(win->stack), GTK_WIDGET(imageui));
738742

739743
/* Enable the control settings, if the displaycontrolbar is on.

0 commit comments

Comments
 (0)