[Gimp-developer] Tool statusbar error messages

Michael Natterer mitch at gimp.org
Wed Sep 27 14:50:24 PDT 2006


On Wed, 2006-09-27 at 21:25 +0200, Raphaël Quinet wrote:
> On Wed, 27 Sep 2006 21:03:30 +0200, Sven Neumann <sven at gimp.org> wrote:
> > On Tue, 2006-09-26 at 23:02 +0200, Michael Natterer wrote:
> > > I just comitted a change that moves all tool error messages that
> > > can happen when clicking the image to the image window's statusbar,
> > > using the new gimp_statusbar_push_temp() API.
> > 
> > How do we handle the statusbar being invisible? Perhaps the statusbar
> > should delegate to gimp_message() if it is not currently shown?
> 
> Yes, but this should probably not be done by the status bar itself.  It
> should be done one level higher so that the code still knows that it is
> some error message that is important enough to be displayed with
> gimp_message().

We only show messages if things didn't happen as the user expected
them to happen. We can't just let user actions on the display fail
without any comment. The Statusbar should imho just use gimp_message()
if it is invisible.

ciao,
--mitch



More information about the Gimp-developer mailing list