Re: [Gimp-developer] rectangle select tool specification

2006-08-13 Thread saulgoode
First off, fantastic job on the new tool. I think it is great and have  
no great complaints about its implementation. FWIW, I would mildly  
desire integer-only aspect ratios and I would greatly desire having  
the make square and expand from center options be available as key  
modifiers.


One thing I noticed is that for the subtract and intersect modes  
(whether attained through the Mode buttons or through key modifiers),  
The marching ants of the currently drawn area become a solid line  
whereas for the replace and add modes they remain marching ants  
(this is true for both the Rectangular and Elliptical tools). Perhaps  
there is a very useful reason for this behavior, I just found it  
anomalous.





___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-12 Thread Kevin Cozens

Tim Jedlicka wrote:

you click inside
an existing selection, then a new, modifiable rectangular selection is
created, whose bounds are just large enough to completely enclose the
previous selection.


Found it! Thanks, Tim. For some reason I missed that the other day or else I 
didn't realize it would crop to the current selection. Now I see that 
information appears in the pop-up tooltop for the menu entry.


--
Cheers!

Kevin.

http://www.interlog.com/~kcozens/ |What are we going to do today, Borg?
Owner of Elecraft K2 #2172|Same thing we always do, Pinkutus:
  |  Try to assimilate the world!
#include disclaimer/favourite   |  -Pinkutus  the Borg
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-11 Thread Kevin Cozens

Sven Neumann wrote:

I think it would be sufficient if people could enter a width and a
height in order to define the aspect ratio. That's how the old tool used
to work. Perhaps add portrait and landscape buttons to it, like we have
in the New Image dialog so that people can easily flip the aspect ratio.


That sounds like the simplest approach. I don't find the value with all the
decimal places after it useful. After entering width/height to set the ratio
you would just click the chain icon beside width/height so a change to one of
the values adjusts the other accordingly and maintains the desired aspect ratio.

One feature I miss about the current crop tool is something I'm used to from 
the 2.2 GIMP. I have a habit of using the selection tool to mark a region 
then, when I pick the crop tool, use the From Selection option to set the 
crop limits based on the currently active selection.


I suppose I could get used to not having this option in the tool box (or a 
menu item to do the same thing) but it would be a nice feature to have back.


--
Cheers!

Kevin.

http://www.interlog.com/~kcozens/ |What are we going to do today, Borg?
Owner of Elecraft K2 #2172|Same thing we always do, Pinkutus:
  |  Try to assimilate the world!
#include disclaimer/favourite   |  -Pinkutus  the Borg

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-11 Thread Tim Jedlicka
On 8/11/06, Kevin Cozens [EMAIL PROTECTED] wrote:
One feature I miss about the current crop tool is something I'm used to fromthe 2.2 GIMP. I have a habit of using the selection tool to mark a regionthen, when I pick the crop tool, use the From Selection option to set the
crop limits based on the currently active selection.I suppose I could get used to not having this option in the tool box (or amenu item to do the same thing) but it would be a nice feature to have back.
Doesn't this essentially do this for you? I may not fully understand what you are attempting, but you can click inside the current selection, adjust selection/crop then do a Image-Crop to crop the image from the selection. 
you click insidean existing selection, then a new, modifiable rectangular selection is
created, whose bounds are just large enough to completely enclose theprevious selection.-- Tim Jedlicka, [EMAIL PROTECTED], 
http://www.galifree.com
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-10 Thread Tim Jedlicka
First thanks for the new tool - it is growing on me. I love the highlight and the 3rds guides. I resisted using it until 2.3.10 but have used it for about 100 images now. The rect. select is the one tool I use on every image.
Not sure if you want a bug report (another bug report?) on the aspect ratio - but this still needs some clarified requirements or usage studies - what is the recommended way of cropping to standard aspect ratios? How do I easily go from 2:3 to 3:2? Many of these issues have already been discussed/debated - we just need to pull them together.
The interaction of the fixed width, height, and aspect ratio don't work as I expect. Should I open bug reports or can you clarify if/how they should interact. i.e. if I enter a height and width, should the aspect ratio automatically recalculate - does it matter if any of the three are checked or not?
Rectangle controls are always in pixels (except for XY coords.) even if the default unit of measure is inches - is this intended. Not a problem for me, but might be an issue for some.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-10 Thread Sven Neumann
Hi,

