Problem with colors when importing a PDF file

RH-37213 is fixed in the latest WIP