0

Image Container does not update after edit

Hi

I am building an app which uses an Image container. I can drag an image to the container and it loads and saves correctly.

Clicking on the image or using the Open in editor menu item opens the image in an editor and the usual tools are available to add shapes, comments etc to the image. However on closing the editor ( there does not seem to be a save & close option) the image in the container is not updated/refreshed to reflect the edits made. 

Opening in the editor shows the annotations correctly so they are not being lost.

Any changes made using the crop tool are lost.

Am I missing something or is this a bug.

I have attached a simple app which demonstrates this behaviour.

Thanks for any assistance with this. 

Regards

Chris

5 replies

null
    • Fred
    • 3 mths ago
    • Reported - view

    I am able to duplicate the issues in the public cloud, so I would send an email to Ninox support.

      • Chris_Mullett
      • 3 mths ago
      • Reported - view

      Thanks  

    • Chris_Mullett
    • 3 mths ago
    • Reported - view

    I reported this to Ninox and got the following response:
     

    Hello Chris,

    we are aware of this behavior and it is intended.
    Image annotations are saved, but the image container does not automatically refresh to reflect edits made in the editor.

    Best regards,

    Rather disappointing!

    • sjames05569
    • 3 days ago
    • Reported - view

    It sounds like you might be running into a UI refresh issue where the front-end isn't catching the change made to the record. One trick that sometimes works in Ninox is to force a UI refresh by using a small script at the end of your edit trigger.

    Try adding dialog("Success", "Image updated", ["OK"]) or even just a simple closeRecord() followed by an openRecord(this) to the button or trigger you're using. This usually forces the container to reload the actual file from the server. If it's still stuck, double-check that the file name isn't identical to the previous one; sometimes the cache thinks nothing has changed if the filename stays the same!

      • Chris_Mullett
      • 3 days ago
      • Reported - view

        Thanks for your contribution. I understand what you are saying, but I do not see how this is possible. I am running Ninox locally and just clicking on the image opens it in the editor. Edits can be made and the editor closed, but are not reflected in the image in the table even if the record is closed and reopened. The edits do remain in the edit window, so I think Ninox saves an internal copy with the edits, but this is only accessible in the edit widow. This seems to be confirmed by the reply I received from Ninox support (in the comments above).

      I don't understand why this should be intended behaviour, to my mind if I apply edits I want them visible.

      Regards

      Chris

Content aside

  • 3 days agoLast active
  • 5Replies
  • 51Views
  • 3 Following