On Wed, 2006-08-09 at 15:50 -0700, William Skaggs wrote:

 Rectangle Controls:  An expander containing a set of spinbuttons and
   checkboxes used for specifying the shape of the rectangle
   numerically.  There are checkboxes for fixed width, fixed
   height, and fixed aspect.  If any of these are activated, then
   the number entered in the corresonding spinbutton will be used to
   set the relevant dimension of the rectangle, and will not be
   affected by any mouse actions.  It is possible for more than one to
   be activated.  If, for example, both fixed width and fixed
   height are active, then the shape of the rectangle will be fixed,
   and dragging any edge or corner will simply move the rectangle as a
   whole. 
 
   At the bottom of the Controls are a set of four spinsbuttons that
   can be used to change the coordinates of the rectangle corners.
   Changing any of these has the same effect as dragging one of the
   rectangle edges using the mouse, including the application of any
   constraints that are active.

This part needs to be entirely redesigned. I didn't realize until now
that you actually meant this to be the final state of the tool options.
I always assumed that the controls are just there as a way to play with
the internal properties. The properties are probably fine but I don't
think we can present this to our users. It's way too complex and people
have already expressed their concerns about it, especially when it comes
to specifying the aspect ratio.

I suggest that we look at the old rect select and crop tools for this.
Their user interface was IMO a lot cleaner and more intuitive.


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-10 Thread William Skaggs


Thanks for the comments.  I have changed the code so that when
a user is modifying an existing rectangle, in Replace mode, the
marching ants for the previous selection are no longer shown --
this seemed to confuse almost everybody.

Concerning the options gui, it seems clear that improvements are
needed, particularly concerning the aspect ratio.  However there
is a need for more concrete suggestions about what it should look
like.  The way it was done for the old rect select tool is not
viable, in my opinion, but it does not allow for rectangles that
can be modified after they have been created.

Concerning the aspect ratio, it should be possible to come up
with a method that allows easy entry of integer ratios.  It
isn't clear that we will be able to come up with a menu of
standard ratios for 2.4.  If we could just use a fixed list,
it would be simple, but it seems that it would be necessary to
allow people to edit the list of possibilities, and that would
require enough machinery that it might not be feasible to add
it this late in the 2.4 cycle.


For your information, the following bug reports are active
concerning the new rectangle-based tools (each of these is
marked as a blocker for the 2.4 target):

Bug 316156 – selection tool: modifiers pressed before click should
 only do one thing.

Bug 345414 – Should select/crop tool options put controls in an
 expander?

Bug 346683 – New Rect select tool doesn't restore settings

Bug 346684 – New Rect select tool setting of the aspect ratio
 is cumbersome

  -- Bill



__ __ __ __
Sent via the CNPRC Email system at primate.ucdavis.edu





___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-10 Thread Sven Neumann
Hi,

On Thu, 2006-08-10 at 13:15 -0700, William Skaggs wrote:

 Concerning the aspect ratio, it should be possible to come up
 with a method that allows easy entry of integer ratios.  It
 isn't clear that we will be able to come up with a menu of 
 standard ratios for 2.4.  If we could just use a fixed list,
 it would be simple, but it seems that it would be necessary to
 allow people to edit the list of possibilities, and that would
 require enough machinery that it might not be feasible to add
 it this late in the 2.4 cycle.

I think it would be sufficient if people could enter a width and a
height in order to define the aspect ratio. That's how the old tool used
to work. Perhaps add portrait and landscape buttons to it, like we have
in the New Image dialog so that people can easily flip the aspect ratio.


Sven


___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool specification

2006-08-09 Thread Karl Günter Wünsch
On Thursday 10 August 2006 00:50, William Skaggs wrote:
 Rectangle Controls:  An expander containing a set of spinbuttons and
   checkboxes used for specifying the shape of the rectangle
   numerically.  There are checkboxes for fixed width, fixed
   height, and fixed aspect.  If any of these are activated, then
   the number entered in the corresonding spinbutton will be used to
   set the relevant dimension of the rectangle, and will not be
   affected by any mouse actions. 
Please don't describe aspect ratio as a single float as this makes it 
impossible to quickly and intuitively enter aspect ratios such as 2:3, 3:2, 
16:9, 9:16 without having a pocket calculator nearby. When using big 
selections then the current float entry with four digits precision is 
imprecise when describing certain aspect ratios (neither 0. or 0.6667 is 
correctly describing 2:3 aspect ratio).
Either go back to the old tool there, which simply allowed any multiple of the 
height/width values set when aspect was fixed or provide two spinbuttons for 
the aspect to be entered properly without having the user calculate 
the aspect each an every time. 
regards
Karl Günter Wünsch
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool

