Created attachment 122703 [details] distribution dialog When 3 or more shapes are selected, the Distribution dialog (.uno:DistributeSelection) is accessible in the toolbar in Impress and Draw, but the action opens a dialog for a user to complete his/her distribution needs. So UNO commands are needed for the various distribution functions, so that they can included in a toolbar split button similar to align (.uno:ObjectAlign) and arrange split (.uno:ObjectPosition). These UNO command will likely also be used in the context menu and in the sidebar. The most important of these uno commands is to distribute the spacing evenly between objects horizontal and vertically.
I would expect a floating widget like for the arrangement. And the toolbar 'Form Design' allows to distribute objects/shapes in this way- but without the spacing option. Sounds like a redundancy.
(In reply to Heiko Tietze from comment #1) > I would expect a floating widget like for the arrangement. And the toolbar > 'Form Design' allows to distribute objects/shapes in this way- but without > the spacing option. Sounds like a redundancy. The Form Design toolbar has the align objects split button, which is different than object distribution which is a spacing issue. See attachment 122702 [details].
After playing with Draw for a while, the distribution feature is one of my favorites. On the one hand but on the other it is very annoying to always start a modal dialog for object distribution. So the function is highly required. Maybe getting uno commands is an EASYHACK (NEEDINFO for the codepointers).
Removing keyword 'needsDevEval' as this bug is an easyHack
Changing status: NEEDINFO -> NEW Adding keyword 'needsDevEval' [ninjaedit]
UNO commands are not an easyhack.
*** Bug 119521 has been marked as a duplicate of this bug. ***
Please add keyword 'needsUXEval' and CC 'libreoffice-ux-advise@lists.freedesktop.org' if input from UX is needed.
I would like to use the distribute options in the notebookbar and the sidebar, which is only possible if they are uno commands. does someone know how to make them as uno commands?
Created attachment 164728 [details] distribute in inkscape and LibO distribute dialog as you can see in inkscape distribute commands use a huge space in the UI and I use it a lot. compare to inkscape LibO has a realy bad grid align behaviour so it's even more imported to have distribute features available
Patch at https://gerrit.libreoffice.org/c/core/+/101828
Mega!
Heiko Tietze committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/705226338beeabd214f260c00f1a6db2cfb52475 Resolves tdf#97918 - Individual UNO commands for distribution options It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Olivier Hallot committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/help/commit/76b5c4d1bdd2a371241a589ef97cf6a0f42947ab tdf#97918 Associated Help on Distribute objects