Copy and pasted rectangle turns transparent when white fill selected

Asked by Chris Pannier

I have encountered a behavior that I think is a bug but I want to ask here before I post my first bug report.

I had Inkscape Portable 0.91 open with a file that has many rastered images in it. I copied one of those rastered images into a blank new svg. I then created a rectangle, selected white fill and rotated the rectangle. Now, whenever I copy and paste that white rectangle, the pasted result is transparent on the screen despite the Fill and Stroke Menu giving 100% opacity. I think this is a bug because I am able to select any color that is not white and the rectangle becomes that color. I know the rectangle is transparent because when I put it in front of the rastered image, it is invisible. I have made sure the rectangle is raised to top. The original rectangle is white but all of its copies become clear when I try to make them white.

I have saved the svg with the faulty white rectangle. When I open the svg in Inkscape 0.91 (not portable), I experience the same problem with pasted copies of that one rectangle.

I have not been able to recreate this problem if I started my workflow in Inkscape 0.91 (not portable). This leads me to believe that something is corrupt about that one svg that was created in Inkscape Portable 0.91.

Is this a bug that I should report?

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Hachmann (marenhachmann) said :
#1

Hi Chris,

can you upload the svg file somewhere (not here, attachments impossible, use dropbox or google drive or another file hoster) and post a link here?

Regards,
 Maern

Revision history for this message
Chris Pannier (pannier) said :
#2

Here's a Dropbox link to my minimum working example svg file. https://www.dropbox.com/s/o1wydq2kdr5c6t4/minimum_working_example.svg?dl=0

The gray rectangles were copied from the white one and then their fill color was changed.

Revision history for this message
Chris Pannier (pannier) said :
#3

I mean rectangle singular. I see now that there is only one gray rectangle in my attached file.

Revision history for this message
Mc (mc...) said :
#4

Hi,

what happens here is :

There is a filter applied on the group, but not on the white rectangle (it was added to the group after the white rectangle was created), which is the "light eraser" filter.

When you add an object inside the group (like when you paste a rectangle), it gets the style of the group, including the filter.

That filter makes objects with very high luminance transparent (so, white objects are fully transparent, but "light gray" ones will be partially transparent)

Revision history for this message
David (davagui-0) said :
#5

I just had almost exactly the same problem, in my case, the problem was that I had open the Layers options, and inadvertently changed (using the mouse wheel) the Mix Mode of the layer from Normal to Multiply, that cause a circle that I know was white, to appear transparent. I noticed that when I moved that circle to anothe layer, it became white again. The solution was to configure the Mix Mode of the layer back to Normal.
Using Inkscape 0.91 and Inkscape 0.92.4 (as a Flatpak) on Linux Mint 18.3.

Can you help with this problem?

Provide an answer of your own, or ask Chris Pannier for more information if necessary.

To post a message you must log in.