2006-06-12 Thread Jakub Steiner
Hi.

I see the hard work you've put into this. I'm happy to see you learn
your way around GIMP codebase. I like the cooperation effort involved.
But expect some harsh reactions from existing userbase.

Personally you're making me change a process that I've learned and
practiced in the past 6 years. During that time I've probably used the
selection tools many more times more often than I've been outside I'm
affraid[1]. But I'll bite the lip and will try my best to throw this all
away.

Initially I thought getting rid of the aspect lock modifier may be a bit
harsh. But maybe I just need to test this for a month and we'll see.
There may be another solution to the same modifier for adding and
aspect ratio contrain problem than you chose. 

The bezier selection is now very similar in behavior with the new
selection tools. You tweak a shape first and then apply it to form a
regular marching ants selection. In bezier selections tool you use the
modifiers to add to or substract from existing selection when _applying_
the selection (pressing Alt+Enter or Alt+Click Inside to subtract, Shift
+Enter or Shift+Click inside to add...). You don't press the modifiers
before you start defining the shape. Using this for these selection
tools as well would from my point of view avoid the shortcut clash
problem.

On the other hand, rectangular and elliptical selections in cvs HEAD are
active even before they are applied. Maybe that's a good thing. Although
I found it a little distracting when I had an existing selection and
tweaking the new one blinked through the old one. Kinda similarly
confusing as the dual-use modifiers ;) But perhaps it's just a bug. 

If you go for shift+drag for adding new selection behavior as it is now
in cvs HEAD, allow me to start the drag over an existing selection in
progress. Currently that starts editing it as if I didn't hold shift.

There's also something I think would make the tool more usable. The
cursor changing bounds are image-resolution-bound, not
view-resolution-bound. I work with 22x22px canvases. Even when I'm
zoomed in, no selection I make shows the apply selection cursor in the
center as the selection border takes all the space every time. The
feedback I'm given is that I cannot apply the selection in progress by
clicking inside.

It's too early to tell if I can get used to this new behavior. Even
though the immidiate reaction was dang give me my tools back! I see
the benefit for a lot of casual GIMP users. It probably was a
serious-enough problem to require routine users and Photoshop converts
to forget and learn something new.

P.S.: I also noticed the selections are broken when modified with a
keyboard. The marching ants nor the final selection reflect to the
keyboard-set position.

[1] Sad, sad life I'm living.
-- 
Jakub Steiner [EMAIL PROTECTED]
Novell, Inc.

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool

2006-06-12 Thread Jakub Steiner
Hi.

I see the hard work you've put into this. I'm happy to see you learn
your way around GIMP codebase. I like the cooperation effort involved.
But expect some harsh reactions from existing userbase.

Personally you're making me change a process that I've learned and
practiced in the past 6 years. During that time I've probably used the
selection tools many more times more often than I've been outside I'm
affraid[1]. But I'll bite the lip and will try my best to throw this all
away.

Initially I thought getting rid of the aspect lock modifier may be a bit
harsh. But maybe I just need to test this for a month and we'll see.
There may be another solution to the same modifier for adding and
aspect ratio contrain problem than you chose. 

The bezier selection is now very similar in behavior with the new
selection tools. You tweak a shape first and then apply it to form a
regular marching ants selection. In bezier selections tool you use the
modifiers to add to or substract from existing selection when _applying_
the selection (pressing Alt+Enter or Alt+Click Inside to subtract, Shift
+Enter or Shift+Click inside to add...). You don't press the modifiers
before you start defining the shape. Using this for these selection
tools as well would from my point of view avoid the shortcut clash
problem.

On the other hand, rectangular and elliptical selections in cvs HEAD are
active even before they are applied. Maybe that's a good thing. Although
I found it a little distracting when I had an existing selection and
tweaking the new one blinked through the old one. Kinda similarly
confusing as the dual-use modifiers ;) But perhaps it's just a bug. 

If you go for shift+drag for adding new selection behavior as it is now
in cvs HEAD, allow me to start the drag over an existing selection in
progress. Currently that starts editing it as if I didn't hold shift.

There's also something I think would make the tool more usable. The
cursor changing bounds are image-resolution-bound, not
view-resolution-bound. I work with 22x22px canvases. Even when I'm
zoomed in, no selection I make shows the apply selection cursor in the
center as the selection border takes all the space every time. The
feedback I'm given is that I cannot apply the selection in progress by
clicking inside.

