Bug 353836 - unintended "SHOULD NOT BE SEEN" message exposed
Summary: unintended "SHOULD NOT BE SEEN" message exposed
Status: RESOLVED FIXED
Alias: None
Product: kig
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: David E. Narvaez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-12 21:07 UTC by Maurizio Paolini
Modified: 2016-03-12 22:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maurizio Paolini 2015-10-12 21:07:45 UTC
The message "SHOULD NOT BE SEEN" is displayed when using a user defined macro:

Create a macro to invert an object (not a point) with respect to a circle.
Then invoke the macro and hover on an "invertible" object (a circle, an arc, a line, a ray or a segment).

A minimal patch could be:

--- a/objects/special_imptypes.cc
+++ b/objects/special_imptypes.cc
@@ -111,7 +111,7 @@ WeightImpType weightimptypeinstance(
 
 InvertibleImpType::InvertibleImpType( const ObjectImpType* parent,
     const char* internalname )
-  : ObjectImpType( parent, internalname, snbs, snbs,
+  : ObjectImpType( parent, internalname, snbs, I18N_NOOP( "Select this object" ),
                    snbs, snbs, snbs, snbs, snbs, snbs, snbs )
 {
 -----------------------------------------------------------------------------------

Since the message "Select this object" is already present somewhere else, this should not
require any additional work by the localization teams.