Icons inappropriately display with transparent or opaque background

  • 7004758
  • 29-Oct-2009
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management with Support Pack 2 - 10.2

Situation

In ZENworks 10 Configuration Management 10.2, some bundle icons with opaque backgrounds show transparent background when displayed in nalwin or on desktop.
 
After the 10.2.1 update to fix the original problem, the reverse may occur and some icons previously uploaded with prior versions that had shown transparent backgrounds, now show opaque backgrounds when displayed in nalwin or on desktop.
 
For example:
 
 
ERROR:
<guid>
{0;BUNDLE.CouldNotParseBitmap;System.ArgumentException: Parameter is not valid. at System.Drawing.Bitmap..ctor(Stream stream) at Novell.Zenworks.AppModule.AppActionItem.ResizeBitmapFromStream(Stream s, Int32 nWidth, Int32 nHeight) at Novell.Zenworks.AppModule.AppActionItem.Ove}

Resolution

For 10.2.1 use the ZCC to edit the bundle with the bad icon.  Use the icon editor to edit the icon (bundle details> Summary> Icon> Edit> OK).  It is not necessary to re-upload the icon, but simply invoke the editor.  Increment the bundle version and the icon should appear correct after the agent is refreshed.

Status

Reported to Engineering

Additional Information

The icon definition in xml has changed from 10.2 to 10.2.1.
 
The icon definition is stored locally on the managed device in the cache .appstate file, which is not updated with new formatting information until after edit and version change to the bundle.
 
In the error listed under Situation above, <guid> is the bundle guid.  So the offending bundle can be derived from the error through use of zman ogp <guid>.