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 557870 - "Qmask" message popping up here and there
"Qmask" message popping up here and there
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Internationalisation
git master
Other All
: Normal trivial
: 2.6
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2008-10-25 14:59 UTC by Alexandre Prokoudine
Modified: 2008-10-25 15:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexandre Prokoudine 2008-10-25 14:59:08 UTC
Please describe the problem:
This is really just a little nuisance, but here goes.

1) When you switch on a quick mask, status bar displays "Qmask" message, which in localized UI should really be translatable.

2) When you go to Channel dialog, and the quick mask is enabled, double click translated "Quick mask" item and it automatically changes to "Qmask" all by itself. If you press Escape or just click anywhere outside the item, the message switches back to translated "Quick mask".

So here is obviously something fishy going on.

I found this in ChangeLog.pre-2-2:

2004-09-25  Michael Natterer

        * app/core/gimpimage-qmask.h: added comment about not changing the
        silly "Qmask" string because it is used to identify the Quick Mask
        in the XCF.

        * app/core/gimpchannel.c: implement GimpViewable::get_description()
        and return "Quick Mask" if it's the Quick Mask.

        * app/actions/qmask-actions.c
        * app/actions/qmask-commands.c
        * app/core/core-enums.[ch]
        * app/core/gimpimage-qmask.c
        * app/display/gimpdisplayshell.c: s/QuickMask/Quick Mask/.

So, is it something that still should be fixed or it is just result of a hackaround that is not supposed to be fixed?

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?
Yes

Other information:
Comment 1 Michael Natterer 2008-10-25 15:22:39 UTC
It was simply forgotten to use the "descriotion" instead of the "name"
in this special case. Thanks for finding it.
Comment 2 Michael Natterer 2008-10-25 15:30:49 UTC
Fixed in SVN:

2008-10-25  Michael Natterer  <mitch@gimp.org>

	Bug 557870 – "Qmask" message popping up here and there

	* app/display/gimpdisplayshell-title.c
	(gimp_display_shell_format_title): use
	gimp_viewable_get_description() instead of gimp_object_get_name()
	for displaying the active drawable's name so the quick mask and
	the floating selection have the same names as in the
	layers/channels dialogs.