Acknowledged

Request: Finer control over compiler warnings

There are three warnings that mainly serve to obfuscate the compiler output:

  1. Glance warnings
  2. Complication warnings
  3. Rescaling launcher icon warnings

 These warnings are of limited use yet they fill with compiler output with so many warnings that they tend to hide useful warnings that need to be addressed.

The glance and complication warnings are mainly about notifying that they are not supported for the device or app type.  The problem with this is that for shared resources (where we use scope="glance") this is harmless but can be numerous to the point of being absurd. I get 290 such warnings for scope="glance" for strings because I support many languages.

The rescaling warning does not make sense to me when the icon is in SVG format.  That seems like a bug to me since I thing we all assume an SVG file will be scaled accordingly and will look fine scaled.  I can see how this made sense for bitmap/png icons but not for SVG.

At a minimum, I would really appreciate the ability to turn off glance warnings.

Parents
  • I mostly agree with the above but probably there are more. I get also warnings like: Hebrew is not supported on fenix3, which is true, but since it is supported in GCM the settings can be translated, so it's a missleading message.

    Regarding of the icon size: yeah, instead of stating the obvious maybe the warning should recommend using svg when it's not used and also recommend the "correct" svg size (I know it's vector, but there is a size in it, I guess that is what's cause the warning when using svg)

Comment
  • I mostly agree with the above but probably there are more. I get also warnings like: Hebrew is not supported on fenix3, which is true, but since it is supported in GCM the settings can be translated, so it's a missleading message.

    Regarding of the icon size: yeah, instead of stating the obvious maybe the warning should recommend using svg when it's not used and also recommend the "correct" svg size (I know it's vector, but there is a size in it, I guess that is what's cause the warning when using svg)

Children
No Data