New project, old assets!

What do you want to achieve?

I created a new project in SLS but I notice that the asset window is full of assets from a previous project !
Why are assets appearing in a new project?

What have you tried so far?

N/A

Screenshot or video

N/A

Others

  • SquareLine Studio version:
    1.0.5
  • Operating system:
    Windows 10 x64
  • Target hardware:
    Raspberry Pi 4

Did you change directory for new project or not? If not, (I think) SLS will save it to the default location and will overwrite just project file, but will not empty assets folder.

No, I made sure to put it in a new directory.

Andy

@AndyFraser can share your directory structure?

E.g. in this structure the assets will be shared:

- my_workspace
  - proj1.spj
  - proj2.spj
  - assets
     - img1.png 
     - img2.png 

This way the assets will be separeted:

- my_workspace
  - proj1
    - proj1.spj
    - assets
     - img1.png 
     - img2.png 
  - proj2
    - proj2.spj
    - assets
     - img3.png 
     - img4.png    

Actually, I tried to create a new project and it works fine this time.
Not sure what I did wrong :frowning:
Sorry for the trouble.

Andy

I’m not sure how to reproduce, but I’ve just got myself into the same bug.
I’m unable to get rid of my old assets. Removing the old project and creating a new one does not work.
Is there a cache folder I can delete somewhere?

UPDATE:
Apparently this happens when you remove the project files while it’s open.
I was able to get it fixed by saving a new project to a new directory and then removing the contents of the /assets folder.

Probably this case is not handled properly. :frowning: We will take look.