Inkscape.org
Beginners' Questions Losing color gradient when pasting a path
  1. #1
    Ricardo Oliveira Ricardo Oliveira @ward0

    I've made an isometric illustration of a laptop. I used a lot of gradients in my paths. When I select the entire illustration and copy/paste it, one of the paths loses its gradient and is pasted with the gradient of the path above it. Here is a screenshot of the illustration (on the left) and the copied version with the wrong gradient on the "borders" of the laptop (on the right):

    https://i.imgur.com/yiPpyRC.png

    The sides of the laptop are copied, but with the gradient of the path above it (the "base" of the laptop, which has a lighter gradient).

    Is this a bug?

  2. #2
    Tyler Durden Tyler Durden @TylerDurden
    🙏

    It's hard to say without seeing the original. 

    I would look at the XML editor in Inkscape and see if the same gradient is being used, or a copy. 

    There is a setting in Inkscape preferences to allow (or not) sharing of gradients. That might make a difference.

    Was the artwork grouped before copy/paste? That might make a difference.

    Can you use Duplicate or Clone rather than copy/paste? Maybe that will make a difference.

  3. #3
    Ricardo Oliveira Ricardo Oliveira @ward0
    👍

    Duplicating works, thank you!

  4. #4
    Polygon Polygon @Polygon🌶
    TylerDurden

    Maybe that will make a difference.

    I think it shouldn´t make difference, otherwise how to get objects with gradient from one to another document?

    But here with macOS it works as expected with checked/unchecked "Prevent sharing of gradient definitions".

  5. #5
    Tyler Durden Tyler Durden @TylerDurden
    PixelPest

    I think it shouldn´t make difference...

    I agree. There is likely a bug, dependent on specific conditions in the OP's file. 

  6. #6
    Adam Belis Adam Belis @AdamBelis

     this is probably not a bug you need to check move gradient in selection tool

  7. #7
    Tyler Durden Tyler Durden @TylerDurden
    AdamBelis

    this is probably not a bug you need to check move gradient in selection tool

    I would have thought so too, but the other gradients appear to have moved.

     

  8. #8
    Adam Belis Adam Belis @AdamBelis

    hmm you are right ... but if i dont have a svg cannot tell.. or until there is way to reproduce

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Losing color gradient when pasting a path