summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNelson Benitez Leon <[email protected]>2017-05-28 22:35:05 +0500
committerraveit65 <[email protected]>2017-08-15 14:45:04 +0200
commit0b90c31ddc0a6b2ffa01138ddab0dbb4d9e462a2 (patch)
tree2440589dc0ac0cca6d26fc102f5b90a06be64204 /configure.ac
parent32e67cc51d084fe0cc55b15de81d836366cfcd54 (diff)
downloadatril-0b90c31ddc0a6b2ffa01138ddab0dbb4d9e462a2.tar.bz2
atril-0b90c31ddc0a6b2ffa01138ddab0dbb4d9e462a2.tar.xz
sidebar-thumbnails: fix clunky scrolling
Caused by GtkIconView doing an invalidate and relayout of *all* items in the view anytime we update model data in any indiviual item (which happens with all the items that are getting in and out of the scrolling area while we scroll). This caused GtkIconView to machine-gunned us with "size-allocate" signals, a signal we were using to update thumbnails when the sidebar is resized. Fixed by connecting to the GtkTreeModel "row-changed" signal before GtkIconView does it, and stop emission from there. As we don't depend now on "size-allocate" signals to show thumbnails while we scroll, just queue a draw on the icon view when a thumbnail finish rendering. Thanks Jose Aliste for first spotting the problem. https://bugzilla.gnome.org/show_bug.cgi?id=691448 origin commit: https://git.gnome.org/browse/evince/commit/?id=6480c70 Fixes https://github.com/mate-desktop/atril/issues/255
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions