Scribus Forums

Scribus => Installation and Setup => Linux => Topic started by: Portreve on March 01, 2026, 07:09:25 PM

Title: Scribus 1.7.2 Imported Colors Disappear
Post by: Portreve on March 01, 2026, 07:09:25 PM
I've just noticed and did some further testing, but when I import my existing Scribus-generated list of colors, they are brought in, I press OK, they're there, but then when I create a new document, the colors are all missing. In fact, I wind up with three options for both text and object coloring: "none", "black", and "white".

Using the same data file, I am successful in importing these colors in 1.6.x.
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: AdmFubar on March 01, 2026, 08:40:24 PM
Scribus' new document loads a default template that has just the those few colors. The solution would be to create your default document with the color palette  you want, save and copy it to the default document, or!, make a new template and save it in the templates and load that instead.
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: a.l.e on March 01, 2026, 08:45:02 PM
I did a small test and could not notice anything wrong.

Would you mind giving a bit more details?
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: utnik on March 02, 2026, 12:07:13 AM
if you press 'delete unused' in 'colors and fills' without an open file, you will end up with black, white and registration only. (you need to select a color before 'delete unused' is clickable...)

to solve the problem you need to select a palette (or create a custom one) – again without an open file. if you change the palette when a document is open, your fix will just be for this single file.

utnik
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: Portreve on March 04, 2026, 06:13:09 AM
Quote from: AdmFubar on March 01, 2026, 08:40:24 PMScribus' new document loads a default template that has just the those few colors. The solution would be to create your default document with the color palette  you want, save and copy it to the default document, or!, make a new template and save it in the templates and load that instead.
That makes absolutely no sense, and is not how I'm interested in using Scribus.

Quote from: a.l.e on March 01, 2026, 08:45:02 PMI did a small test and could not notice anything wrong.

Would you mind giving a bit more details?
  • How did you create the list of colors?
  • Would you mind sharing a list of colors that can be used to reproduce the issue?
  • What are the steps you are doing before you get to the three only colors?


Quote from: utnik on March 02, 2026, 12:07:13 AMif you press 'delete unused' in 'colors and fills' without an open file, you will end up with black, white and registration only. (you need to select a color before 'delete unused' is clickable...)

to solve the problem you need to select a palette (or create a custom one) – again without an open file. if you change the palette when a document is open, your fix will just be for this single file.
That's exactly how I do this. It's worked in Scribus 1.4.x, 1.5.x, and 1.6.x.
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: Portreve on March 04, 2026, 06:21:27 AM
Actually, @a.l.e, here's a better idea. It's a straight .xml file. Here's the contents:
<SCRIBUSCOLORS Name="Expanded Printers Colors">
<COLOR Spot="0" Register="0" NAME="Black" CMYK="#000000ff"/>
<COLOR Spot="0" RGB="#0000ff" Register="0" NAME="Blue"/>
<COLOR Spot="0" Register="0" NAME="Cool Black" CMYK="#990000ff"/>
<COLOR Spot="0" Register="0" NAME="Cyan" CMYK="#ff000000"/>
<COLOR Spot="0" RGB="#00ff00" Register="0" NAME="Green"/>
<COLOR Spot="0" Register="0" NAME="Magenta" CMYK="#00ff0000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® 12-0851 TPG Minion Yellow™" CMYK="#00289c01"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® 3514 C" CMYK="#0045ff00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® 3596 C" CMYK="#0d428503"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Black C" CMYK="#a19e96f0"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Blue 072 C" CMYK="#fff20008"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Bright Red C" CMYK="#00c7bd00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Dark Blue C" CMYK="#fad10000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Green C" CMYK="#ed00b000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Medium Purple C" CMYK="#e8f70000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Orange 021 C" CMYK="#00a6ff00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Pink C" CMYK="#2ede0000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Process Blue C" CMYK="#ff210305"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Purple C" CMYK="#66e50000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Red 032 C" CMYK="#00dba100"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Reflex Blue C" CMYK="#ffe30000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Rhodamine Red C" CMYK="#17de0000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Rubine RED C" CMYK="#00ff3808"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Violet C" CMYK="#e5fc0000"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Warm Red C" CMYK="#00d4cc00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Yellow 012 C" CMYK="#0005fa00"/>
<COLOR Spot="1" Register="0" NAME="PANTONE® Yellow C" CMYK="#0003ff00"/>
<COLOR Spot="0" RGB="#ff0000" Register="0" NAME="Red"/>
<COLOR Spot="0" Register="1" NAME="Registration" CMYK="#ffffffff"/>
<COLOR Spot="0" Register="0" NAME="Rich Black" CMYK="#996666ff"/>
<COLOR Spot="0" Register="0" NAME="Warm Black" CMYK="#00994cff"/>
<COLOR Spot="0" Register="0" NAME="White" CMYK="#00000000"/>
<COLOR Spot="0" Register="0" NAME="Yellow" CMYK="#0000ff00"/>
</SCRIBUSCOLORS>
Again, it was generated originally by Scribus. Open your favorite text editor, copy-n-paste, save it as an .xml file, and give it a shot.

