The following workaround works for me. It just requests a redraw of the
visible area each time after scrolling:
diff -Naur xournal-0.4.7/src/xo-callbacks.c xournal-fixed/src/xo-callbacks.c
--- xournal-0.4.7/src/xo-callbacks.c 2012-07-04 23:02:57.000000000 +0100
+++ xournal-fixed/src/xo-callbacks.c 2013-12-09 22:11:42.545079488 +0000
@@ -2935,6 +2935,11 @@
double viewport_top, viewport_bottom;
struct Page *tmppage;
+ GtkAdjustment *v_adj =
gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(GET_COMPONENT("scrolledwindowMain")));
+ GtkAdjustment *h_adj =
gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(GET_COMPONENT("scrolledwindowMain")));
+
+
gnome_canvas_request_redraw(canvas,h_adj->value,v_adj->value,h_adj->value+h_adj->page_size,v_adj->value+v_adj->page_size);
+
if (!ui.view_continuous) return;
if (ui.progressive_bg) rescale_bg_pixmaps();
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1242641
Title:
scrolling in xournal leads to bad rendering since update to saucy
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xournal/+bug/1242641/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs