laptop and a wrench

Bug

Graphic symbols get corrupted by quickly minimizing or restoring the application window.

Last Published: October 12, 2016 ArcGIS Runtime SDK
Bug ID Number BUG-000096372
SubmittedMay 10, 2016
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found10.2.7
Operating SystemWindows OS
Operating System Version8
StatusNon-Reproducible

Additional Information

With the code updated to round the symbol sizes to whole numbers or (ideally and) to pre-generate the symbols used to simulate the strobe marker effect, it is no longer possible to reproduce the original issue. This is a more efficient use of the rendering pipeline because it is able to reuse existing textures instead of generating many unique textures could eventually run out of available resources.

Workaround

In the sample, sizes of the graphic symbol contain decimal numbers such as 20.000085179366817, 20.003101516850865, 20.025239007619039, and so on.Convert the symbol size to a whole number using the Math.Round() function, as seen in the expression below, to prevent the issue from recurring.Size = Math.Round(initSize + fraction * (finalSize - initSize), 0); OrPre-generate PictureMarkerSymbols, and iterate through them to simulate the strobe effect. This is more visually appealing, and graphic corruption does not occur with this change.

Steps to Reproduce

Bug ID: BUG-000096372

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options