Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-10-03 Thread Michael Ross
On 10/3/07, Hans Breuer <[EMAIL PROTECTED]> wrote: SNIP > > But even the old format/version worked similar to what was described > earlier in this thread. > > Hans SNIP Sorry, I forgot to snip the extraneous material from the last post. I tried to use the same trick editing the menurc

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-10-03 Thread Hans Breuer
On 01.10.2007 16:48, Michael Ross wrote: > Thanks for the reply. > > 0.95-pre7 > That version got obsoleteted multiple times. When the final version gets released please don't use (or at least don't complain about -preX versions ;-)). There have not only been 0.95 (final), 0.95.1 but also the cu

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-10-03 Thread Michael Ross
Thanks for the reply. 0.95-pre7 I will append the menurc I have. Unedited by me. I am not very knowlegable, so I just download the windows installer versions and run them. If they don't work I just revert to the earleir version that did. Perhaps I have some menurc from an earlier installation

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-10-01 Thread Ondrej Mikle
What version of Dia are you using? The shortcut editing works since 0.95. Also, I noticed that the Shift+Alt+key are not working for me, I'll try to find out why. But changing e.g. Shift+Alt+l to Alt+l makes the line shortcut work. So does Ctrl+Shift+key. O. Mikle Michael Ross wrote: > I mention

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-10-01 Thread Michael Ross
I mentioned this before but didn't get a reply. My menurc contains no entries of the type. None. And adding the line of text you describe has no effect on function of the ptrogram. Mike On 9/29/07, Ondrej Mikle <[EMAIL PROTECTED]> wrote: > > Lars Clausen wrote: > > On Thu, 2007-09-27 at 16:07

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-10-01 Thread Michael Ross
Without doing an extensive review of entering a text block replace or edit mode, I think I am accustomed to both. In many cases the edit starts near where I place the cursor, in others (MySQL CC for example) I have to click several times to toggle through the various modes and VARCHAR is differen

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-30 Thread Sameer Sahasrabuddhe
On 9/28/07, Sameer Sahasrabuddhe <[EMAIL PROTECTED]> wrote: > > Rename F2 Switch the selected item's label into edit mode, >allowing user to type in a new name. > > All I am saying is that the "action" here is very very close to > editing the text in a text object. Repla

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-29 Thread Lars Clausen
On Sat, 2007-09-29 at 23:27 +0200, Ondrej Mikle wrote: > Lars Clausen wrote: > > > > Then why did the unpatched version work for me? Different version of > > GTK? > > No, as I wrote before, I didn't get right the syntax of menurc file the > first time (since it is not documented anywhere, thoug

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-29 Thread Ondrej Mikle
Lars Clausen wrote: > On Thu, 2007-09-27 at 16:07 +0200, Ondrej Mikle wrote: >> Lars Clausen wrote: >>> You haven't moved this call with your patch, AFAICT. >> Yes, I haven't. With my patch, it could be moved and the functionality >> would be preserved. That's because gtk_accel_map_add_entry won't

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Michael Ross
I am reading this with my left hand placed how I seem to do it without thinking. (I am sure this goes back more than ten years to my ProE days) My ring finger is on the tilde just a small distance from the Esc and my thumb is on the space bar. If I was editing a series of text boxes I wouldn't ha

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Sameer Sahasrabuddhe
On 9/28/07, Lars Clausen <[EMAIL PROTECTED]> wrote: > I have no problem with having F2 be one way to enter text edit mode. My > worry about "second click" is that it will be problematic to > double-click for properties without accidentally entering text mode all > the time, or vice-versa. Yeah .

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Lars Clausen
On Fri, 2007-09-28 at 18:26 +0200, Hans Breuer wrote: > On 28.09.2007 17:46, Lars Clausen wrote: > > Hmm... Gnome HIG says that Alt-Enter should be > > the default shortcut for Properties. F2 is supposed to be Rename which > > works fine in some cases, when the text is a name, but a pure text > >

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Hans Breuer
On 28.09.2007 17:46, Lars Clausen wrote: > On Fri, 2007-09-28 at 12:01 +0530, Sameer Sahasrabuddhe wrote: >> On 9/27/07, Michael Ross <[EMAIL PROTECTED]> wrote: >>> My early experiences with computing were with CAD programs. Pre-Windows >>> there was AutoCad (DOS) and a number of UNIX based system

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-28 Thread Lars Clausen
On Thu, 2007-09-27 at 16:07 +0200, Ondrej Mikle wrote: > Lars Clausen wrote: > > On Tue, 2007-09-25 at 20:52 +0200, Ondrej Mikle wrote: > >> I send a patch that makes the saving and loading of accel keys work. The > >> accel keys are stored in the old menurc file ($HOME/.dia/menurc), but > >> the

