Acknowledged
over 1 year ago

CIQ Simulator Edit Application.Properties data doesn't show any properties

Hi,

I'm using CIQ Simulator on Linux (UBUNTU 22.04 LTS) with VSCode 1.91.1. I have installed the newest VSCode Extension (v1.0.11) and I'm using the newest SDK (7.2.1)

While running my application from VSCode, when the simulator starts and I try to edit application properties, I get empty window, where I can only change App and Language, but the part below is empty. Hovewer, when I run the simulator directly from my console (ConnectIQ/Sdks/connectiq-sdk-lin-<version>/bin/simulator) I can freely change any properties and everything is working fine.

Saving those empty window results in "Error running JavaScript: Usupported result type"

What I've tried already:

  • re-installing SDK
  • re-installing VSCode extension
  • Simulator -> File -> Delete All Apps
  • removing old .SET files from /tmp/com.garmin.connectiq/GARMIN/APPS/SETTINGS
  • creating new project using template with settings

None of those attempts worked for me.

When I run CIQ simulator directly, I can then build my app to load onto this simulator instance, and change settings, but the app don't update when I save them, only, when I change something like time format or language.

Is that a bug in the software, or is there anything else I can do to reset it to expected behavior?

  • I didn't try your method, but I found a solution. It happened that snap version of Visual Studio was at fault here. I've installed deb version and now I can run settings from simulator run on VS

  • try running the sdk with WEBKIT_DISABLE_COMPOSITING_MODE=1 environment variable, I was not able to run the sdk for many months just to discover this recently ... unfortunately the overall quality of Garmin SDK is terrible

  • Unfortunately, I've tried all the steps you proposed, also cleaned all data from /tmp/com.gramin.connectiq/GARMIN and the issue is still there. I've also tried for multiple devices, still with no result

  • Maybe it's a new incarnation of the known issue that the simulator caches settings in a not very consistant way. Try Reset All App data, Delete All Apps, Reset Simulator (All in the File menu), and then close the simulator window, and then Run again from VSC