Bug 84375 - CONTEXT MENU: Protect/Lock submenu to protect object size or position
Summary: CONTEXT MENU: Protect/Lock submenu to protect object size or position
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium enhancement
Assignee: Heiko Tietze
URL:
Whiteboard: target:25.8.0
Keywords:
Depends on:
Blocks: Context-Menu UNO-Command-New Object
  Show dependency treegraph
 
Reported: 2014-09-26 19:47 UTC by Yousuf Philips (jay) (retired)
Modified: 2025-03-31 12:25 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 Yousuf Philips (jay) (retired) 2014-09-26 19:47:09 UTC
The 'Position and Size' dialog has 2 checkboxes under the heading 'Protect' - position and size - which lock the size or position of an object, and i think is useful to have this in the context menu. This suggestion was primarily targetted as impress and draw, but calc and writer may also benefit from this as well.
Comment 1 Yousuf Philips (jay) (retired) 2014-09-27 05:27:18 UTC
A third item that should be included is aspect ratio, which in the dialog is labeled 'keep ratio'.
Comment 2 Buovjaga 2020-09-21 17:36:04 UTC
I think this needs to be re-evaluated
Comment 3 Thomas Lendo QA 2020-09-21 18:55:13 UTC
Adding A. Kainz to CC as he has experience in context menu changes.
Comment 4 andreas_k 2020-09-21 20:42:14 UTC
As this kind of stuff is only available in the Position and Size dialog, I don't see an big with to have this checkboxes in the context menu.

As you can use Strg to fix the aspect ratio which is very common (inkscape, ...) I would say close this bug as wfm.
Comment 5 Heiko Tietze 2020-09-22 08:31:51 UTC
Besides the aspect ratio, where I agree, this is about having Protect Position and Protect Size in the context menu. Don't find the two properties in the customization so we need UNO commands.
Comment 6 Commit Notification 2025-03-31 12:25:27 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/01b1e0f172c1912dac24337692d85a9caf637d9a

Resolves tdf#84375 - Commands to protect image size and position

It will be available in 25.8.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.