Clones from blur elements are not visible in exported PDF

Bug #376987 reported by Aurium
26
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

If we use blur in a element inside a cloned group or directly cloned, this will not be visible in clones on the exported PDF.
(See the attached image with screenshots. Also the Inkscape PDF importer do not see this elements!)

Clones with blur from a non blured element are ok!

I discover this problem in a real-world art service.

Related branches

Revision history for this message
Aurium (aurium) wrote :
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Ubuntu 9.04, inkscape build 21350.
Also affects (not surprisingly) PS exports.

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Stefan (stefan-roellin) wrote :

The problem seems to appear for clones of elements with any
filter, not only blured elements.

I looked into the problem a found the following:

sp_generate_internal_bitmap (pixbuf-ops.cpp) is called from
sp_asbitmap_render (cairo-renderer.cpp) for both the original
element as well as the cloned element. However, in the second
case the created bitmap is empty. So it seems that
sp_generate_internal_bitmap does not work for cloned elements.

su_v (suv-lp)
tags: added: clones exporting filters-svg
removed: blur clone pdf
Revision history for this message
Stefan (stefan-roellin) wrote :

The attached patch fixes the issue. The cloned object was hidden in the function hide_other_items_recursively.
The same function exists also src/helper/png-write.cpp, but I don't know, if the same fix should applied there.

jazzynico (jazzynico)
Changed in inkscape:
status: Confirmed → In Progress
Revision history for this message
jazzynico (jazzynico) wrote :

Patch tested successfully on Ubuntu 9.10.

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

Patch (applied to r9112) tested successfully on OS X 10.5.8

Revision history for this message
jazzynico (jazzynico) wrote :

Fix committed in bzr rev. 9141.
Thanks for the patch!

Changed in inkscape:
milestone: none → 0.48
status: In Progress → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.