|
Re: RAP 1.4.2 TextCellEditor trouble on Firefox 12 [message #857482 is a reply to message #857365] |
Thu, 26 April 2012 15:16 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Oliver,
just did a quick check (Controls Demo) with RAP from CVS HEAD (1.5M6)
and TextCellEditor is working as expected in Firefox 12. Unfortunately,
I can reproduce the problem with 1.4.2 and Firefox 12. When a key
listener is attached on the server-side, in RAP 1.4.2 we cancel the DOM
event and afterwards generate it programmatically again if doit flag is
set to true (see AsyncKeyEventUtil.js). Probably, this programmatically
generated key event on the client does not work anymore in Firefox 12.
As we drop the support for key event doit flag in RAP 1.5:
367871: Remove support for doit=false for KeyEvents
https://bugs.eclipse.org/bugs/show_bug.cgi?id=367871
it is working there without a problem.
These are my thoughts without doing a deep investigation.
Best,
Ivan
On 4/26/2012 4:27 PM, Oliver Probst wrote:
> Hi,
>
> I've experienced some troubles with the RAP 1.4.2 TextCellEditors on
> Firefox 12:
>
> When selecting the cell, it is not possible to insert text any more. The
> org.eclipse.jface.viewers.TextCellEditor#text.keyListener
> is called, but
> org.eclipse.swt.widgets.Text#setText(String)
> will never be reached.
> Adding content by copy/paste is possible.
>
> On Firefox 11, this problem didn't occur.
> Is this a Firefox bug? A problem of RAP? Some implementation detail I
> missed?
>
> Regards, Oliver
>
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Re: RAP 1.4.2 TextCellEditor trouble on Firefox 12 [message #857521 is a reply to message #857482] |
Thu, 26 April 2012 16:04 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Maybe this is the answer of the question:
https://developer.mozilla.org/en/Using_the_Editor_from_XUL#Editor_event_handling
"Starting in Gecko 12.0 (Firefox 12.0 / Thunderbird 12.0) , the editor
refuses any events sent by unprivileged content."
On 4/26/2012 6:16 PM, Ivan Furnadjiev wrote:
> Hi Oliver,
> just did a quick check (Controls Demo) with RAP from CVS HEAD (1.5M6)
> and TextCellEditor is working as expected in Firefox 12.
> Unfortunately, I can reproduce the problem with 1.4.2 and Firefox 12.
> When a key listener is attached on the server-side, in RAP 1.4.2 we
> cancel the DOM event and afterwards generate it programmatically again
> if doit flag is set to true (see AsyncKeyEventUtil.js). Probably, this
> programmatically generated key event on the client does not work
> anymore in Firefox 12. As we drop the support for key event doit flag
> in RAP 1.5:
> 367871: Remove support for doit=false for KeyEvents
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=367871
> it is working there without a problem.
> These are my thoughts without doing a deep investigation.
> Best,
> Ivan
>
> On 4/26/2012 4:27 PM, Oliver Probst wrote:
>> Hi,
>>
>> I've experienced some troubles with the RAP 1.4.2 TextCellEditors on
>> Firefox 12:
>>
>> When selecting the cell, it is not possible to insert text any more. The
>> org.eclipse.jface.viewers.TextCellEditor#text.keyListener
>> is called, but
>> org.eclipse.swt.widgets.Text#setText(String)
>> will never be reached.
>> Adding content by copy/paste is possible.
>>
>> On Firefox 11, this problem didn't occur.
>> Is this a Firefox bug? A problem of RAP? Some implementation detail I
>> missed?
>>
>> Regards, Oliver
>>
>
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04967 seconds