Object with gradient causes black bar-shaped artifacts with certain zoom

Bug #1594988 reported by Hachmann
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Undecided
Unassigned

Bug Description

A user reported this in the German Inkscape forum.
I couldn't find an existing report for this in the bug tracker, but there may well be one.

The small rectangular objects with gradients in the attached file render as black bars depending on the zoom level.

When I delete the upper one, the other one still causes artifacts, but this time, it's that the object is missing entirely from the drawing and that there are vertical small stripes instead.

Tested with Inkscape 0.91 on Linux Mint 17.3. Can't test with trunk currently, sorry about that.

The original reporter got this result on:
Windows XP, Inkscape 0.91r13725
Kubuntu 15.10(Linux), Inkscape version unknown
(different physical computers)

But *not* with:
Laptop Mint Rebecca (Linux), Inkscape 0.48.4r9939

Revision history for this message
Hachmann (marenhachmann) wrote :
Revision history for this message
Hachmann (marenhachmann) wrote :
Revision history for this message
Hachmann (marenhachmann) wrote :
jazzynico (jazzynico)
tags: added: gradient renderer-cairo zoom
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP (32-bit), Inkscape 0.91 and trunk rev. 14998.
Not reproduced with 0.48.5.

Changed in inkscape:
status: New → Triaged
tags: added: regressionzoom
removed: zoom
tags: added: regression zoom
removed: regressionzoom
Revision history for this message
jazzynico (jazzynico) wrote :

As a workaround, you can change the object's fill to a solid color, and then back to the same gradient (tested with 0.91 and trunk rev. 14998). The main change when doing so is that the gradientTransform attribute (in the LinearGradient element) is removed.

Any idea on the Inkscape version used to create the original document?

Revision history for this message
Hachmann (marenhachmann) wrote :

No, but I can ask.

The original file I got from the user contains this 'stamp':
 inkscape:version="0.48.4 r9939"

(but of course that doesn't say if it has been created with or just edited in 0.48.4, as the user seems to switch between different systems and different computers)

Revision history for this message
Hachmann (marenhachmann) wrote :

The user doesn't remember if it was Kubuntu version 15.10, inkscape (0.91-5unbuntu2) (most probably) or inkscape (0.48.4-3ubuntu2) (maybe).

Revision history for this message
Pétery Tamás (lazur) wrote :

Had the same issue with several files where the gradiented objects were scaled in an "extreme" manner.

For example on this image:
https://openclipart.org/detail/203836/fibonacci-spiral

The innermost details are very tiny, and if some of those are deleted the rendering goes back to normal.

Based on the test file uploaded here and quick checking, if the objects heights are set more than 5 px there are no rendering issues.

Tested on win 10 64bit Inkscape 0.92pre3 15195.

Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

Hi - thanks for reporting this bug, we already have a Gitlab Issue covering this over at https://gitlab.com/inkscape/inkscape/-/issues/870. I've copied your example file over there.

Closed by: https://gitlab.com/jhofinger

Changed in inkscape:
status: Triaged → Invalid
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.