gimp-message outputs "script-fu-Warning" when it's not necessarily a warning

Bug #1016291 reported by Andras Muranyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gimp (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I use the command 'gimp-message' in a Gimp script, the output is started with"script-fu-Warning:".
I think there is no reason to assume that the message is an actual warning. This behavior may be misleading or frightening for some people, especially if they are not so experienced with the computer.

Steps to reproduce:
1. Create an .scm file with the following content: (gimp-message "test")
2. Run the newly created .scm file with Gimp.
Actual result:
- Console output reads: "script-fu-Warning: test"
Expected result:
- Console output reads: "script-fu-Message: test"

(Gimp 2.6.11)

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Could you provide your script please? Is this reproducable with GIMP 2.8.x series? Thank you for telling us!

Changed in gimp (Ubuntu):
status: New → Incomplete
Revision history for this message
Andras Muranyi (muranyia) wrote :

Thank you for the reply, Thomas.
I'm attaching two test scripts. (None of them is perfect as I am not very good at Gimp scripts.)
I made the tests with Gimp 2.8.

First one (message-TEST-registered.scm) registers the script with script-fu so that it can be run from the Filters menu as "Message Test". I recommend you run it with the following command:
gimp -b '(script-fu-message-test)'
The result is a popup titled "Gimp Message", which is quite good, the icon however is a "sad face".
Alternatively, you can just start Gimp and run the script from the Filters menu:
The result is an exclamation mark in the status bar, plus the message "Hello World".
The above results don't have the word "Warning" any more, but still have the icons that refer to a warning (sad face or exclamation mark).

The second script (message-test-TEST-raw.scm) contains only a gimp-message command and will run immediately when Gimp is started. I recommend that you start Gimp from the command line with "gimp".
The result is a message on the console: "script-fu-Warning: Hello World".

My point is that any reference to a problem situation (sad face, exclamation mark, or the text"Warning) is unnecessary and shall be replaced (maybe with an "i" for info icon, and respecively with the text "script-fu-Message") as a gimp-message command does not necessarily indicate a warning.

Thanks for taking a look!

Revision history for this message
Andras Muranyi (muranyia) wrote :

The other script

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gimp (Ubuntu) because there has been no activity for 60 days.]

Changed in gimp (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.