From bee31119cae774dff9fce56d96d617f19ff1bbf4 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sat, 28 Mar 2009 21:18:40 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20555738=20=E2=80=93=20Image=20display=20is?= =?UTF-8?q?=20wrong=20after=20undoing=20canvas=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2009-03-28 Michael Natterer Bug 555738 – Image display is wrong after undoing canvas size enlargement * app/display/gimpdisplayshell-handlers.c (gimp_display_shell_size_changed_detailed_handler): call gimp_display_shell_expose_full() because resizing the canvas can leave all sorts of display areas unupdated otherwise. svn path=/trunk/; revision=28230 --- ChangeLog | 10 ++++++++++ app/display/gimpdisplayshell-handlers.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 26a580e5a0..e3c56ead4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2009-03-28 Michael Natterer + + Bug 555738 – Image display is wrong after undoing canvas size + enlargement + + * app/display/gimpdisplayshell-handlers.c + (gimp_display_shell_size_changed_detailed_handler): call + gimp_display_shell_expose_full() because resizing the canvas can + leave all sorts of display areas unupdated otherwise. + 2009-03-28 Michael Natterer * app/display/gimpdisplayshell-handlers.c diff --git a/app/display/gimpdisplayshell-handlers.c b/app/display/gimpdisplayshell-handlers.c index 9475829bda..96ce657056 100644 --- a/app/display/gimpdisplayshell-handlers.c +++ b/app/display/gimpdisplayshell-handlers.c @@ -528,6 +528,8 @@ gimp_display_shell_size_changed_detailed_handler (GimpImage *image, * the end */ gimp_display_shell_scroll_clamp_and_update (shell); + + gimp_display_shell_expose_full (shell); } }