arctic-viewer icon indicating copy to clipboard operation
arctic-viewer copied to clipboard

Unable to select list widget entries

Open nvuaille opened this issue 7 years ago • 0 comments

I use a local clone of arctic-viewer. I created a Cinema database with ParaView and then I used the script to convert it to ArcticViewer index.json Then I load the database. A correct Image is displayed on my browser. I have only one parameter, and there is a combobox widget. Then I try to select another entry. The list is correctly displayed but clicking on another entry does not change the 'selected entry' (i.e. when the list is hidden, the visible entry stays the same) and the no other image is loaded.

Here is my index.json

{
  "type": [
    "tonic-query-data-model"
  ],
  "arguments_order": [
    "Contour1"
  ],
  "arguments": {
    "Contour1": {
      "values": [
        293.15,
        389.451,
        517.388,
        687.352,
        913.15
      ]
    }
  },
  "data": [
    {
      "name": "image",
      "type": "blob",
      "mimeType": "image/png",
      "pattern": "{Contour1}.png"
    }
  ],
  "metadata": {
    "camera_angle": [
      30
    ],
    "camera_at": [
      [
        0,
        0,
        0.07999992370605469
      ]
    ],
    "camera_eye": [
      [
        72.93315925654687,
        5.0301822293612855,
        -4.699587524868577
      ]
    ],
    "camera_model": "static",
    "camera_nearfar": [
      [
        4.480784530774031,
        159.82870341623453
      ]
    ],
    "camera_up": [
      [
        0.05850959325758261,
        0.09583591628420926,
        0.9936760561907478
      ]
    ],
    "pipeline": [
      {
        "children": [
          "8553"
        ],
        "id": "7929",
        "name": "disk_out_ref.ex2",
        "parents": [
          "0"
        ],
        "visibility": 0
      },
      {
        "children": [],
        "id": "8553",
        "name": "Contour1",
        "parents": [
          "7929"
        ],
        "visibility": 1
      }
    ],
    "store_type": "FS",
    "version": "0.0"
  }
}

If I specify a slider, it works well.

nvuaille avatar Mar 06 '18 16:03 nvuaille