Recently I used Draw on a file with several layers.
I miss a simple entry "Show/hide layer" or "toggle layer visibility" command in the context menu of the layer tabs.
Currently to hide or show the layer, one has to enter in Modify command dialog, check/uncheck the Visible checkbox and click OK.
Shift+left click toggles layer's visibility, but it would be really good to show this shortcut in a context menu.
Printable on/off is on Crtl+Shift+Click, Lock/unlock is on Ctrl+Click.
Adding a command to the context menu shouldn't be too hard.
That would be really usefull if we can get .uno commands for visible, printable and locked.
I think the coding stuff is in layeroptionsdlg.cxx but I don't know how to make a new .uno: command.
I didn't found any uno command for Printable and Lock.
Heiko Tietze committed a patch related to this issue.
It has been pushed to "master":
Resolves tdf#113439 - Show/Hide menu item in Draw's layer menu
It will be available in 7.6.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:
Affected users are encouraged to test the fix and report feedback.
Verified and added to release notes: https://wiki.documentfoundation.org/index.php?title=ReleaseNotes%2F7.6&type=revision&diff=647322&oldid=646792
Was never available, so inherited.