Re: [Gimp-developer] Layer locking proposal

2005-06-26 Thread Pedro Kiefer
On Sun, 2005-06-26 at 12:59 -0300, Pedro Kiefer wrote:
> Sven,
> I did look at the PS user interface for layers before doing the mockup.
> In the other message you've said: 
> "I am sorry, but you can't put the lock at the end of the row. It would
> become invisible as soon as one layer has a longer name."
> Couldn't that be solved by ellipsizing the layer name? I really dislike
> extremeally long layer names, they clutter the interface. I think that we
> could have both, a check box together with the opacity slider and as a visual
> aid an small lock that would only disable the lock in the left of the layer 
> list.
> That way is easy to know which layers are locked, and they are easly unlocked.
> 

As a follow up to my own message, here is another mockup. The lock on
the far right of the list would disable the lock for the given layer, so
you don't have to change to that particular layer to change it's status.
The checkboxs under the opacity slider toggles the different locking
mechanisms supported, hence the weird question mark, which should reads
as insert_your_own_locking_here.

-- 
Pedro Kiefer <[EMAIL PROTECTED]>
<>
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Layer locking proposal

2005-06-26 Thread Pedro Kiefer
On Sun, 2005-06-26 at 15:55 +0200, Simon Budig wrote:
> > Since we also want to address layer groups at some point. How does
> > that integrate with locking?
> 
> Currently I think that locking the layer group should also lock its
> children, the same way as making a layer group invisible makes its
> children invisible.
> 

That's the way I thought about it too. My first idea was to submit two
proposal, the locking which I did, and a layer grouping proposal. But as
I'm a little bit new to gimp, I've thought of gaining some knowlegde
first by trying to add a simpler feature. A layer grouping proposal will
follow when I get a little bit more comfortable with gimp.

-- 
Pedro Kiefer <[EMAIL PROTECTED]>

___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Layer locking proposal

2005-06-26 Thread Pedro Kiefer
Sven,
I did look at the PS user interface for layers before doing the mockup.
In the other message you've said: 
"I am sorry, but you can't put the lock at the end of the row. It would
become invisible as soon as one layer has a longer name."
Couldn't that be solved by ellipsizing the layer name? I really dislike
extremeally long layer names, they clutter the interface. I think that we
could have both, a check box together with the opacity slider and as a visual
aid an small lock that would only disable the lock in the left of the layer 
list.
That way is easy to know which layers are locked, and they are easly unlocked.

On Sun, 2005-06-26 at 15:17 +0200, Sven Neumann wrote:
> Hi,
> 
> for your inspiration, heres a slightly outdated screenshot of the PS
> user interface for layer locking:
> 
>  http://www.edigitalphoto.com/images/archivesart/0203edp_using_02.jpg
> 
> This PDF has a lot more screenshots and shows a more uptodate view of
> the Layers dialog on page 23:
> 
>  http://www.photoshopsupport.com/ib-pdf-02/vqs-chapter01.pdf
> 
> 
> Sven
> ___
> Gimp-developer mailing list
> Gimp-developer@lists.xcf.berkeley.edu
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer
> 
-- 
Pedro Kiefer <[EMAIL PROTECTED]>

___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] Layer locking proposal

2005-06-25 Thread Pedro Kiefer
Objective: Lock the layer from user actions.

It should lock the selected layer or layer group, by lock I mean:
 - you cannot move the layer and it's contents
 - you cannot change the blend mode, the opacity and the keep
transperancy modifier
 - you can select an area to copy / define as pattern, et al.
 - you can restack the layer among the others layers avaiable or add it
to a layer group
 - the layer should still be visible in the image
 - when the layer is locked, and the user tries to use any of the locked
actions it should warn the user that the given layer is locked

Maybe a more advance locking mechanism would be good, but having this
basic locking is a good begin. I've done a little bit of research, using
this feature in photoshop. Photoshop adds 2 [1] more locking options,
pixel locking and position locking. The first locks the contents of the
layer, but it lets you apply transformations (scale, rotate, skew, etc).
The latter locks the position of the layer, but you can draw to it,
apply effects, etc but no transformations. Both of this locking lets you
change the blend mode and the opacity of the layer. As I said before,
this would be a simple locking mechanism, but if well designed it could
scale in the future to support this, and others desirables locking.

I've just made this mockup (attached) of how the locking mechanism
should appear to the user in the layers tab. But that could be wrong, in
not really familiar with the GNOME HIG. Clicking in an unlocked lock
will lock the layer, clicking in a locked lock will unlock it.

How all this should be implemented is something that I don't know in the
moment. I need to learn a little bit of how actions interacts with the
layer to try to propose some functions. But what comes to my mind is to
have a function that returns, based on it's caller, if the given caller
is able to act upon the given layer. And a simple set / unset pair of
functions to be called from the UI.

-- 
Pedro Kiefer <[EMAIL PROTECTED]>

[1] It actually photoshop has one more locking option, keep transparency
which is already implemented in gimp.
<>
___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] Missing layer features

2005-06-24 Thread Pedro Kiefer
Hi,
As a gimp user I've always missed two things, both related to layers.
One is not having an option of locking a layer. The other is not being
able to group layers, so that I can hide / show all the layers inside
the group. Both of this appears as bugs in bugzilla. The first one dates
back to 2001 [1], the other is from 2002 [2]. So I came to ask, is this,
apart from the bugs reports, being worked on? If it's not, how can I
contribute? I'm no expert in gdk / gtk programming, but I'm willing to
learn whatever it takes to get these features in gimp. With that said, I
would like to know where should I start? Could someone mentorship me?

Thanks for the attention, cheers,

-- 
Pedro Kiefer <[EMAIL PROTECTED]>

[1] http://bugzilla.gnome.org/show_bug.cgi?id=61019
[2] http://bugzilla.gnome.org/show_bug.cgi?id=86337

___
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer