Improved SVG behaviour

Some other behaviour quirks - I've never seen the outline in Enketo before for group selection, or been able to mouseover/select an object in Enketo.

My ideal fix here would be if you could select a group in Collect and see the change on the SVG, not just the text at bottom. The use case is where there are multiple instances of the same item/string/ID on my drawing in different areas that can't be wrapped in a single path/object, so being able to highlight or select any of them and have all toggle / visually change.

The ability to select items inside groups as well as the group is potentially useful but a difficult UI without leveraging a separate non SVG choice list with linked triggers to keep selections in sync so I think less useful.


Varying behaviour seen for objects/paths, stroke/nostroke, elements/groups, Enketo/Collect (behaviour may change with how SVG is authored/optimised);

  • If you group path elements with no outline together and use the group ID in your choice list
    • these are selectable in Enketo and a blue border appears around each element and the fill doesn't change like it does for selecting single paths.
      • reference to paths and groups being selectable in Enketo feature announcement: As far as we know, any SVG image could be used to make certain “paths” (<path>) or “groups” (<g>) clickable, but there may very well be surprises for some complex images.
    • these are selectable in Collect but there is no visual indication, only the 'Selected' text at the bottom.
  • If you group object elements with no outline together and use the group ID in your choice list
  • If you include the ID of an object element that is in a group in your choice list as well
    • It is selectable in Enketo (again, objects not usually able to be selected) but with no visible change
    • It is selectable in Collect, and will select the object and change fill colour, as well as selecting the group, with no visible indication for the group
  • If you include the ID of an path element that is in a group in your choice list as well
    • It is selectable in Enketo and the fill changes, but doesn't select the group. Selecting a different element in the group selects the entire group and an outline appears on all (so selecting the group and the group sub item will indicate with fill and outline change)
    • It is selectable in Collect, and will select the object and change colour, as well as selecting the group, with no visible indication, as above for object
  • If you add stroke styling (all previous were fill only) to path elements and group these
    • In Enketo the ID appears on mouseover / can be selected, but the blue outline does not appear anymore.
    • In Collect, they can be selected, but the fill doesn't change

Also noticed in Collect - if there is a select (columns) linked (each has a triggered calculation to the other) to a select (image-map), changing the select-columns question will reset the zoom/pan of the SVG in the select-image-map - like it's redrawing it with the selected item(s), but selecting on the SVG in a zoomed/panned state doesn't cause a reset of the drawing.