core-elements icon indicating copy to clipboard operation
core-elements copied to clipboard

Core-signal doesn't work with Dartium/Chromium.app from SDK 1.13 and above

Open gtaylor20 opened this issue 10 years ago • 3 comments

We have an application that uses core-signals for a couple of custom events. With Dartium/Chromium.app for SDK 1.12.2 and earlier, the signals work just fine. But, as soon as we upgrade to Dartium/Chromium.app for SDK 1.13 or above, they no longer work.

We really want to upgrade to the current release 1.13.2 so that we can use the new @JS() and JS-Interop features, but we also need these custom core-signals working.

I have posted a test program that is able to illustrate the problem at https://github.com/gtaylor20/incoming.git

gtaylor20 avatar Jan 22 '16 17:01 gtaylor20

Looks like the way custom events are handled changed (specifically the detail field).

jakemac53 avatar Jan 25 '16 16:01 jakemac53

You could try firing the event from JS as a temporary workaround, something like this:

 this.jsElement.callMethod(
    'fire', ['core-signal', new JsObject.jsify({'name': 'test-notification', 'data': now})]);

jakemac53 avatar Jan 25 '16 16:01 jakemac53

Is there any update on this issue? Thanks.

gtaylor20 avatar Feb 18 '16 13:02 gtaylor20