It's too early to tell if I can get used to this new behavior. Even
though the immidiate reaction was dang give me my tools back! I see
the benefit for a lot of casual GIMP users. It probably was a
serious-enough problem to require routine users and Photoshop converts
to forget and learn something new.

P.S.: I also noticed the selections are broken when modified with a
keyboard. The marching ants nor the final selection reflect to the
keyboard-set position.

[1] Sad, sad life I'm living.
-- 
Jakub Steiner [EMAIL PROTECTED]
Novell, Inc.

___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] rectangle select tool

2006-06-12 Thread William Skaggs

Jimmac,

  Thanks for your detailed, thoughtful, and very helpful critique.

I see the hard work you've put into this. I'm happy to see you learn
your way around GIMP codebase. I like the cooperation effort involved.
But expect some harsh reactions from existing userbase.

Well, my experience has always been that changing *anything* in the
UI of an application, no matter how broken, leads to harsh reactions
from users who have learned to exploit the breakage -- so it won't
come as a surprise.  This is not intended to be dismissive of
complaints -- the whole effort was largely driven by complaints --
but just to point out that it is never possible to make everybody
copletely happy.

The bezier selection is now very similar in behavior with the new
selection tools. You tweak a shape first and then apply it to form a
regular marching ants selection. In bezier selections tool you use the
modifiers to add to or substract from existing selection when _applying_
the selection (pressing Alt+Enter or Alt+Click Inside to subtract, Shift
+Enter or Shift+Click inside to add...). You don't press the modifiers
before you start defining the shape. Using this for these selection
tools as well would from my point of view avoid the shortcut clash
problem.

First:  the new tools actually used to work the way you describe, and
the behavior was changed in response to complaints from users
(including you, iirc!) who wanted to be able to do things like sweep
out a rectangle and then hit Ctrl-C to copy the contents without 
remembering to click inside the rectangle first; etc.  It would be
easy to change it back, but the current behavior seems to be more
appealing to most people.

Second: for me personally, I am generally opposed to overloading modifiers.
It allows speedups for experienced users, but really messes with the
minds of new users.  I think there is a better solution to this problem:
to allow GIMP to make use of a new modifier key (call it TOOL), and
dedicate TOOL-modified keystrokes exclusively to controlling tool
behavior.  Then you could, for example, toggle the aspect constraint
by hitting 'TOOL-s' or something.  But this is a topic best discussed in
depth elsewhere.

On the other hand, rectangular and elliptical selections in cvs HEAD are
active even before they are applied. Maybe that's a good thing. Although
I found it a little distracting when I had an existing selection and
tweaking the new one blinked through the old one. Kinda similarly
confusing as the dual-use modifiers ;) But perhaps it's just a bug.

It is intentional.  I think after you get used to it, it is actually
helpful in many cases, but if too many people find it confusing, it
can be changed.


If you go for shift+drag for adding new selection behavior as it is now
in cvs HEAD, allow me to start the drag over an existing selection in
progress. Currently that starts editing it as if I didn't hold shift.

Good point.  I will change this.

There's also something I think would make the tool more usable. The
cursor changing bounds are image-resolution-bound, not
view-resolution-bound. I work with 22x22px canvases. Even when I'm
zoomed in, no selection I make shows the apply selection cursor in the
center as the selection border takes all the space every time. The
feedback I'm given is that I cannot apply the selection in progress by
clicking inside.

Ah, that's a bug.  I'll fix it.

It's too early to tell if I can get used to this new behavior. Even
though the immidiate reaction was dang give me my tools back! I see
the benefit for a lot of casual GIMP users. It probably was a
serious-enough problem to require routine users and Photoshop converts
to forget and learn something new.

I guess the question, in the long run, is how often you find yourself
happy to be able to modify an existing selection, versus how often you
find yourself thinking that what you are doing would have been easier the
old way.  Every change is a tradeoff:  I hope this one is a good
tradeoff overall, but only time will tell.

P.S.: I also noticed the selections are broken when modified with a
keyboard. The marching ants nor the final selection reflect to the
keyboard-set position.

I will investigate, and fix any problems I can find.

Thanks again for your feedback,

  -- Bill
 

 
__ __ __ __
Sent via the CNPRC Email system at primate.ucdavis.edu


 
   
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer