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!

** Attachment added: "Gimp script to test the gimp-message command (registered 
version)"
   
https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/1016291/+attachment/3850870/+files/message-TEST-registered.scm

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gimp in Ubuntu.
https://bugs.launchpad.net/bugs/1016291

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

Status in “gimp” package in Ubuntu:
  Incomplete

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/1016291/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to