Orama-Interactive/Pixelorama

Default Palettes can not be deleted/renamed

Closed this issue · 3 comments

Pixelorama version:
1.0-dev (main branch)

OS/device including version:
Replicated in MacOS 13.x and Windows 10

Issue description:
When Pixelorama starts-up, it check if the default palettes exist in the user:// directory, if they do not exist it will copy them over. It does this check on every start up, therefore if one of the default palettes are delete or renamed on next start up, Pixelorama will copy the missing palettes over again.

Steps to reproduce:

  1. Start Pixelorama
  2. Rename the default palette to default-1
  3. Restart Pixelorama
  4. Palette list now contains both default and default-1 palettes.

Why not "move" the default palettes over instead of copying them over?

Why not "move" the default palettes over instead of copying them over?

I don't think we need to move or copy them at all. Brushes and patterns are not being copied or moved, I think palettes should be the same. Moving them might confuse users who add palettes into pixelorama_data and they suddenly see them disappear.

Should be fixed in aa47a47, palettes should no longer be copied in user://.