RE: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Lars Ruoff
ge and development of dia > Subject: Re: Patch for Delete key behavior (for dia-0.96.1) > > On Fri, 2007-09-28 at 12:01 +0530, Sameer Sahasrabuddhe wrote: > > On 9/27/07, Michael Ross <[EMAIL PROTECTED]> wrote: > > > > > > My early experiences with computi

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Marcel Toele
Hi guys, I'm new to this list. I'm not into the full conversation, but clicking in a empty location of a diagram is what I'd expect to exit any editing mode. 2007/9/28, Lars Clausen <[EMAIL PROTECTED]>: > > On Fri, 2007-09-28 at 12:01 +0530, Sameer Sahasrabuddhe wrote: > > On 9/27/07, Michael Ro

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Lars Clausen
On Fri, 2007-09-28 at 11:34 -0400, Michael Ross wrote: > Inkscape works fine to me. Explorer is only used when I name or > rename files and folders. Never heard of Nautilus. It's the default file manager in Gnome. You may not have noticed the name. > Explorer isn't serving the same purpose and

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Lars Clausen
On Fri, 2007-09-28 at 12:01 +0530, Sameer Sahasrabuddhe wrote: > On 9/27/07, Michael Ross <[EMAIL PROTECTED]> wrote: > > > > My early experiences with computing were with CAD programs. Pre-Windows > > there was AutoCad (DOS) and a number of UNIX based systems. Heavy users of > > CAD, which has a

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Michael Ross
Inkscape works fine to me. Explorer is only used when I name or rename files and folders. Never heard of Nautilus. Explorer isn't serving the same purpose and so if form follows function then it may not be the best model. Seems to me that Inkscape is closer to Dia in that we want blocks of text

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Sameer Sahasrabuddhe
On 9/28/07, Hans Breuer <[EMAIL PROTECTED]> wrote: > The second related thing where both programs agree is that *double > clicking* of a selected text object does enter text editing. And clicking > outside of the object ends it. Does that mean that double clicking on a text object will work differ

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-28 Thread Hans Breuer
On 27.09.2007 18:14, Lars Clausen wrote: > On Thu, 2007-09-27 at 12:00 -0400, Michael Ross wrote: >> >> On 9/27/07, Hans Breuer <[EMAIL PROTECTED] > wrote: >> >> At least Esc would confuse me if it is the key to leave text >> editing mode >> without also reverting t

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-27 Thread Sameer Sahasrabuddhe
On 9/27/07, Michael Ross <[EMAIL PROTECTED]> wrote: > > My early experiences with computing were with CAD programs. Pre-Windows > there was AutoCad (DOS) and a number of UNIX based systems. Heavy users of > CAD, which has a very strong mouse or stylus use component like Dia, would > quickly find

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-27 Thread Lars Clausen
On Thu, 2007-09-27 at 12:00 -0400, Michael Ross wrote: > > > On 9/27/07, Hans Breuer <[EMAIL PROTECTED] > wrote: > > At least Esc would confuse me if it is the key to leave text > editing mode > without also reverting the last text edit. > > Because other program

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-27 Thread Michael Ross
On 9/27/07, Hans Breuer <[EMAIL PROTECTED]> wrote: > > > At least Esc would confuse me if it is the key to leave text editing mode > without also reverting the last text edit. Because other programs have used Esc to abort things, I will often hit it as one of several last resorts with programs I

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-27 Thread christian . ridderstrom
On Thu, 27 Sep 2007, Hans Breuer wrote: Therein lies the rub: How would you move the basic TextObject, then? It only has its text as clickable area. Just give it handles and let even non-resizable objects be moved by them. Maybe even the one connection it has is enough to move it? Or as in

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-27 Thread Ondrej Mikle
Lars Clausen wrote: > On Tue, 2007-09-25 at 20:52 +0200, Ondrej Mikle wrote: >> I send a patch that makes the saving and loading of accel keys work. The >> accel keys are stored in the old menurc file ($HOME/.dia/menurc), but >> the file has different format (the glib key-file - >> http://library.g

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Hans Breuer
On 27.09.2007 08:02, Lars Clausen wrote: > On Wed, 2007-09-26 at 22:40 +0200, Hans Breuer wrote: >> This is what I tried to suggest, though not in the right thread but in this >> one. It may be possible to enter and leave explicit text editing mode just >> like it currently is: by clicking once int

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Lars Clausen
On Wed, 2007-09-26 at 22:40 +0200, Hans Breuer wrote: > This is what I tried to suggest, though not in the right thread but in this > one. It may be possible to enter and leave explicit text editing mode just > like it currently is: by clicking once into the text. But we need to > support two selec

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Lars Clausen
On Wed, 2007-09-26 at 23:51 -0400, Michael Ross wrote: > I just loaded up .96-7 and it is not doing GUI stufff well at all. You mean just keyboard shortcuts or more than that? > I see that a lot of the shortcuts are now listed as Shift+Control > +Whatever very few actually work, it would be easi

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Michael Ross
I just loaded up .96-7 and it is not doing GUI stufff well at all. I see that a lot of the shortcuts are now listed as Shift+Control+Whatever very few actually work, it would be easier to list the few that do work. An odd selection of the old combinations work, I didn't do a comprehensive study.

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Hans Breuer
On 26.09.2007 21:21, Lars Clausen wrote: > On Wed, 2007-09-26 at 20:07 +0530, Sameer Sahasrabuddhe wrote: >> Just to clue people in, the proposed solution is a actually a "text >> editing" mode, that over-rides all Dia key bindings, not just Delete. >> When you are editing the text in some object,

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-26 Thread Lars Clausen
On Tue, 2007-09-25 at 20:52 +0200, Ondrej Mikle wrote: > Hans Breuer wrote: > > A patch to fix the broken user editable shortcuts should give you the same > > workaround but not break the use of Delete for diagram editing for other > > users. It would have a much bigger chance for inclusion. > > >

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Lars Clausen
On Wed, 2007-09-26 at 20:07 +0530, Sameer Sahasrabuddhe wrote: > On 9/26/07, Ondrej Mikle <[EMAIL PROTECTED]> wrote: > > Maciej Jaros wrote: > > > BTW I think that a nicer workaround would be to have a working Delete > > > key for removing any objects unless some text is active. If some text is > >

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Maciej Jaros
Dnia 26-09-2007 o godz. 17:22 Michael Ross napisał(a): I would like to use the Esc key to activate the Modify function.  Is that possible?Also, Alt-E does not work for Ellipse (I could use Ctrl-C), and Alt-T does not work for Text (Shift-T would be OK since Ctrl-T is taken). Alternately, you coul

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Mark Dexter
FYI, I added all of this information (about editing text, short-cut keys, etc.) to the documentation this summer, but I don't think it has been incorporated yet. Mark Dexter On 9/26/07, Michael Ross <[EMAIL PROTECTED]> wrote: > I would like to use the Esc key to activate the Modify function. Is t

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Michael Ross
I would like to use the Esc key to activate the Modify function. Is that possible? Also, Alt-E does not work for Ellipse (I could use Ctrl-C), and Alt-T does not work for Text (Shift-T would be OK since Ctrl-T is taken). Alternately, you could teach a man to fish instead of merely giving him one

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Sameer Sahasrabuddhe
On 9/26/07, Ondrej Mikle <[EMAIL PROTECTED]> wrote: > Maciej Jaros wrote: > > BTW I think that a nicer workaround would be to have a working Delete > > key for removing any objects unless some text is active. If some text is > > active (a cursor is visible) then use delete normally and Ctrl+Delete

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Ondrej Mikle
Maciej Jaros wrote: > Before you all start killing for this ;). You can change the behaviour > of Dia for yourself. It is quite simple though not documented anywhere > on Dia pages (it should!). > > Just run (under Windows): > notepad %USERPROFILE%\.dia\menurc > > Change: > ; (gtk_accel_path "/

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-26 Thread Maciej Jaros
Hello. Before you all start killing for this ;). You can change the behaviour of Dia for yourself. It is quite simple though not documented anywhere on Dia pages (it should!). Just run (under Windows): notepad %USERPROFILE%\.dia\menurc Change: ; (gtk_accel_path "/display-actions/EditDelete" "D

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-25 Thread Sameer Sahasrabuddhe
On 9/26/07, Michael Ross <[EMAIL PROTECTED]> wrote: > I must admit, I am incredulous. Who knew there was a way to delete the > letter to the right? Me neither! Been using backspace in Dia all my life. > What is this about Ctrl-Delete? I had no expectation until reading this > conversation that

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-25 Thread Sameer Sahasrabuddhe
Hi, > > I hate to be "sez who" guy on this, but why is Delete considered "more > > natural"? > http://bugzilla.gnome.org/show_bug.cgi?id=97899 > http://bugzilla.gnome.org/show_bug.cgi?id=105081 > > Looks like at least Lars and Alan are saying so. Ok, looked at those bugs. > BTW: next > time inst

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-25 Thread Michael Ross
On 9/25/07, Hans Breuer <[EMAIL PROTECTED]> wrote: > > > >>> Those are just minor nuisances, but fixing the delete key behavior > makes > >>> working with Dia much more comfortable. > > > > I believe there are far too many users who would agree with this > statement. > > > I don't wanna believe, I

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-25 Thread Hans Breuer
On 25.09.2007 14:51, Sameer Sahasrabuddhe wrote: > On 9/22/07, Hans Breuer <[EMAIL PROTECTED]> wrote: > >> On 22.09.2007 00:42, Ondrej Mikle wrote: >>> I send a patch for the Delete key behavior in Dia. It is remapped to >>> Ctrl+Delete (or remap it some other suitable shortcut), since a lot of >>

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-25 Thread Ondrej Mikle
Just a minor fix for the patch - consting a static string + one typedef. Ondrej Mikle wrote: > Hans Breuer wrote: >> A patch to fix the broken user editable shortcuts should give you the same >> workaround but not break the use of Delete for diagram editing for other >> users. It would have a much

Re: Patch for Delete key behavior (for dia-0.96.1) - save/load accels

2007-09-25 Thread Ondrej Mikle
Hans Breuer wrote: > A patch to fix the broken user editable shortcuts should give you the same > workaround but not break the use of Delete for diagram editing for other > users. It would have a much bigger chance for inclusion. > I send a patch that makes the saving and loading of accel keys wo

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-25 Thread Sameer Sahasrabuddhe
On 9/22/07, Hans Breuer <[EMAIL PROTECTED]> wrote: > On 22.09.2007 00:42, Ondrej Mikle wrote: > > > > I send a patch for the Delete key behavior in Dia. It is remapped to > > Ctrl+Delete (or remap it some other suitable shortcut), since a lot of > > people find it annoying that pressing Delete whi

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-23 Thread Ondrej Mikle
Hans Breuer wrote: > On 22.09.2007 00:42, Ondrej Mikle wrote: >> I send a patch for the Delete key behavior in Dia. It is remapped to >> Ctrl+Delete (or remap it some other suitable shortcut), since a lot of >> people find it annoying that pressing Delete while editing text deletes >> the object. >

Re: Patch for Delete key behavior (for dia-0.96.1)

2007-09-22 Thread Hans Breuer
On 22.09.2007 00:42, Ondrej Mikle wrote: > Hello. > > I send a patch for the Delete key behavior in Dia. It is remapped to > Ctrl+Delete (or remap it some other suitable shortcut), since a lot of > people find it annoying that pressing Delete while editing text deletes > the object. > > It seems