summaryrefslogtreecommitdiff
path: root/atril-view.pc.in
diff options
context:
space:
mode:
authorNelson Benitez Leon <[email protected]>2017-05-28 22:35:05 +0500
committerraveit65 <[email protected]>2017-08-15 14:09:42 +0200
commit744a1c5e8259773b35600944c28189b98879f937 (patch)
treebab176ebe90367d9060b2cadda7f0ed56e50fca4 /atril-view.pc.in
parent43895b016112550614db76212d921097d35b98e7 (diff)
downloadatril-744a1c5e8259773b35600944c28189b98879f937.tar.bz2
atril-744a1c5e8259773b35600944c28189b98879f937.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 'atril-view.pc.in')
0 files changed, 0 insertions, 0 deletions