denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Darwin crash


From: Richard Shann
Subject: Re: [Denemo-devel] Darwin crash
Date: Thu, 22 Oct 2015 22:19:49 +0100

On Thu, 2015-10-22 at 15:20 -0500, Jeremiah Benham wrote:
> 
> 
> On Oct 22, 2015 3:52 AM, "Richard Shann" <address@hidden>
> wrote:
> >
> > On Wed, 2015-10-21 at 18:26 -0500, Jeremiah Benham wrote:
> > >
> > > On Wed, Oct 21, 2015 at 3:48 PM, Richard Shann
> > > <address@hidden> wrote:
> > [...]
> > >
> > >         You could send me your Default.shortcuts and/or the value
> of
> > >         cursor_num
> > >         on entry to the function assign_cursor().
> > >
> > >
> > >
> > > I uncommented this line in mousing.c:
> > > g_print("Storing cursor %d for state 0x%x in hash table %p\n",
> > > cursor_num, state, Denemo.map->cursors );
> > >
> > > and it printed this:
> > > Storing cursor 116 for state 0x104 in hash table 0x20ae1a0
> > > Storing cursor -1 for state 0x102 in hash table 0x20ae1a0
> > >
> > >
> > > I am attaching my Default.shortcuts.
> >
> > Well, I was right, the second entry in your Default.shortcuts is
> setting
> > a cursor for
> >        <cursor-binding>
> >           <state>102</state>
> >           <cursor>-1</cursor>
> >         </cursor-binding>
> >
> > and cursor number -1 is presumably out of range. Looking at the code
> I
> > see it has been causing trouble in the past and is suffering from
> > bit-rot. I've increasingly introduced hard-wired mouse operations
> over
> > the past few years (double-click for information, right-click for
> edit,
> > drag for selection extension ...) and trying out the interface to
> the
> > cursor shape just now in the Command Center it seems to be quite
> broken.
> >
> > I think it would be good to drop this stuff for release 2.0.0 as I
> don't
> > think it is being used.
> 
> Most macs come with one button mouse so they emulate right and middle
> by doing i think meta-4 + left mouse and ctrl or alt click. Can these
> be assigned in the command center?

yes, I think you can - I expect Gdk picks up this stuff and turns it
into GdkEvents all right. The stuff I'm intending to drop is setting the
pointer shape (what Gtk calls internally "the cursor", which is
confusing). So, for example, you used to be able to set a particular
pointer shape ("cursor") when dragging with the right-button with
CapsLock on. I'm pretty sure no-one has ever made practical use of it
though. 

I don't think there is a lot of scope for setting the mouse shortcuts
with so many of them being hardwired, but I'm not taking anything away
from that code. Again, I haven't heard of people actually doing this - I
think it is still the case that you can insert crescendi using
left-button-dragging and caps lock, but it doesn't seem to be useful in
practice.

Richard


> 
> Jeremiah
> >
> > Will you be able to merge into the stable-2.0.0 branch when I have
> > finished doing that? I realize it means yet more delay in getting
> this
> > release out, but I would like it to be a much more finished release
> than
> > earlier ones have been.
> >
> > Richard
> >
> >
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]