GNOME Bugzilla – Bug 558215
unit and zoom entries in Statusbar not visible
Last modified: 2008-10-29 22:41:56 UTC
If only one image is open all is ok. But beginning with the second image the zoom and units field in the statusbar is initially empty. If I change unit and/or zoom values (pressing + or - key to change zoom) the entries are visible then.
Indeed, seems the initial emission of GimpDisplayShell::scaled() got lost or optimized away when overpanning was implemented. Martin, could you have a look at this?
Mitch, have you tested this with GIMP 2.6? It's broken there as well?
I have not confirmed it, but this problem is likely to have been introduced by: 2008-10-22 Martin Nordholts <martinn@svn.gnome.org> Bug 556804 – Zoom drop down doesn't update * app/display/gimpdisplayshell-scale.c * app/display/gimpdisplayshell-callbacks.c: Fix calls to gimp_display_shell_scaled() when Resize window on zoom is enabled. That fix is correct though. So this needs a new fix.
The safest fix is to go back to making the statusbar update as it does in GIMP 2.4, so I have commited that fix to trunk and gimp-2-6. (Note that this fix is not a revert of the fix for bug 556804, rather an adjustment to the fix.) 2008-10-29 Martin Nordholts <martinn@svn.gnome.org> Bug 558215 – unit and zoom entries in Statusbar not visible * app/display/gimpdisplayshell-callbacks.c (gimp_display_shell_canvas_size_allocate): Don't try to be clever, call gimp_display_shell_scaled() whenever the canvas size changes so a newly created display shell gets updated properly. Thank you for reporting this before 2.6.2 came out Heiko, that saved us quite a lot of grief.