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
  • Ah, ok, so you run Fenix8, then fenix6.

    Sometimes (too many) the simulator remembers things it shouldn't. I totally agree it's an annoying bug that Garmin should fix. But whenever strange things happen I delete all apps from the simulator, reset it, close it, open a new one. Sometimes if works afterwards.

    The problem is we don't know how many times it's the opposite way: something works, but just because the previous things, and it wouldn't work in a fresh simulator and it won't work on a real device

Comment
  • Ah, ok, so you run Fenix8, then fenix6.

    Sometimes (too many) the simulator remembers things it shouldn't. I totally agree it's an annoying bug that Garmin should fix. But whenever strange things happen I delete all apps from the simulator, reset it, close it, open a new one. Sometimes if works afterwards.

    The problem is we don't know how many times it's the opposite way: something works, but just because the previous things, and it wouldn't work in a fresh simulator and it won't work on a real device

Children
No Data