When an object is taken from the gallery, it does not align to the grid. This makes using the gallery an uncomfortable experience for those making scientific presentations or drawing technical stuff such as schematics, block diagrams, etc.
In this case, every time an object is taken from the gallery one needs to
1) Drag object from the gallery to the drawing
2) Select the objects
3) Right click to get the contextual menu
4) Select position and size
5) Manually fix the object position to align it to the grid by entering numeric x and y coordinates
This is really really cumbersome.
It would be great if a single anchor point could be attached to graphical objects (e.g. using a similar interface to that used to attach glue points to objects).
When an object with an anchor point is put in the gallery, and then taken out of it, if the grid is on, the object should move so that the anchor point stays on grid.
BTW, the anchor point should probably also be the default center point for rotation.
Thanks for new idea. I agree with it.
Please, attach odg document with few objects that demonstrates that current situation is not handy (productivity is low)
Another idea: option to align objects to grid not by outer bounding lines, but by glue points.
Marking as NEEDINFO until attachment(s) is/are provided. Seems like a valid point just want an attachment to see the current behavior and how it's so difficult. Thanks for the suggestion. Once an attachment is made please reopen the bug as UNCONFIRMED and we'll assign it. Thanks again!
Created attachment 63888 [details]
Thinking back to this issue, as an alternative to the anchor point (which requires some element of user interface) a cheaper solution could be to at least store the current offset from the grid (x and y distance of the top left corner to the object relative to the closest point on grid) when moving the objects to the gallery. And restoring this offset when moving the object from the gallery to a drawing.
In this way, as long as the grid is not changed, the object maintains its relative position to the grid.
BTW, with regards to the grid, in this moment the most serious issue is that about copying and pasting objects with line width > 0 which loose their position relative to the grid (44990)
Dear Bug Submitter,
This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INVALID due to lack of needed information.
For more information about our NEEDINFO policy please read the wiki located here:
If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed.
Thank you for helping us make LibreOffice even better for everyone!
Created attachment 80021 [details]
Please try with the "Test case file".
1) Open the file
2) See the blue box. Note that it is grid-aligned (on a metric grid).
3) Open the gallery, create a new theme (or select an existing one, say "My theme")
4) Click on the blue box and keep the mouse button pressed, until the cursor changes, drag the object into the gallery, see the object appearing in the gallery
5) Click on the blue box in the gallery and drag it to the drawing area. Now there are two blue boxes in the drawing area, but the new one is likely not to be grid aligned (and needs manual alignment, selecting position and size and fixing the position).
Thanks for additional information. Here I will describe how I understand problem:
When we move an object from Gallery to document, we see only specific mouse cursor with plus sign. We do not see object itself and aligning not working. Therefore we can not place object correctly from first attempt. And we need select freshly dropped object each time and realign it. It reduces productivity.
And how it should be: object should 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.
Is this understanding of problem correct?
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."
"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.
Created attachment 80029 [details]
More difficult test case
As a further example, consider the "More difficult test case"
Here, you have a rectangle, with a red cross inside. The red cross is grid aligned (on a metric grid). Put that in the gallery. Take it out of the gallery and assure that the red cross remains aligned.
This is tricky, since when the red cross is aligned, the corners of the rectangle are not.
I think we have enough information for changing status to NEW
While it would be nice to drag the actual symbol/stencil/image from the gallery instead of showing a drag cursor would be nice I disagree with the closer association of objects and alignment. I mean adding a "hotspot" just for sake of better placement makes no sense. Keep also in mind that the gallery holds various objects and is available not only in Draw.
But again, showing a real drag image would be an advantage and might be easy to implement. Could be an EASYHACK with middle difficulty.
Sounds like an easyHack, but it misses:
- codepointers (mandatory for easyHack)
- set the keyword skill<foo> and difficulty<foo>
- Optionally also set topic<foo>
Marking it as "NEEDING" for now.
Please, do not change my wishlist item to something else.
My wishlist item is having something to favor the grid alignment of objects taken from the gallery. This is important (almost indispensable) for activities like technical drawing or chart drawing.
Being able to visualize the objects taken out of the gallery during drag can be quite nice, but is not what I was asking in this wishlist item and does not help in this sense.
Even if draw is not a program for technical drawing or chart drawing, it is my understanding that it aims at being sufficiently general purpose for these tasks (the availability of items such as layers, connectors and measurement lines appear to testify that this is the case).
In some forms of technical/chart drawing you need to compose designs out of items/blocks that are taken out of a library and these items need to be carefully aligned before they are connected, otherwise the connectors get all sort of ugly skews and angles.
Already, there are many users of libreoffice who employ it for drawing things like simple electrical or electronic circuits, simple sets of mechanical, hydraulic or fluid-dynamics blocks as well as simple charts, particularly in education, relying on libraries of blocks stored as gallery themes. For instance, see the LibreSymbols extension with electronic symbols (http://extensions.libreoffice.org/extension-center/libresymbols), or the Openoffice extension http://extensions.services.openoffice.org/project/freie-schaltzeichen, or the many questions like https://ask.libreoffice.org/en/question/2996/electrical-and-fluid-schematic-palettestemplates/ or tutorials like http://www.atlence.com/tips/show/creating-electronic-circuit-schematics-by-using-libreoffice-or-openoffice-org-5.html. Libreoffice itself provides themes of flow chart and diagram components!
Having to manually fix the correct alignment for many tens of items is extremely cumbersome, particularly if the items have irregular shapes so that putting their left/right/top/bottom edge on grid is not enough. In this case, one needs to open the position properties dialog for each object, which is a pain.
Please, be understanding and do not dismiss something as "making no sense" just because you do not have a need for it. Others may have.
a) Objects, including group objects already provide the opportunity of having glue points. When an object is stored in the gallery, its glue points are stored with the object. Let one glue point be marked as the object "orgin"
b) When extracting objects from the gallery assure that whenever the object contains a glue point marked as the origin and "snap to grid is on" this special glue point is grid aligned
This should minimize the implementation cost and makes sense because when you draw diagram like structures, you almost certainly want some of your glue points grid aligned (see rationale above).
Furthermore, this suggestions does not interfere with the fact that the gallery can hold various object types and is available not only in Draw, since gallery objects store their glue points already.
*** Bug 92604 has been marked as a duplicate of this bug. ***
(In reply to sergio.callegari from comment #15)
> My wishlist item is having something to favor the grid alignment of objects
> taken from the gallery. This is important (almost indispensable) for
> activities like technical drawing or chart drawing.
True, that's a different question. I suggest to use the protection flag (position and/or size), and just store this at the gallery.
Not an EASYHACK anymore since we need to change the format of gallery objects.
Thanks for recognizing the value of the wish!
Can you please provide a quick illustration of how you intend the use of the stored "protect position" flag as an alternative to the "one glue point as an anchor point" suggestion?
(In reply to sergio.callegari from comment #18)
> Can you please provide a quick illustration of how you intend the use of the
> stored "protect position" flag as an alternative to the "one glue point as
> an anchor point" suggestion?
Your feature request is to place gallery objects at a fix position, with the use case to create more than one page with static objects. That's a valid request and would be a valuable enhancement.
The solution is up to the developers. Glue points are used for connectors not to store positional information. So my suggestion is just another idea: objects that have set the protection flag should keep it at the gallery. Quite simple from the usability POV.
The real problems are on the implementation side. Additonally to the question how to store any flag, Draw doesn't start dragging for protected objects, neither for short nor long click, while Writer just don't accept protected drag objects. And we need a common approach. And once we have the exact position stored how should the process work when this sticky object is dragged from the gallery? I'd say like any other with the exception that from any point where it is dropped the object snaps to its fix origin.
Besides all these questions I think it would be consistent and comfortable to see the drag image even when started from the gallery.
thanks for the clarification. I was asking precisely because there may be different ways to address the enhancement request and developers may get insight from a discussion where the possible use cases and envisaged solutions are explicitly illustrated. In fact, this may help identifying the solution that could address the needs of the widest possible basin of users.
What is unclear to me about the storage of the "protected position" flag is whether you mean this to be stored together with the original position of the object before it is placed in the theme gallery.
Would that mean that when an object is taken out of the gallery it would go to that position and require the user to disable the protected position flag to move it elsewhere? This would be inconvenient. When one takes objects out of a library of parts, these need to be placed in various positions.
For instance, consider the already existing extensions providing electronic components, logic gates, symbols for mechanical and hydraulic drawings, etc. Let's focus on the logic gate case just to pick one. A drawing containing logic gates may need to contain tens of "2 input AND gates" each in a different position (and then tens of "OR gates", etc...), yet each with their terminals grid aligned, so that when connectors are used to link them, the connectors don't get funny skews and angles.
Hence, I just wanted to check that you properly considered placing many identical objects at different places yet each with grid alignment with minimal overhead.
In any case, thanks for the effort in trying to enlarge the spectrum of ideas to address the enhancement request, which can indeed be useful.
Very Helpful Information, I like it Very Much.. Thanks for this post
<a href="http://www.thedevicesupport.org/spectrum-customer-support">spectrum customer service number</a>
Very Helpful Information, I like it Very Much.. Thanks for this post
Visit us - http://www.restore-homepage.com/fixmestick-customer-support-service
Very Helpful Information, I like it Very Much.. Thanks for this post
Visit Us - http://www.dating-advisors.com/silversingles-support-number
We provide technical support services for
Call 1-844-539-9831 for a free diagnosis.
IGuru Services is one of the leading global technical support providers to consumers worldwide. We provide most affordable and flexible support services for PCs, MACs, iOS devices and Peripherals. We are also one of the best technical support providers for Epson Printers tech support. We work 24x7, so no matter where you are and when you need help, we are just a phone call away. All of the services are mostly delivered remotely via highly secured and encrypted platform.
Call 1-844-539-9831 for a free diagnosis