-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ApplicationEvents not Firing #13
Comments
I doubt that ApplicationEvents completely don't work, since they're used in quite some apps such as Just Type, email etc as per https://github.com/search?p=1&q=org%3Aopenwebos+ApplicationEvents&type=Code. It could be that some of them (such as luna-systemui) aren't working. Then again I could be wrong of course. |
I built a tester app so we can see the missing application events. In a quick test, the launch and menu events are firing in LuneOS, but not the relaunch and screen events.
Note LuneOS is missing actual rotation events (but firing a spurious rotation event at startup) and the relaunch events. |
I'm really not sure where these are handled, I don't see any hooks in Open webOS code for these events in any of the browser related stuff, so it seems it's fully Enyo Framework somehow. |
Rotation events seem to be working in newer builds. ApplicationRelaunch is still an issue. |
Describe the bug
Enyo supports ApplicationEvents that bubble domEvents to apps. These are used for detecting screen rotation and application relaunches. These ApplicationEvents are not be fired in LuneOS (of if they're fired, apps aren't receiving them), which significantly impact the functionality of some apps.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
As documented here, application events should be raised to any app with an
ApplicationEvents
kind.http://sdk.webosarchive.com/docs/docs.html#dev-guide/enyo/application-events.html
Additionally, it should be noted that the originating DOM event (window.onresize) is not raised to the app either. The problem may be at the webkit level?
Smartphone (please complete the following information):
Additional Context
ApplicationEvents are implemented in
dom/ApplicationEvents.js
https://sdk.webosarchive.com/api/index.html#dom/ApplicationEvents.js
The text was updated successfully, but these errors were encountered: