Acknowledged
CIQQA-3776

[bug] Simulator bug for older systems

My layout is messed up when I use drawRadialText on I guess devices with system 7, to make it easy I'll talk about system 7 where it fails.

However, if I first choose to run it on a system 8 device and re-use the simulator screen to run it on a system 7 device it works ok.

This is a typical line of code where it happens:

dc.drawRadialText(width/2, height/2, vectorBdf, strBottomDataTXT, 0, angleBottomDataTXT, r, Graphics.RADIAL_TEXT_DIRECTION_CLOCKWISE); // Graphics.TEXT_JUSTIFY_RIGHT replaced with 0
The textstring is composed from two sets of Complication.shortLabel and Complication.value values, that have some simple preformatting to reduce the errors in the complication object on beforehand with a calculated maximum range for the total length of the string.
On the left before running a system 8 device on beforehand, on the right after doing so:
I could test the outcome on Venu 3 and Fenix 8, on both it works perfectly, but they both also work perfectly in the simulator. In the simulator for example the Approach S70 and fenix 7 series have this problem. 
Parents
  • The simulator window is opened from the SDK version you use to build, run your app. If you keep it open, change the SDK version for the next build, and you run in the same device it'll use the already open simulator from the previous SDK version.

    Every time you switch SDK version close the simulator window 

Comment
  • The simulator window is opened from the SDK version you use to build, run your app. If you keep it open, change the SDK version for the next build, and you run in the same device it'll use the already open simulator from the previous SDK version.

    Every time you switch SDK version close the simulator window 

Children