Inkscape.org
Beginners' Questions Allow hide/show ALL layers to include sub-layers
  1. #1
    dmt05 dmt05 @dmt05
    *

    Currently "hide/show ALL layers" affect other layers apart from selected BUT only their top-levels (not including any sub-layers).

    It there an option to include ALL levels of layers?

  2. #2
    miKaぴょん miKaぴょん @mikapyon

    Hm, here on 1.2 it does exactly that. For me, right clicking a layer in the Layers and Objects dialog and selecting "Hide all layers" hides all layers *including* the selected one and any layer that was dragged inside another layer. selecting "Show all layers" shows everything again including sub.

  3. #3
    dmt05 dmt05 @dmt05

    Can you show this settings: https://postimg.cc/68TfhvFs/625c8bfa

  4. #4
    Tyler Durden Tyler Durden @TylerDurden⚖
    mikapyon

    Hm, here on 1.2 it does exactly that. For me, right clicking a layer in the Layers and Objects dialog and selecting "Hide all layers" hides all layers *including* the selected one and any layer that was dragged inside another layer. selecting "Show all layers" shows everything again including sub.

    Same here, even if my settings are like @dmt05.

  5. #5
    miKaぴょん miKaぴょん @mikapyon

    Here is mine~

  6. #6
    dmt05 dmt05 @dmt05

    I have set my setting same as above (https://media.inkscape.org/media/resources/file/Screenshot_from_2022-06-16_07-02-30_pbAr3nM.png)  but "hide/show ALL layers" still affects only top-level layers.

     

    See attached file:

    Layer Corset - shown

    sub layer: Star 2 down - shown

    Sub sub layer: path41430-8 - hidden

    Sub sub layer: path41428-8 - shown

     

    Select top layer "IMAGE" and choose "Select all layers"

    Expected: Sub sub layer: path41430-8  is visible

    Observed: Sub sub layer: path41430-8  still hidden 

    Mlp13
  7. #7
    Tyler Durden Tyler Durden @TylerDurden⚖

    Show/Hide layers only operates on layers, not groups or objects.

    This is the document tree, note the icons indicating Layer, Group and Object within the Objects dialog:

     

  8. #8
    miKaぴょん miKaぴょん @mikapyon
    *
    dmt05

    See attached file:

    Not exactly sure what I am looking at, sorry 💦

    Edit: I am an idiot, the attached file is an SVG not an image *facepalm*

    One thing I can think of that could be happening:

    1. Create a new document and delete all layers so the Layers and Objects dialog is empty
    2. Draw a shape lets call it shape1
    3. Create a new layer, select that layer
    4. Draw another shape inside that layer, shape2
    5. Now shape2 is inside the only layer, shape1 is not in the layer

    If you now use Hide/Show all layers, the layer will be shown/hidden as usual (aka toggles shape2) but shape1 is unaffected and always visible.

    TL;DR: Make sure all shapes are contained in layers?

  9. #9
    dmt05 dmt05 @dmt05

    @TylerDurden

    So thats how it works. I see now. Thanks

     

    mikapyon

    If you now use Hide/Show all layers, the layer will be shown/hidden as usual (aka toggles shape2) but shape1 is unaffected and always visible.

    Yes. Thats what is happening.

    mikapyon

    TL;DR: Make sure all shapes are contained in layers?

    That is a thing to consider, thanks. 

    I do want to be able to hide and show EVERYTHING.

  10. #10
    Tyler Durden Tyler Durden @TylerDurden⚖
    dmt05

    I do want to be able to hide and show EVERYTHING.

    I'd use Edit>Select all in all layers, with the settings in the Preferences set to ignore hidden and locked objects.

  11. #11
    dmt05 dmt05 @dmt05
    TylerDurden

    I'd use Edit>Select all in all layers, with the settings in the Preferences set to ignore hidden and locked objects.

    That helps a bit.

    My settings attached.  

    Objects -Unhide all - works

    Ctrl+A in objects and layers select all but low-level objects (see Layers.JPG)

    Techincally - hiding all selected objects will result is nothing shown...

    Layers
    Settings1
Inkscape Inkscape.org Inkscape Forum Beginners' Questions Allow hide/show ALL layers to include sub-layers