It's not the file; it's some change in 1.7.x's functionality that's causing this.
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: a.l.e on March 05, 2026, 08:47:51 AM
I gave it a try:


On the other hand, I could not get the "Colors Sets" feature in the "Colors and Fills" dialog to work.
Are you using this one?
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: a.l.e on March 05, 2026, 11:29:42 AM
Now that I've finally found out where the palettes are stored, I can see that, indeed, your file is "wrong".

In more recent 1.7.x versions, the all caps items and attributes have been replaced by ones that have a more sane title case.

This is the test file I've created while doing the test described previously
<?xml version="1.0" encoding="UTF-8"?>
<ScribusColors>
    <Color Name="Base Color" Space="RGB" R="0" G="106" B="255"/>
    <Color Name="Black" Space="CMYK" C="0" M="0" Y="0" K="100"/>
    <Color Name="Complementary" Space="RGB" R="255" G="149" B="0"/>
    <Color Name="Registration" Space="CMYK" C="100" M="100" Y="100" K="100" Register="1"/>
    <Color Name="White" Space="CMYK" C="0" M="0" Y="0" K="0"/>
</ScribusColors>

I guess that only few Scribus users are using custom palettes: I'd prefer to produce a Python script that converts the old palettes in the new format, rather than adding more bloat to the Scribus code...
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: Portreve on March 06, 2026, 11:13:47 PM
Quote from: a.l.e on March 05, 2026, 08:47:51 AMI gave it a try:

  • I've created a Scribus document.
  • In "Edit > Colors and Fills", I've removed the unused colors.
  • I've created a couple of colors.
  • Saved the .sla document as "colors.sla" and closed it.
  • I've created another new document
  • In "Edit > Colors and Fills", I've removed the unused colors, then used the "Import" button to select the "colors.sla" file I've previously saved and imported the colors.
  • Now I have the colors I've defined in the first few steps in the second document.

On the other hand, I could not get the "Colors Sets" feature in the "Colors and Fills" dialog to work.
Are you using this one?
Yep, that's exactly the one. I can import colors as many times as I want, and they just won't stay. They'll be there in that moment, when I try to access them in a document, or when I open the program again, they're gone.

EDIT: Ok, I just tried what you did, @a.l.e, and all the colors showed up then disappeared again.
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: Lynn on March 07, 2026, 01:52:05 AM
Oh that is weird. I tested it on my computer in 1.7.2 and while my custom color selection persists when there isn't a file open even if I relaunch Scribus, when a new file is made it doesn't inherit my custom color scheme.

When I did the exact same thing in 1.6.4 (set a color scheme with no file open, then made a new document) the new file automatically was given that default color scheme. It feels like this is a file creation bug.
Title: Re: Scribus 1.7.2 Imported Colors Disappear
Post by: Portreve on March 10, 2026, 12:15:50 AM
Quote from: Lynn on March 07, 2026, 01:52:05 AMOh that is weird. I tested it on my computer in 1.7.2 and while my custom color selection persists when there isn't a file open even if I relaunch Scribus, when a new file is made it doesn't inherit my custom color scheme.

When I did the exact same thing in 1.6.4 (set a color scheme with no file open, then made a new document) the new file automatically was given that default color scheme. It feels like this is a file creation bug.

It's actually more than a file creation bug: the program itself doesn't retain colors you import, at least in my experience.