objectbox-dart icon indicating copy to clipboard operation
objectbox-dart copied to clipboard

[Windows] Changes are only visible after a full/hot restart of the app

Open dr0-dev opened this issue 3 years ago • 2 comments

I downloaded the basic example and it happens on that too.

https://user-images.githubusercontent.com/70333416/183419423-44c2637c-6bf9-4303-bb06-482e02eb7a02.mov

Only if I restart the app (or Hot reload it) the new values are visible.

In another use case I found that deleting an item and then listing all the items straight after, still gives me the deleted item. If I close/restart the app, the item results actually deleted.

This happens on windows only. Flutter 2.10.5

dr0-dev avatar Aug 08 '22 12:08 dr0-dev

Works fine for me on Windows 10 and Flutter 3.0.5 with https://github.com/objectbox/objectbox-dart/tree/main/objectbox/example/flutter/objectbox_demo.

Where did you download the example app from?

greenrobot-team avatar Aug 09 '22 05:08 greenrobot-team

I cloned the repo that you linked above and ran it. This is Windows 11, not sure if that makes a difference. I will try to run it with Flutter 3.x

dr0-dev avatar Aug 09 '22 07:08 dr0-dev

Without additional information, we are unfortunately not sure how to resolve this issue. Therefore this issue has been automatically closed. Feel free to comment with additional details and we can re-open this issue.

github-actions[bot] avatar Sep 07 '22 02:09 github-actions[bot]