Bug 163304 - Implement a tool to copy Width/Height to other objects
Summary: Implement a tool to copy Width/Height to other objects
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Object
  Show dependency treegraph
 
Reported: 2024-10-04 18:30 UTC by Eyal Rozenberg
Modified: 2025-02-11 19:35 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2024-10-04 18:30:38 UTC
We have a toolbar button for cloning the formatting of a given object or entity, and applying it to another.

It would be useful to have a similar tool, but which copies the dimensions (width & heigh, angle & length) of an object or entity to another one.
Comment 1 Eyal Rozenberg 2024-10-04 18:31:54 UTC
Especially useful working on Drawing Objects of course, double-especially in Impress and Draw.
Comment 2 Regina Henschel 2024-10-04 23:09:52 UTC
Select the objects so that the shape which shall be the "master" for the dimension is selected as last one. Use the items "Equalize Height" and "Equalize Width" from the menu "Shape".

I think we do not need a further clone size tool.
Comment 3 Eyal Rozenberg 2024-10-05 07:59:19 UTC
(In reply to Regina Henschel from comment #2)
> Select the objects so that the shape which shall be the "master" for the
> dimension is selected as last one. Use the items "Equalize Height" and
> "Equalize Width" from the menu "Shape".

Apparently that's broken in Impress 24.8.1.2 and works in 25.2 nightlies.

Some issues with this approach though:

1. Not a toolbar button
2. Requires pre-selection of objects
3. Requires remembering that the last selection is the master (and when you rectangle-select multiple things - which one is "last" anyway?)
4. Requires two separate actions

Also - it doesn't work for lines, only shapes with area.
Comment 4 Buovjaga 2025-02-11 15:21:02 UTC
(In reply to Eyal Rozenberg from comment #3)
> Some issues with this approach though:
> 
> 1. Not a toolbar button
> 2. Requires pre-selection of objects
> 3. Requires remembering that the last selection is the master (and when you
> rectangle-select multiple things - which one is "last" anyway?)
> 4. Requires two separate actions
> 
> Also - it doesn't work for lines, only shapes with area.

So you propose to have it like clone formatting, where you copy the properties once and can then apply them to multiple objects by clicking them?
Comment 5 Eyal Rozenberg 2025-02-11 19:29:59 UTC
(In reply to Buovjaga from comment #4)
> So you propose to have it like clone formatting, where you copy the
> properties once and can then apply them to multiple objects by clicking them?

That's an option... perhaps the most straightforward one. "Clone dimensions" we could call it. And it would also have "double-click for multiple application" like clone formatting.
Comment 6 Eyal Rozenberg 2025-02-11 19:34:19 UTC
(In reply to Eyal Rozenberg from comment #3)
> Some issues with this approach though:
> 
> 1. Not a toolbar button
> 2. Requires pre-selection of objects
> 3. Requires remembering that the last selection is the master (and when you
> rectangle-select multiple things - which one is "last" anyway?)
> 4. Requires two separate actions
> 
> Also - it doesn't work for lines, only shapes with area.

Another point is, that if we had "clone dimensions", we could have this "Equalize" business perhaps do something more complex, like its name suggests, e.g. take the average, or the rectangular hull of all the shapes (so that it behaves like Align Shapesa). But - maybe this idea is a bit out of scope.