Attached a patch to the issue for a proposed fix.

I just added a check to let COMMAND+<keys> and CONTROL+<keys> keyboard
events bubble out of the DataGrid.

Tested it monkey-patching on the attached sample app and on another
internal complex app, it seems to be working fine and I haven't noticed any
side effects so far.


2013/10/3 Cosma Colanicchia <cosma...@gmail.com>

> First info: it also happens with Flex 4.6.
>
> Second info: I think I found the problem.
>
> The related keyboard event are supposed to bubble up to the
> NativeApplication, that then redispatch them (through
> performKeyEquivalent). In an editable DataGrid, however, the DataGridEditor
> is blocking the propagation of the keyboard events (DataGridEditor:1698).
>
> IMO, the blocking of propagation of keyboard events should let pass the
> CTRL+C / COMMAND+C, etc. in order for them to bubble up and be managed.
>
>
>
>
>
>
>
> 2013/10/3 Cosma Colanicchia <cosma...@gmail.com>
>
>> Thank you Justin,
>>
>> I've just looked in the DataGrid and DefaultGridItemEditor class
>> hierarchies and I have not found any obvious reasons for the issue (no
>> particular keyboard event listener that could prevent the normal behavior).
>>
>> My bet is on the TLF classes under the RichEditableText.. I have a
>> Windows VM to do some checks, but unfortunately I haven't a development
>> setup there, so it's not easy to do some step-through debugging.
>>
>> (the Main.air attached to the issue was compiled with an SDK built from
>> the develop branch two weeks ago).
>>
>>
>>
>>
>> 2013/10/3 Justin Mclean <jus...@classsoftware.com>
>>
>>> Hi,
>>>
>>> Reopened, not being on windows I'm not going to b able to test/fix this.
>>> Anyone?
>>>
>>> Thanks,
>>> Justin
>>
>>
>>
>

Reply via email to