RSS/Atom feed Twitter
Site is read-only, email is disabled

layer multi-select

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

layer multi-select Matthew Smith 04 Oct 17:57
  layer multi-select Guillermo Espertino (Gez) 04 Oct 19:01
   layer multi-select Michael Natterer 04 Oct 20:05
Matthew Smith
2013-10-04 17:57:21 UTC (about 11 years ago)

layer multi-select

Hello

I am going to make an effort to get a layer multi-select going. In this email I will outline what I hope to achieve and I am asking what would be the most effective way to go about submitting a patch that could get accepted.

The goal is to be able to select multiple layers, and perform actions on the set of selected layers as a whole. Initially the actions would be limited to changing the visibility, changing the locked, or moving the selected layers to a group. This would be different than creating a group of layers because it would be easier to select additional layers in the layer dialog by using shift + click for a range of layers or ctrl+click to add/remove a layer from the currently selected.

To implement this I want to add multi-select to the layers dialog. Then when there are multiple layers selected an action would check for multiple layers selected and act accordingly. Similar to using a layer group.

I can see writing this two different ways, I am open to suggestions for more though. The first way is to use the actual layers dialog and add a multi-select to the dialog. Then modify individual actions to check for a multiple selection. The second way would be to create a plugin that makes a duplicate "layers dialog" with multiple selection. This dialog would allow actions that are performed on multiply selected layers.

I have only briefly looked over the code, and I am open to suggestions. I think either way would be non-intrusive in the current selection model and allow some migration, such that if it works then actions can be migrate to using the selected layers instead of the active layer.

Thank you Matt

Guillermo Espertino (Gez)
2013-10-04 19:01:38 UTC (about 11 years ago)

layer multi-select

El 04/10/13 14:57, Matthew Smith escribi:

Hello

I am going to make an effort to get a layer multi-select going. In this email I will outline what I hope to achieve and I am asking what would be the most effective way to go about submitting a patch that could get accepted.

IANAD ;) but wouldn't be better to make this in the gtk3-port branch? I'm not sure if it's worth to work on anything related to widgets using gtk2, considering that the port to gtk3 is planned for the next release after 2.10.

Gez.

Michael Natterer
2013-10-04 20:05:48 UTC (about 11 years ago)

layer multi-select

On 10/04/2013 09:01 PM, Guillermo Espertino (Gez) wrote:

El 04/10/13 14:57, Matthew Smith escribi:

Hello

I am going to make an effort to get a layer multi-select going. In this email I will outline what I hope to achieve and I am asking what would be the most effective way to go about submitting a patch that could get accepted.

IANAD ;) but wouldn't be better to make this in the gtk3-port branch? I'm not sure if it's worth to work on anything related to widgets using gtk2, considering that the port to gtk3 is planned for the next release after 2.10.

Absolutely not, no new features in that branch or rebasing becomes very hard.

Why don't you join us on IRC to discuss the thing? It's hard to give advice without knowing on what level to start.

--Mitch