Currently we need to click 3-4 times to toggle the visibility or locked state of a layer, see https://help.libreoffice.org/latest/en-US/text/sdraw/guide/layer_tipps.html?DbPAR=DRAW#bm_id3154013
It would speed up design work if we had dedicated toggle buttons for layer visibility and locked state right next to each layer name in the layer bar. That would allow toggling with a single click.
Indeed! I often use draw for complex drawings (showing building floor plan with various technical installations) where I often need to hide alternating layers to hide or show particular installations. For this need some kind or "show hide bar" or icons on the layer TABs would be useful.
We already have the following shortcuts for the tabs of the layer tab-bar:
Shift+Click: Toggle 'visible', tab text becomes blue
Ctrl+Click: Toggle 'locked', tab text becomes italic
Shift+Ctrl+Click: Toggle 'printable', tab text becomes underlined
In addition the Shift+Click is in the context menu of the tab.
The tabs themselves are not large enough to add buttons and it would be necessary to divide the tab into several areas to detect which part was hit. That is effortful.
So my take is, not to go with this suggestion.
Thank you Regina, those shortcuts are great news!
There is now a toggle for layer visibility in the context menu, starting in LO 7.6 (see bug 113439). I imagine this is the most commonly used setting, and it's the one Rainer wanted easier access to.
Along with the shortcuts Regina provided, I think this can be closed as "works for me", but feel free to set back to "new" if you disagree.