From 00ed70512ae514e94475796cd583d04c6b76c192 Mon Sep 17 00:00:00 2001 From: Alexander Schwinn <acs82@gmx.de> Date: Fri, 10 Nov 2017 21:35:17 +0100 Subject: [PATCH] Temporary disabled auto-scroll feature of pathbar, in order to prevent seg.faults. A proper fix is in work and will be applied soon. --- thunar/thunar-location-buttons.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/thunar/thunar-location-buttons.c b/thunar/thunar-location-buttons.c index 53da5cd58..36847a81f 100644 --- a/thunar/thunar-location-buttons.c +++ b/thunar/thunar-location-buttons.c @@ -1125,10 +1125,13 @@ thunar_location_buttons_clicked (ThunarLocationButton *button, /* check if the button is visible on the button bar */ if (!gtk_widget_get_child_visible (GTK_WIDGET (button))) { - buttons->scroll_count = 0; - /* scroll left till the button is visible */ - while(!gtk_widget_get_child_visible (GTK_WIDGET (button)) && buttons->scroll_count < g_list_length(buttons->list) ) - thunar_location_buttons_scroll_left (buttons->left_slider, buttons); +// ########## +// FIXME: The auto-scroll feature currently is disabled, since on horizontal small windows it can produce graphical glitches and even seg.faults. To be fixed. +// ########## +// buttons->scroll_count = 0; +// /* scroll left till the button is visible */ +// while(!gtk_widget_get_child_visible (GTK_WIDGET (button)) && buttons->scroll_count < g_list_length(buttons->list) ) +// thunar_location_buttons_scroll_left (buttons->left_slider, buttons); } /* update all buttons */ -- GitLab