You are not logged in.

#1 2012-05-16 14:44:23

b9anders
Member
Registered: 2007-11-07
Posts: 691

Getting GIMP 2.8 to work more like 2.6

There's been a lot new features that change the way gimp works with the new upgrade. Some of them just take some getting used to, but there is one 'feature' that is driving me absolutely nuts.

GIMP keeps forgetting/re-setting the mode I have set for my selection tools. It does it without fail whenever a single undo is made (even if changing the mode was not the action to be undone) and seemingly for a few other reasons as well I haven't quite figured out.

I have looked through the settings, but I can't find out a way to change this. Does anyone have an idea how to turn off this 'feature'?

Offline

#2 2012-05-16 16:55:51

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Getting GIMP 2.8 to work more like 2.6

this is most likely a bug: have you thought on checking upstream for this?

Offline

#3 2012-05-16 23:03:23

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Getting GIMP 2.8 to work more like 2.6

I went through their bug list from normal to critical but couldn't find anything matching it. Can anyone comment on this? Is it just me getting this?

Offline

#4 2012-05-17 01:03:24

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Getting GIMP 2.8 to work more like 2.6

Ok, let's see...

Open image.

Select Rectangle Selection Tool and all tool options disabled.

Select a rectangle.

Undo.

Enable Feather Edges.

Select a rectangle.

Undo. Feather Edges stays enabled.

(Repeat for the Free Select Tool)

(Repeat with various other options)

GIMP behaved as I expected. Is this an accurate test for what you're describing?

(GIMP, 2.8.0-1, with fresh settings files)

Offline

#5 2012-05-17 08:16:58

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Getting GIMP 2.8 to work more like 2.6

drcouzelis wrote:

Ok, let's see...

Open image.

Select Rectangle Selection Tool and all tool options disabled.

Select a rectangle.

Undo.

Enable Feather Edges.

Select a rectangle.

Undo. Feather Edges stays enabled.

(Repeat for the Free Select Tool)

(Repeat with various other options)

GIMP behaved as I expected. Is this an accurate test for what you're describing?

(GIMP, 2.8.0-1, with fresh settings files)

Almost. The modes that get reset for me in the selection tools are the 'add/substract/intersect with current selection' buttons. It keeps re-setting to 'replace current selection' everytime I press undo.

Offline

#6 2012-05-17 10:57:54

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Getting GIMP 2.8 to work more like 2.6

b9anders wrote:

Almost. The modes that get reset for me in the selection tools are the 'add/substract/intersect with current selection' buttons. It keeps re-setting to 'replace current selection' everytime I press undo.

Confirmed.

For me it also forgets lots of settings when I restart (but they stay after Undo): things like brush settings, font settings, etc...

Offline

#7 2012-05-17 11:16:31

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Getting GIMP 2.8 to work more like 2.6

b9anders wrote:

Almost. The modes that get reset for me in the selection tools are the 'add/substract/intersect with current selection' buttons. It keeps re-setting to 'replace current selection' everytime I press undo.

Ooh, I didn't even know those buttons existed. Cool buttons. big_smile

I am not seeing the same behaviour that you're seeing. The mode I select stays selected, regardless if I change tools, undo, and close the GIMP. Which might be because of this:

Procyon wrote:

For me it also forgets lots of settings when I restart (but they stay after Undo): things like brush settings, font settings, etc...

I think what you're describing is one of my favorite options, that comes disabled (for some reason) by default:

Preferences -> Tool Options -> Save tool options on exit

Does that help?

Offline

#8 2012-05-17 13:19:52

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Getting GIMP 2.8 to work more like 2.6

Thanks drcouzelis!

It wasn't related to b9anders' problem, but I did find out something:

It's not just CTRL+Z, it's any command with CTRL or SHIFT:

Make a selection
Use the Add button to add to it
Use SHIFT+drag an area to add to it
The button goes back to Replace mode.

If you rebind Undo to a command without CTRL you can Undo without the button going back to Replace.

Offline

#9 2012-05-17 14:18:27

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Getting GIMP 2.8 to work more like 2.6

Hah! I think you've figured it out! And I never saw the problem because I was controlling the GIMP only with the mouse. tongue

I can can kind of see how this would be a bug... The expected behaviour would be: CTRL and SHIFT will change selection mode and releasing them would return the tool the original mode (regardless if it was replace, add, or subrtact). Instead, it always changes back to "replace" mode.

Offline

#10 2012-05-17 16:46:58

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Getting GIMP 2.8 to work more like 2.6

Procyon wrote:

Thanks drcouzelis!

It wasn't related to b9anders' problem, but I did find out something:

It's not just CTRL+Z, it's any command with CTRL or SHIFT:

Make a selection
Use the Add button to add to it
Use SHIFT+drag an area to add to it
The button goes back to Replace mode.

If you rebind Undo to a command without CTRL you can Undo without the button going back to Replace.

Yes that would explain pretty much all the behaviour I am getting. Thanks.

So, do we think this is a bug or not? Is it worth reporting?

Offline

#11 2012-05-17 16:53:14

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: Getting GIMP 2.8 to work more like 2.6

Yes, report it.

Offline

#12 2012-05-17 20:33:28

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Getting GIMP 2.8 to work more like 2.6

reported. Thanks to Procyon for giving proper details on how to reproduce.

Last edited by b9anders (2012-05-17 20:33:57)

Offline

#13 2012-05-18 20:01:15

b9anders
Member
Registered: 2007-11-07
Posts: 691

Re: Getting GIMP 2.8 to work more like 2.6

Vow these guys work fast. Less than a day later :

Fixed in master and 2-8:

commit 4fdb1ec90a9c72e17356d1123f3188d6ff9e9b4d
Author: Michael Natterer <mitch@gimp.org>
Date:   Thu May 17 23:31:48 2012 +0200

    Bug 676279 - Ctrl or Shift causes selection tools to reset...

    Make sure to not override the logic that separates the tool option's
    selection mode from the one determined by modifiers, by blindly
    calling gimp_modifiers_to_channel_op(state) on a zero state.
    (cherry picked from commit 2d882dd64f3d14511489b5c629ff90e76d393be7)

app/tools/gimpselectiontool.c |    7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

Offline

#14 2012-05-18 20:05:01

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Getting GIMP 2.8 to work more like 2.6

b9anders wrote:

these guys work fast. Less than a day later

Good contribution! I love working with open source software developers. smile

Offline

Board footer

Powered by FluxBB