GNOME Bugzilla – Bug 92604
2 error dialogs pop-up on file plug-in errors
Last modified: 2004-09-13 23:18:34 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.
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.
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.
Created attachment 20945 [details] Mockup of a smarter message dialog
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).
*** Bug 133743 has been marked as a duplicate of this bug. ***
*** Bug 139572 has been marked as a duplicate of this bug. ***
*** Bug 142346 has been marked as a duplicate of this bug. ***
*** Bug 149979 has been marked as a duplicate of this bug. ***
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.