Inkscape doesn't read palettes from local directory

Bug #1658332 reported by Matt Hancock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

This is on Ubuntu 16.04 and Inkscape 0.91. Inkscape does not appear to read from the directory `~/.config/inkscape/palettes/`. For example if I have a file, MyPal.gpl, in the previous directory:

GIMP Palette
Name: MyPal
Columns: 5
#
  8 76 97 Untitled
 85 145 127 Untitled
107 171 144 Untitled
225 240 196 Untitled
234 121 121 Untitled

it doesn't appear in Inkscape (even after restarting Inkscape). However, if I place the file in the directory, `/usr/share/inkscape/palettes/`, then the palette does appear in the Inkscape swatches (after restarting Inkscape).

Revision history for this message
jazzynico (jazzynico) wrote :

Thanks for taking the time to file a report!

Not reproduced on Windows XP (32-bit), with Inkscape 0.91 and 0.92. The palette installed in the user config directory is correctly loaded.

Revision history for this message
jazzynico (jazzynico) wrote :

And not reproduced on Xubuntu 16.04, Inkscape 0.91 and 0.92.

Revision history for this message
Mc (mc...) wrote :

Hi, How did you install inkscape ? (ppa (which one)? snap ?)

Revision history for this message
Matt Hancock (chestervonwinchester) wrote : Re: [Bug 1658332] Re: Inkscape doesn't read palettes from local directory

just `sudo apt-get install inkscape`.

On 01/21/2017 12:53 PM, Mc wrote:
> Hi, How did you install inkscape ? (ppa (which one)? snap ?)
>

Revision history for this message
su_v (suv-lp) wrote :

Possibly related to:
* Bug #1447971 “User palettes not available if all shared system
                palettes are deleted from installation”
  https://bugs.launchpad.net/inkscape/+bug/1447971
  (fixed in 0.92)

Did you delete the palettes installed in /usr/share/inkscape/palette ?

tags: added: color preferences ui
Revision history for this message
Matt Hancock (chestervonwinchester) wrote :

No. The directory and its contents are unchanged except the addition of
my custom color palette. Also, the custom color palette only exists in
the /usr/share/inkscape/palettes directory. If it is moved from this
directory to ~/.config/inkscape/palettes, then it does not appear in
inkscape.

On 01/21/2017 01:44 PM, su_v wrote:
> Possibly related to:
> * Bug #1447971 “User palettes not available if all shared system
> palettes are deleted from installation”
> https://bugs.launchpad.net/inkscape/+bug/1447971
> (fixed in 0.92)
>
> Did you delete the palettes installed in /usr/share/inkscape/palette ?
>
> ** Tags added: color preferences ui
>

Revision history for this message
Matt Hancock (chestervonwinchester) wrote :

I tried this on a separate machine with the same OS, and could not reproduce the bug. In other words, inkscape read from the local config directory correctly.

I tried again on the machine that I originally reported the issue, which has since been rebooted, and it worked fine. There are two explanations:

1) Inkscape places local swatches at the top of the swatch list (not in a universal alphabetical order). Maybe I am an idiot and did not notice it sitting at the top of the list initially.
2) Reboot magic?

Since 1) seems more likely, I think this should be closed as not a bug.

Changed in inkscape:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.