On Sat, 18 Dec 2010 13:04:15 +0000, Steve Fryatt wrote:

> On 17 Dec, Chris Young wrote in message
>     <[email protected]>:
> 
> > I'm confused.  When the pointer exits the text edit area, the edit gets
> > cancelled here.  Is this what you were seeing on the RISC OS build?
> 
> Not quite.  The RO treeview mouse drag code was setting the modifier key
> bits of the core mouse state whenever they were pressed, even if there was
> no mouse button activity, and passing the resulting non-clicks to
> tree_mouse_action().
> 
> If the 'click' was outside the textarea, tree_mouse_action() seems to end
> the edit unconditionally.  Looking at it, I'm not sure if it should be more
> choosy about this or not.

I've fixed it now, but it was more-or-less caused by the same bug
(sending mouse events when no butons were pressed)

Chris

Reply via email to