GNOME Bugzilla – Bug 82478
Fractal Explorer: Undo/Redo Zoom don't always work
Last modified: 2004-01-11 17:40:13 UTC
The Undo/Redo Zoom buttons don't work after selecting 'Step In' or 'Step out'. To reproduce: - Start Fractal Explorer plugin - Click 'Step In' button - Click 'Redo Zoom' button: nothing happens
If I understood this report properly, Maurits meant that when pressing "Zoom In" then "Undo", the latter action has no effect. The following patch solves this issue.
Created attachment 23219 [details] [review] Fixes some zoom undo buffer issues in Fractal Explorer
Hmm, Undo doesn't affect the zoom ratio on the GIMP canvas so why should it do here? IMO the right fix is to make changes to the zoom ratio not undoable. But I might have completely misunderstood this report.
The plug-in has its own zoom undo/redo buttons, and that's what is broken only in the case of zoom in / zoom out. When selecting a window to zoom in the preview, the zoom undo/redo buttons work as expected.
Good. Then let's apply your patch.
2004-01-11 Pedro Gimeno * app/core/gimpdrawable-preview.c (gimp_drawable_preview_scale): Apply threshold to alpha in the same way as it is applied to the image in indexed mode. Fixes bug #115793, at least until the alpha thresholds in indexed images are removed. * plug-ins/FractalExplorer/Display.c: Fix zoom undo handling issues. Closes bug #82478.