New Types do not show up after creation until reloading

WHAT IS THE BUG

When I create a new object type, and then create a new obect, the list of available object types does not contain the new type until I use ctrl+r to reload anytype

HOW TO REPRODUCE IT

  1. Create a new type in the library
  2. Create a new object using ctrl+n
  3. Click Object Type to set the type of the object.
  4. The newly created type will not appear in the list.
  5. Use ctrl+r to reload Anytype
  6. The newly created type will now appear and be selectable.

THE EXPECTED BEHAVIOR

The newly created type should be usable without a reload of the app.

SYSTEM INFORMATIONS

  • OS: Windows 10
  • Device: PC
  • Anytype Version: 0.28.0

ADDITIONAL CONTEXT

@QuantumJump I have marked this as Planned as it seems to be fixes in a pre-release version I’m running. This version should be release to all Alpha users at the end of this month.

I can still reproduce this in 0.29.0