An object is only updated with opacity, and not blending mode, when moved through a layer

Bug #233803 reported by dclayton
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

Create Layer1, Layer2, and Layer 3. Layer1 should be above Layer2, and Layer2 should be above Layer3. Create a blue rectangle on Layer3. Create a yellow circle on Layer1, positioned above the blue rectangle. Set the blending mode of Layer2 to "Screen 75%". Select the yellow circle on Layer1, and press "Shift-PageDown". The circle will be moved to Layer2, and will adopt Layer2's 75% opacity. However, it will not adopt Layer2's "Screen" blending mode. Changing either the blending mode or opacity will cause the circle to adopt the current blending mode of Layer2.

Revision history for this message
quazgar (quazgar) wrote :

Confirmed (not yet this test-case but in a real-world example) in Inkscape 0.46 on amd64 Gentoo Linux.

Revision history for this message
quazgar (quazgar) wrote :

Btw, in one case, the trouble could be fixed by removing the "filter:url(#filterXXXX)" property from the style attribute manually.

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp)
tags: added: filters-svg layers
Revision history for this message
bluebomber (bluebomber) wrote :

I can confirm this and add what I think is a related issue.

Create layers 1,2,3 as above, although I tried this with multiply blend mode. Set layers 1 (top) and 3 (bottom) to normal blend mode, then set layer 2 to multiply blend mode, all at 100% opacity.

Create a colored rectangle in layer 3 and one in layer 1, different colors (I use blue and yellow). Select the blue rectangle in layer 1, and SHIFT+PAGEDOWN it twice to layer 3. I notice two issues already: First, it does not assume the multiply blend mode in layer 2, only when it enters layer three does that take effect. Secondly, the boundary box for the rectangle extends way beyond the rectangle (something like a margin is introduced).

Now the blue rectangle does not ever seem to lose the multiply blend effect, regardless of the layer to which you move it. Adjusting the blur on the blue rectangle restores its normal blend mode as well as bounding box.

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

Michael Nachtigal wrote:
> (…) and add what I think is a related issue.

That issue is handled in
Bug #233800 “Moving an object through a layer with blending options causes the object to adopt blending options”
<https://bugs.launchpad.net/inkscape/+bug/233800>

About the size of the selection bounding box: that's the default filter effects region the object(s) get when they adopt the layer blend mode after having been moved out of the blended layer. You can learn more about SVG filter effects (and the filter effects region) in the manual:
<http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Filters-BasicUse.html>

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.