Randomize centers has difficulties with what it relates to

Bug #1366095 reported by Hachmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Low
Unassigned

Bug Description

I noticed this in the compiled 0.91pre2 from the currently offered tarball on the inkscape website (http://sourceforge.net/projects/inkscape/files/inkscape/0.91pre2/inkscape-0.91pre2.tar.bz2/download), but I think this is already the case in 0.48.

If I select a bunch of objects and do 'randomize centers', this works as expected.
Then I align those objects, for example in a row, and I'd expect 'randomize centers' to work relative to the new bounding box.
But it currently doesn't - it scatters the centers relative to the old bounding box.

If I deselect everything and scatter the objects again, it works again as expected, using the current bounding box as limit for 'randomize centers'.

So it seems to me the bounding box 'randomize centers' uses is only updated when I first select the objects, but not if I do another alignment operation in between.

This may be intended, but it becomes strange when you put an 'undo' into the mix, or if you do the alignment operation first (say everything to the left) and want to scatter the objects within the newly made alignment without deselecting everything first.

The behaviour I would expect is the following: Keep the bounding box as long as the only thing I do is 'randomize centers', and use a new bounding box if I do anything else which changes the bounding box.

su_v (suv-lp)
tags: added: aligning selection
removed: bug-or-feature randomize-centers
Revision history for this message
su_v (suv-lp) wrote :

According to the release notes, the feature was added in 0.42:
“Improvements in the Align & Distribute dialog:
- The new Randomize button moves the selected objects randomly within the bounding box of the selection. To achieve the most eye-pleasing results, randomization can be followed by one or more rounds of unclumping (see the next item).”
<http://wiki.inkscape.org/wiki/index.php/Release_notes/0.42#Clones.2C_tiling.2C_distributing.2C_unclumping>

On 2014-09-05 17:39 , Hachmann wrote:
> So it seems to me the bounding box 'randomize centers' uses is only
> updated when I first select the objects, but not if I do another
> alignment operation in between.

Reproduced as described with 0.47, 0.48.5 and current trunk r13545 on OS X 10.7.5
(-> not a regression due to bounding box caching introduced in current trunk).

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
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.