Undo'ing causes gradient editor to display junk in preview
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Version: Inkscape 0.46dev+devel, built Sep 20 2007
for Win32
If you create a gradient and then open the gradient editor to edit it, and
then "undo" to before the gradient existed, the gradient preview in the
gradient editor dialog box displays a junk image.
Steps to reproduce:
1. Open a new document.
2. Draw a shape like a square
3. Go to Fill/Stroke
4. Select either gradient option for fill
5. Click on "Edit" to edit the gradient.
The Gradient Editor dialog will open.
A preview of the new gradient is shown along the top
of the window.
6. Click back in the main window and hit Ctrl-Z to undo.
7. The preview of the gradient will turn into something
that looks like static.
I understand why the program is doing this - it can't show a preview of a
gradient that no longer exists. I'm more reporting this because it looks
bad and in case it is a bug that leads to the program becoming unstable. It
doesn't seem to do so, but as it redisplays the gradient after the undo and
it seems to be reading junk, I would assume (and I don't know) that the
memory allocated for the gradient gets freed but the preview is still
reading from it. If this is the case then it could break things later, so I
thought I'd report it.
Otherwise I love inkscape. Thank you so much for all of this work.
Colin
Changed in inkscape: | |
importance: | Undecided → Medium |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
confirmed in SVN. I know the plan is to kill the dialog, but since that hasnt happened yet this ones still valid.