Bug 153432 - Add buttons to toggle layer visibility and locked state
Summary: Add buttons to toggle layer visibility and locked state
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Layers
  Show dependency treegraph
 
Reported: 2023-02-07 09:56 UTC by martin.j.lisowski
Modified: 2023-05-09 13:27 UTC (History)
3 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 martin.j.lisowski 2023-02-07 09:56:46 UTC
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.
Comment 1 Rainer Bielefeld Retired 2023-02-07 15:09:57 UTC
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.
Comment 2 Regina Henschel 2023-02-07 19:00:11 UTC
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.
Comment 3 martin.j.lisowski 2023-02-07 22:53:23 UTC
Thank you Regina, those shortcuts are great news!
Comment 4 Stéphane Guillou (stragu) 2023-04-14 23:46:04 UTC
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.