I've implemented something similar on a working/experimental branch
that I've just pushed:

https://gitorious.org/mypaint/achadwick-mypaint/commits/layer-enhancements-wip

This branch removes hide-layers-above because it's annoying and tricky
to code around, and too much state to show in the layers window given
the amount of extra stuff the branch introduces, and I suspect it
isn't heavily used. However layer solo can be engaged by
shift-clicking on the eye column because that's the way the GIMP does
it ☺

(Oh yeah. The branch makes our layer stack a tree structure, supports
layer sub-stacks, and allows SVG vector layers to be loaded and saved
and composited as a first step towards full support for them. I'm
chasing OpenRaster support for a better layer compositing system which
I think will allow for layer group masking and wider compatibility
between GIMP, Krita and MyPaint. @boudewijnrempt is reviewing a
minispec I posted to the CREATE list in December, but things are
moving a little slowly there on my side too so please-feel-no-pressure
if you're reading this, Boudewijn.

Understand that the branch writes non-compliant OpenRaster files, and
that saving as PNGs without backgrounds is currently broken. As is
layer merging because I need to rethink what layer merging actually
means now.)

On 5 January 2014 13:39, David Revoy <[email protected]> wrote:
> Note :  A similar feature works in Photoshop/Gimp with Shift + Mouse Click
> on the visibility/eye icon of the layer stack docker. Shift + Mouse Click
> again on it restore the previous visibility state.  But I find it hard for
> new user to discover it. @Andrew Ulrich ; Feel free to propose/invent an
> easier Ui for user with stylus.
>
> _____________________
> http://www.davidrevoy.com
>
>
> On Sun, Jan 5, 2014 at 5:17 AM, David Gowers <[email protected]> wrote:
>>
>> That sounds correct, but you wouldn't need to program that part of the
>> logic: the 'Layer Solo' command already exists, and you would just need to
>> add the togglebutton and hook it up to the existing command..
>>
>>
>> On Sat, Jan 4, 2014 at 8:59 AM, Andrew Ulrich
>> <[email protected]> wrote:
>>>
>>> I noticed under "tasks especially suited for new developers" that the
>>> only suggested task is currently
>>>
>>> Togglebutton for "Layer Solo Mode" in layer dialog, below "Opacity"
>>>
>>>
>>> I just want to doublecheck a few things:
>>> First, is this in the bugtracker anywhere?  If not, is anyone already
>>> working on this? If not, then maybe I'll try it, and just to doublecheck,
>>> this means you want a togglebutton that will turn the visibility off for all
>>> layers except the currently selected one (while the currently selected
>>> layer's visibility is turned on if not already turned on), and when clicked
>>> again, will revert the visibility of all layers back to their original
>>> values, correct?
>>>
>>> Thanks, and hi I'm new
>>> Andrew
>>>
>>> _______________________________________________
>>> Mypaint-discuss mailing list
>>> [email protected]
>>> https://mail.gna.org/listinfo/mypaint-discuss
>>>
>>
>>
>> _______________________________________________
>> Mypaint-discuss mailing list
>> [email protected]
>> https://mail.gna.org/listinfo/mypaint-discuss
>>
>
>
> _______________________________________________
> Mypaint-discuss mailing list
> [email protected]
> https://mail.gna.org/listinfo/mypaint-discuss
>



-- 
Andrew Chadwick

_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss

Reply via email to