Changing a pattern color with XML Editor doesn't always update canvas

Bug #708269 reported by Rune Juhl Jacobsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Low
Unassigned

Bug Description

When updating the color of a pattern original (the part used for creating a pattern), the canvas does not always update/redraw.
It seems that the canvas only updates on the first change. On subsequent changes to color, a canvas update has to be force, eg. by zooming in/out.

Steps to reproduce:
1) Create an object (I've used a square with rounded corners)
2) Object -> Pattern -> Objects to Pattern
3) Fill another object with the created pattern
4) Open XML Editor, browse to "defs", find pattern
5) Change "fill" color in "style" entry to some other color
6) Hit CTRL+Enter to apply (color changes)
7) Change color again
8) Apply again (nothing happens)

Inkscape 0.48.0 r9654
Ubuntu 10.10 64-bit, kernel 2.6.35-24-generic
Gnome 2.32.0

Revision history for this message
Rune Juhl Jacobsen (runejuhl) wrote :
su_v (suv-lp)
tags: added: pattern
Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.48+devel r10014 on OS X 10.5.8

Possibly related ("the pattern isn't updated until you force a re-draw. E.g. by zooming in and out."):
Bug #166765 “clones in patterns not updated when original edited”:
<https://bugs.launchpad.net/inkscape/+bug/166765>

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Mansour Behabadi (oxplot) wrote :

Just a note: you don't need XML editor to change a pattern while it's in use to fill other objects.
Create your object (e.g. like your rounded corner square). Make a "linked" copy of it (using Alt+D) and convert the linked copy to pattern. Now if you make any changes to the original object, all the objects using the pattern will update as well.
The bug reported here still applies, as in, you still need to force a canvas update by zooming in/out.

Revision history for this message
Beluga (buovjaga) wrote :

Still repro.

Win 7 64-bit
Inkscape 0.92pre1_64bit r15016

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.