|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
> Date: Sat, 26 May 2012 11:21:35 +0200
> From: gfx.user@xxxxxxxxx
> To: gimp-developer-list@xxxxxxxxx
> Subject: Re: feature: Set exclusive layer visibility within groups
> It's a bit hard to understand what you mean exactly in your further
> writing. Can you write down a state chain, please?
Give an example? Sure. Let's say I have an image with the following layer tree:
* - G1
* - - L1
* - - G2
* - - - L2
* - - - L3
* - L4
* - G3
* - - L5
* - - L6
If I Shift+Click on L3, GIMP should toggle between "all items" and "ONLY item L3". Specifically:
1 - The path to the clicked item in this case is "G1 -> G2 -> L3". Therefore, G1, G2, and L3 shall all be made visible.
2 - All direct siblings to any of G1, G2, or L3 shall be made non-visible. This means:
3a - On the top level, G1's siblings are L4 and G3. L4 and G3 shall be hidden.
3b - G2 has one sibling: L1. L1 shall be hidden.
3c - L3 has one sibling: L2. L2 shall be hidden.
4 - L5 and L6, the descendants of G3, are not relevant and shall not be affected -- we already hid G3 and that is sufficient.
5 - L3 is now the only visible item in the entire image.
6 - If I Shift+Click again, steps 2 and 3 are repeated, but with siblings made visible.
Or say I Shift+Click on G2, GIMP should toggle between "all items" and "ONLY item G2":
1 - The path in this case is just "G1 -> G2". Even though G2 is a group containing child items (L2 and L3), those items are NOT of interest right now because I am acting on G2 as a whole.
2 - G1 and G2 shall both be made visible.
3 - Any siblings to G1 or G2 shall be made hidden:
3a - L4 and G3 are siblings to G1; they shall be hidden.
3b - L2 is sibling to G2; it shall be hidden.
4 - G2 is now the only visible item in the entire image.
5 - If I Shift+Click again, steps 2 and 3 are repeated, but with all siblings made visible.
Note what happens if I click on a top-level item, say, L4:
1 - The path is now simply "L4". L4 shall be the only item made visible.
2 - All direct siblings of L4 (G1 and G3) shall be made hidden.
3 - Any items inside G1 and G3 are NOT of interest and shall NOT be individually affected.
4 - L4 is now the only item actually visible in the entire image.
5 - If I Shift+Click again, repeat step 2 but with siblings made visible.
This last case neatly duplicates our current behavior in 2.8.0 by affecting only top-level layers.
Numbers may not lie, but neither do they tell the whole truth.
_______________________________________________ gimp-developer-list mailing list gimp-developer-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gimp-developer-list
[Home] [Video For Linux] [Photo] [Yosemite News] [Yosemite Photos] [Yosemite Book Store] [gtk] [GIMP for Windows] [KDE] [Scanner] [Memory] [GEGL] [Gimp's Home] [Gimp on Windows] [Steve's Art] [Webcams]