summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a43ce49)
raw | patch | inline | side by side (parent: a43ce49)
author | johncoswell <johncoswell@users.sourceforge.net> | |
Sun, 23 Jul 2006 18:43:31 +0000 (18:43 +0000) | ||
committer | johncoswell <johncoswell@users.sourceforge.net> | |
Sun, 23 Jul 2006 18:43:31 +0000 (18:43 +0000) |
around event starvation issue at high zoom levels
ChangeLog | patch | blob | history | |
src/event-context.cpp | patch | blob | history | |
src/node-context.cpp | patch | blob | history | |
src/verbs.cpp | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index e88f0d647db3b203443cb8db03db84e8be19e5e6..7c9c33f969acf885fcdf3696f98e3fe7fa352d60 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2006-07-23 John Bintz <jcoswell@coswellproductions.org>
+
+ * src/verbs.cpp, src/event-context.cpp, src/node-context.cpp:
+
+ forced redraw of canvas upon completion of zooming or upon
+ starting rubber band selection events to work around event
+ starvation issue at high zoom levels
+
2006-07-23 MenTaLguY <mental@rydia.net>
* src/widgets/paint-selector.cpp:
2006-07-23 John Bintz <jcoswell@coswellproductions.org>
- * src/desktop.cpp, src/desktop.h
+ * src/desktop.cpp, src/desktop.h:
added SPDesktop::updateNow()
- * src/event-context.cpp, src/select-context.cpp, src/node-context.cpp
+ * src/event-context.cpp, src/select-context.cpp, src/node-context.cpp:
forced redraw of canvas upon completion of selection or panning
to work around event starvation issue at high zoom levels
diff --git a/src/event-context.cpp b/src/event-context.cpp
index 92dc711cf0f1c897181ace9a6339379690fa1cf3..8bda4b6c4255e335bd06feac01a38ce484188f23 100644 (file)
--- a/src/event-context.cpp
+++ b/src/event-context.cpp
@@ -460,6 +460,7 @@ static gint sp_event_context_private_root_handler(SPEventContext *event_context,
panning = 0;
sp_canvas_item_ungrab(SP_CANVAS_ITEM(desktop->acetate),
event->button.time);
+ desktop->updateNow();
ret = TRUE;
} else if (zoom_rb == event->button.button) {
zoom_rb = 0;
diff --git a/src/node-context.cpp b/src/node-context.cpp
index 8f8a48bf7718f9ddf06a90ed3af9590be447af76..f213b58aaa88869cc1c87d6bf4e7cce81ad88d6b 100644 (file)
--- a/src/node-context.cpp
+++ b/src/node-context.cpp
event->button.y);
NR::Point const button_dt(desktop->w2d(button_w));
Inkscape::Rubberband::get()->start(desktop, button_dt);
+ desktop->updateNow();
ret = TRUE;
}
break;
diff --git a/src/verbs.cpp b/src/verbs.cpp
index 0a22cc1081ee988b4a30d53856de589332c29f9e..c70e62fe220e04af68536e03aa139cd15922a064 100644 (file)
--- a/src/verbs.cpp
+++ b/src/verbs.cpp
default:
break;
}
+
+ dt->updateNow();
} // end of sp_verb_action_zoom_perform()