https://bugs.freedesktop.org/show_bug.cgi?id=44266

--- Comment #9 from [email protected] ---
IMHO it is a bit more than just:

"object should [be] seen during dropping from Gallery. Not only mouse cursor.
And aligning also should work during dropping object. And not only after
re-selecting dropped object."

It is:

"object stored in the gallery should remember its offset from the grid, so that
when it is taken out of the gallery and dropped in the drawing area it realigns
with the same offset" - or - "object should have an anchor point, so that when
it is taken out of the library, the anchor point is automatically grid
aligned".

Why is this different:

The image in the test case is a rectangle. When it is aligned to the grid, all
its corners are aligned. This is a simple case, for which your take is enough.
However, you might have more complicated cases. Suppose that you have a
triangle where the center of mass must stay aligned to the grid, but the shape
is irregular, such that none of its vertexes are grid aligned when the center
of mass is aligned. Showing the object while dropping it is not enough to deal
with this case, unless there is an explicit anchor point at the centre of mass,
or unless the original offset to the grid of the top left point of the object
is stored with it in the gallery, so that it can be automatically recoverd.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to