Acknowledged
over 1 year ago

Relative Layouts with text-areas crash on Fenix 5x

Hi, I use relative layouts with text-areas in my watch face. When the user runs the watch face in preview it works fine, but when the user selects the watch face, it crashes and the watch reverts to the previous/default watch face. The crash log file has this:

Error: Symbol Not Found Error
Details: "Could not find symbol '<Toybox_WatchUi_TextArea_>>fitTextToArea>'"
Time: 2024-02-11T10:38:40Z
Part-Number: 006-B2604-00
Firmware-Version: '25.00'
Language-Code: eng
ConnectIQ-Version: 4.2.3
Filename: F97B28AD
Appname: Dexcom Watch Face
Stack: 
  - pc: 0x300026ea
  - pc: 0x300021f8
  - pc: 0x30001642
  - pc: 0x300015aa
  - pc: 0x10002753
    File: 'C:\Users\fsall\OneDrive\Garmin\Garmin Projects\DexFace\source\DexFaceView.mc'
    Line: 190
    Function: onUpdate
 

It crashes on line 190 in the onUpdate function in my view class. Line 190 has this:

View.onUpdate(dc);

The description in the crash log has: Details: "Could not find symbol '<Toybox_WatchUi_TextArea_>>fitTextToArea>'"

The target is Fenix 5x. 

Parents
  • Hi, I don'tknow why you think this is a problem in my code. As I explained above, when I use <text-area> with multiple fonts it crashes, but after I change to <label> it works. Nothing else was changed in my code. Clearly chaninging from text-area to label in the layout did the trick. The Fenix 5x device should support text areas, its compatible with CIQ 3.1.0.   

Comment
  • Hi, I don'tknow why you think this is a problem in my code. As I explained above, when I use <text-area> with multiple fonts it crashes, but after I change to <label> it works. Nothing else was changed in my code. Clearly chaninging from text-area to label in the layout did the trick. The Fenix 5x device should support text areas, its compatible with CIQ 3.1.0.   

Children
No Data