andrewfiorillo / sketch-palettes

A Sketch plugin for exporting and importing fill presets. It supports colors, gradients, and pattern fills.
MIT License
2.27k stars 134 forks source link

Palette keeps disappearing on v3.8.3 #23

Closed saffad closed 8 years ago

saffad commented 8 years ago

I keep encountering this issue on Sketch version 3.8.3. Unsure how to reproduce.

andrewfiorillo commented 8 years ago

Could you share some more details? Do you mean when you restart Sketch the palette you previously loaded is gone? Does this happen for Global Colors, Document Colors, or both?

saffad commented 8 years ago

Sorry.

Easy to reproduce:

  1. Open sketch file
  2. Load a palette in Document colors
  3. Close sketch file (not quit)
  4. Open the same sketch file
  5. Palette is gone.

Hard to reproduce:

  1. Open sketch file
  2. Load a palette in Document colors
  3. Designing going back and forth the palette
  4. At some point the palette is gone.

Other notes: It only happens to this one specific palette. The palette has a lot of colours (88).

andrewfiorillo commented 8 years ago

Thanks for the additional info! For the easy-to-reproduce scenario, are you saving the document?

On Mon, Jul 11, 2016 at 12:36 PM, Saff notifications@github.com wrote:

Sorry.

Easy to reproduce:

  1. Open sketch file
  2. Load a palette in Document colors
  3. Close sketch file
  4. Open the same sketch file
  5. Palette disappears.

Hard to reproduce:

  1. Open sketch file
  2. Load a palette in Document colors
  3. Designing going back and forth the palette
  4. At some point the palette disappears.

Other notes: It only happens to this one specific palette. The palette has a lot of colours (88).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/andrewfiorillo/sketch-palettes/issues/23#issuecomment-231790015, or mute the thread https://github.com/notifications/unsubscribe/AA_JT6SnDsgbGnXILWuuEv9Id2ioy4Xiks5qUnEBgaJpZM4JIod6 .

saffad commented 8 years ago

Not explicitly. Just closing the window. I assume this auto saves it?

andrewfiorillo commented 8 years ago

It does not (at least not always). You need to save the doc after loading colors into the Document Colors section of the color picker to ensure they persist the next time you open the document.

saffad commented 8 years ago

Ok. Makes sense.

I checked my plugin version was 1.1. Inspected the .sketchpalette file and on the first line: "compatibleVersion":"1.0","pluginVersion":"1.1" I noticed i had an older version.

I uninstalled the plugin and installed 1.4. Created the palette again and haven't had the issue yet.