Download it now!
Bug 97918 - UNO commands for actions in the Distribution dialog
Summary: UNO commands for actions in the Distribution dialog
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.2.0.0.alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: topicUI
: 119521 (view as bug list)
Depends on: 126857
Blocks: UNO-Command-New Draw-UX
  Show dependency treegraph
 
Reported: 2016-02-17 00:55 UTC by Yousuf Philips (jay) (retired)
Modified: 2020-03-09 13:27 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
distribution dialog (21.91 KB, image/png)
2016-02-17 00:55 UTC, Yousuf Philips (jay) (retired)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Philips (jay) (retired) 2016-02-17 00:55:16 UTC
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.
Comment 1 Heiko Tietze 2016-02-17 08:17:12 UTC
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.
Comment 2 Yousuf Philips (jay) (retired) 2016-02-17 12:54:07 UTC
(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].
Comment 3 Heiko Tietze 2016-06-30 08:26:55 UTC
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).
Comment 4 Xisco Faulí 2016-09-15 15:26:51 UTC
Removing keyword 'needsDevEval' as this bug is an easyHack
Comment 5 Xisco Faulí 2016-09-27 10:36:07 UTC Comment hidden (obsolete)
Comment 6 jani 2016-10-25 13:46:29 UTC
UNO commands are not an easyhack.
Comment 7 Maxim Monastirsky 2018-08-26 21:54:08 UTC
*** Bug 119521 has been marked as a duplicate of this bug. ***
Comment 8 Xisco Faulí 2020-03-09 13:27:52 UTC
Please add keyword 'needsUXEval' and CC 'libreoffice-ux-advise@lists.freedesktop.org' if input from UX is needed.