exactly adjacent rectangles, graphics glitch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
There is a graphics glitch which affects flat sided objects which are exactly adjacent. For instance, the attached example is a small set of color bars from a gradient conversion. Look in the XML editor and one rectangle might extend from 200.45001 to 200.45001 + 2.45, with the next starting at 202.90001. That is, the right and left sides of the rectangle are at the same X value. Nevertheless, when displayed in inkscape the junction is not one color or the other, but something lighter than either. This occurs on both the Windows and Linux versions.
I tried editing the first value, which started at 200.45001 incrementing it slightly. Even though the two rectangles then overlapped the faint line between them did not go away until the value reached 200.46 (200.452 still had it). Looks to me like it may be a single precision float problem somewhere, possibly in Cairo.
Additionally, on linux with a similar set of color bars there were occasions where the entire fill of a bar would be shown as white, even though clicking on it and looking at the fill value in the stroke/fill window showed the expected gradient value.
I will attach an example that does that next. I could not trigger this problem on Windows.
r11598 on both platforms.
Screen shot of the linux specific glitch. One of the bars erroneously displayed in white has been selected, notice the fill color shown is NOT white.