After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 92604 - 2 error dialogs pop-up on file plug-in errors
2 error dialogs pop-up on file plug-in errors
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
1.x
Other All
: Normal normal
: 2.2
Assigned To: GIMP Bugs
GIMP Bugs
: 133743 139572 142346 149979 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-09-05 21:00 UTC by Maurits Rijk
Modified: 2004-09-13 23:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Mockup of a smarter message dialog (22.00 KB, image/png)
2003-10-26 01:53 UTC, Sven Neumann
Details

Description Maurits Rijk 2002-09-05 21:00:12 UTC
When I try to save a file test.jpg to the root (/) directory I get 2 error
dialogs: the first one saying "Can't open test.jpg" and the other one
saying "can't save test.jpg". It would be nicer to have just one error
dialog. It would also be nice if these dialog(s) is/are automatically
removed when I close the file selection dialog. Right now they stay on the
screen forever when I forget to close them. That can cause confusion when
you open another file selection dialog later.
Comment 1 Raphaël Quinet 2002-10-04 16:07:31 UTC
This happens with many plug-ins and this is due in part to the way the
file save/load plug-ins interact with the core.  This should be
re-designed in a better way for a future release.  In the meantime, one
acceptable solution for the stable branch may be to remove the error
message "can't open %s" generated by these plug-ins and rely on the
default error message.  That would solve half of the problem.
Comment 2 Sven Neumann 2003-10-26 01:52:49 UTC
Another way to handle this problem would be to make the dialog gimp
message handler as smart as the error console message handler. This
could look somehow like the attached mockup. If more messages turn up
while the dialog is open, a scrollbar would have to appear.
Comment 3 Sven Neumann 2003-10-26 01:53:43 UTC
Created attachment 20945 [details]
Mockup of a smarter message dialog
Comment 4 Raphaël Quinet 2003-11-21 13:52:53 UTC
A dialog combining the error messages is interesting (nice mock-up!) but
I think that we should still do something about the error messages that
are basically duplicating each other.  It is not very useful to have a
plug-in saying "cannot save file" and then the core repeating "save
failed."

The error message from the core is probably not necessary, because the
plug-in can be more specific about the nature of the error.  The only
case in which an error message from the core may be useful is if the
plug-in crashes (the exit status shows that the plug-in got a signal).
Comment 5 Michael Natterer 2004-02-07 19:47:28 UTC
*** Bug 133743 has been marked as a duplicate of this bug. ***
Comment 6 Sven Neumann 2004-04-09 12:36:04 UTC
*** Bug 139572 has been marked as a duplicate of this bug. ***
Comment 7 Sven Neumann 2004-05-11 15:58:34 UTC
*** Bug 142346 has been marked as a duplicate of this bug. ***
Comment 8 Michael Natterer 2004-08-12 19:52:24 UTC
*** Bug 149979 has been marked as a duplicate of this bug. ***
Comment 9 Sven Neumann 2004-09-13 23:18:34 UTC
2004-08-25  Sven Neumann  <sven@gimp.org>

        * app/widgets/gimpmessagebox.[ch]: added gimp_message_box_repeat().

        * app/widgets/Makefile.am
        * app/widgets/widgets-types.h
        * app/widgets/gimperrordialog.[ch]: added new dialog that adds a new
        GimpMessageBox for each message added. Fixes bug #92604.