Re: [Gimp-developer] On-canvas text-editing GSoC project - report

2008-08-21 Thread Daniel Eddeland
On Wed, Aug 20, 2008 at 1:10 PM, Alexandre Prokoudine 
[EMAIL PROTECTED] wrote:

 On Tue, Aug 19, 2008 at 11:57 PM, Daniel Eddeland wrote:

  *I have added a text-cursor, mouse-actions and graphical feedback for
   text-selections, so the text-tool would feel as ergonomic as possible
   like other text applications.

 From what I remember about a 1,5 weeks old SVN checkout. Ctrl+A didn't
 work for selecting all text and Ctrl+Shift+Arrows for selecting whole
 words didn't work either. Is it already fixed or on radar?

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


Alexandre:
Ctrl+A does not work yet, but I'm almost positively sure that it will in the
future work to select the whole text while in text-editing mode. A few
bindings are implemented currently (Shift+right/left for instance) but just
a few. Bindings which are already used by gimp (such as Ctrl+X and Ctrl+A)
are called before the text-tool's input function, so they have to be handled
in another way. How exactly is not fully decided yet, there are some code
architecture decisions to be made about that. Remember that the text-tool is
not complete yet, so if you find a feature missing right now it's possible I
just haven't had the time yet. School's started for me so I'm taking a short
break from programming (hopefully not more than a couple of days or weeks).
Thanks for checking out the branch

David:
Yes, I'm the very same person, and I remember you too. I like pixel art but
I haven't done much in a long time. If you want to discuss more and maybe do
another collaboration you can mail me off-list.
___
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


Re: [Gimp-developer] On-canvas text-editing GSoC project - report

2008-08-20 Thread gg
On Wed, 20 Aug 2008 01:51:35 +0200, David Gowers [EMAIL PROTECTED] wrote:

 The UI team seem to think variation in right-click menu is confusing,
 but IMO several tools would benefit from it (for example, when you're
 painting fullscreen, you might want to change the FG color without
 needing to exit fullscreen to use one of the dockables.)

-- 

Hi,

I thought the basic function of a right-click menu was a context menu. By  
definition it should change to suit the context. Maybe the point about  
confusion is if it changes in what is basically the same context, like  
your example, where you are basically doing the same task but with a  
different window size.

I suppose it could be conceivable to add some extra menu entries below  
what is already there but existing entires must be constant.

I can think of several programs (XFE for one) that moves things around and  
it is very disrupting , I'm never sure where the paste entries is , for  
example.

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


Re: [Gimp-developer] On-canvas text-editing GSoC project - report

2008-08-20 Thread Alexandre Prokoudine
On Tue, Aug 19, 2008 at 11:57 PM, Daniel Eddeland wrote:

 *I have added a text-cursor, mouse-actions and graphical feedback for
  text-selections, so the text-tool would feel as ergonomic as possible
  like other text applications.

From what I remember about a 1,5 weeks old SVN checkout. Ctrl+A didn't
work for selecting all text and Ctrl+Shift+Arrows for selecting whole
words didn't work either. Is it already fixed or on radar?

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


Re: [Gimp-developer] On-canvas text-editing GSoC project - report

2008-08-19 Thread David Gowers
Hello,

On Wed, Aug 20, 2008 at 5:27 AM, Daniel Eddeland [EMAIL PROTECTED] wrote:
 Google Summer of Code Project: Improve the text-tool in GIMP

 By Daniel Eddeland (Skalle)

 In Gimp 2.4 and earlier versions, the text tool uses an external
 editor window, which is inconvenient in several ways.  The aim of my
 project was to support on-canvas text editing, so that the user would
 be able to act directly on the image, instead of using a separate
 window.  The code has been placed in a special SVN branch, called
 soc-2008-text, which anybody who has SVN access can download and
 build.

 What have I done?

 *The first thing I did was to port the text-core in gimp to use
  PangoCairo functions instead of Freetype2.  This port will be helpful
  for some work in the future which will make the text-tool faster.
 *After porting I started working on on-canvas text editing. That
  means you'll be able to type, delete, copy and paste text on-canvas
  instead of using the text-dialog. I have added settings to tools to
  give them the ability to grab the keyboard input (which is obviously
  needed if you want to type).

 With these settings the tool can block
  the input from the rest of the interface, so that typing a P will
  add a P to the current text object instead of switching to GIMP's
  pencil tool. Input is possible typing normally on a regular keyboard,

I am really impressed with that...

  but also using alternate input methods like SCIM.
 *I have added a text-cursor, mouse-actions and graphical feedback for
  text-selections, so the text-tool would feel as ergonomic as possible
  like other text applications.
 *I have added a context-sensitive menu which appears when you
  right-click on the text-area. It has options such as copy/cut/paste
  and changing input methods.

And this.
GIMP really needs more time put into UI infrastructure such as this.

The UI team seem to think variation in right-click menu is confusing,
but IMO several tools would benefit from it (for example, when you're
painting fullscreen, you might want to change the FG color without
needing to exit fullscreen to use one of the dockables.) and we do not
have any alternatives currently -- some of the HUD-style propositions
on gimp-brainstorm.blogspot.com look good, but will require much more
extensive use of Cairo by GIMP than there currently is.

Skalle? Are you the same Skalle that I ('neota') once did a CPC
pixel art collab/exchange with ?
(ie. same person as
http://www.wayofthepixel.net/pixelation/index.php?PHPSESSID=7ab74a703bfc3ae3032d9d6d3f16e69ftopic=514.msg6714#msg6714?)

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