Re: [Gimp-developer] Polygonal Selection Tool Re: Bug 119646

2006-12-16 Thread Paul Gnuyen
I don't know what full specifications look like for tools in the gimp
but here's a shot.

The Polygonal Selection Tool

Selects regions by connecting points clicked with line segments

Like polygonal select, shift on first click adds to selection, ctrl
subtracts, both intersect, alt moves.  

Holding shift after the first point has been placed constrains line
segments to absolute angles divisible by 45.

Clicking the last point completes the selection, or hitting enter.


I'm not sure which is more congruent with the other tools, should the
decision to add, subtract, or intersect selection with modifier keys
be made upon enter or first click?

Thanks




On Sun, 2006-12-10 at 16:56 +0100, Sven Neumann wrote:
 Hi,
 
 On Fri, 2006-12-08 at 10:19 -0800, Paul Gnuyen wrote:
  Implementing this feature as requested, 
 
 I don't think that a full specification of the polygonal selection tool
 exists, or am I missing something? I would very much appreciate if new
 tools or major modifications to existing tools could be discussed and
 specified before any code is written. Otherwise it's likely that changes
 will have to be rejected later, which is always frustrating for all
 parties.
 
 
 Sven
 
 

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


Re: [Gimp-developer] Polygonal Selection Tool Re: Bug 119646

2006-12-16 Thread David Gowers

On 12/16/06, Paul Gnuyen [EMAIL PROTECTED] wrote:


I don't know what full specifications look like for tools in the gimp
but here's a shot.

The Polygonal Selection Tool

Selects regions by connecting points clicked with line segments

Like polygonal select, shift on first click adds to selection, ctrl
subtracts, both intersect, alt moves.

Holding shift after the first point has been placed constrains line
segments to absolute angles divisible by 45.



What about ctrl for 15degree constraints, which is what is used by eg. the
Measure tool?

Otherwise, your spec looks okay to me.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Polygonal Selection Tool Re: Bug 119646

2006-12-16 Thread peter sikking
Paul Gnuyen wrote:

 I don't know what full specifications look like for tools in the gimp
 but here's a shot.

 The Polygonal Selection Tool

 Selects regions by connecting points clicked with line segments

There is a cost (complexity, usage of UI bandwidth) to every
tool that is added to GIMP.

May I ask why are you trying add a tool that does a small part of
what the path tool does, and then an automatic path-to-selection?

If you can tell me why it is worth the cost, I can help you
to make the specification better.

 --ps

 principal user interaction architect
 man + machine interface works

 http://mmiworks.net/blog : on interaction architecture



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


Re: [Gimp-developer] Polygonal Selection Tool Re: Bug 119646

2006-12-16 Thread Sven Neumann
Hi,

On Sat, 2006-12-16 at 01:52 -0800, Paul Gnuyen wrote:
 I don't know what full specifications look like for tools in the gimp
 but here's a shot.

Usually you would start by explaining what the tool is good for. Perhaps
explaining some typical usage scenarios.


Sven


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


Re: [Gimp-developer] Polygonal Selection Tool Re: Bug 119646

2006-12-16 Thread Paul Gnuyen
Bug 119646's priority is marked as high, I thought this was accepted as
desirable.

The polygonal select tool will act as the freehand tool, making quick
additions and subtractions easily done.  The path tool requires more
clicking and does not support the enabling/disabling of feathering or
antialiasing nor the ability to quickly make polygonal shape selections
that are at controlled angles.  People desire this tool as evidenced by
the many dupes of the enhancement request.  This is the way all other
major graphics programs work, so people are used to this tool and are
used to it's workflow.  

While one could argue, that the freehand tool, polygonal select, and
intelligent select could be merged into the same tool, polygonal
selection was added to the select shapes from image tool, and was
rejected on the basis that such functionality should not be hidden and
be easier to access. 



On Sat, 2006-12-16 at 13:01 +0100, peter sikking wrote:
 Paul Gnuyen wrote:
 
  I don't know what full specifications look like for tools in the gimp
  but here's a shot.
 
  The Polygonal Selection Tool
 
  Selects regions by connecting points clicked with line segments
 
 There is a cost (complexity, usage of UI bandwidth) to every
 tool that is added to GIMP.
 
 May I ask why are you trying add a tool that does a small part of
 what the path tool does, and then an automatic path-to-selection?
 
 If you can tell me why it is worth the cost, I can help you
 to make the specification better.
 
  --ps
 
  principal user interaction architect
  man + machine interface works
 
  http://mmiworks.net/blog : on interaction architecture
 
 
 

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


Re: [Gimp-developer] Polygonal Selection Tool Re: Bug 119646

2006-12-08 Thread Paul Gnuyen
Implementing this feature as requested, I find that there appears to be
no way for a tool to handle a double click event as it is eaten further
up.  Is handling double click impossible from a tool?  I currently have
the tool autocomplete when someone hits enter, but I'm sure double click
would be nicer.

Thanks!

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


Re: [Gimp-developer] Polygonal Selection Tool Re: Bug 119646

2006-12-08 Thread David Gowers

So, are you saying that you never receive events where event-type ==
GDK_2BUTTON_PRESS?
Is there any other way to implement the action you want to bind to
doubleclicking? No other tool uses doubleclicking, and consistency is often
preferable. Enter should probably be kept even if you do implement another
way of accessing autocomplete, since it is consistent with the workings of
the transform tools (and a few others?)
Personally, I would find some combo of modifiers+click more comfortable
than double clicking - I would expect when double clicking that 2 new points
would be added in the location of my clicks.


On 12/9/06, Paul Gnuyen [EMAIL PROTECTED] wrote:


Implementing this feature as requested, I find that there appears to be
no way for a tool to handle a double click event as it is eaten further
up.  Is handling double click impossible from a tool?  I currently have
the tool autocomplete when someone hits enter, but I'm sure double click
would be nicer.

Thanks!


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


Re: [Gimp-developer] Polygonal Selection Tool Re: Bug 119646

2006-12-08 Thread Sven Neumann
Hi,

On Fri, 2006-12-08 at 10:19 -0800, Paul Gnuyen wrote:
 Implementing this feature as requested, I find that there appears to be
 no way for a tool to handle a double click event as it is eaten further
 up.  Is handling double click impossible from a tool?  I currently have
 the tool autocomplete when someone hits enter, but I'm sure double click
 would be nicer.

All our tools are activated on Enter. Double-click doesn't exist in the
tool API. IMO it's way more important to have consistent tools, so
please stick with the default behaviour.


Sven


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