I notice in that Oxide code that the result of "display = eglGetDisplay(EGL_DEFAULT_DISPLAY)" is not checked for failure and is then used in the call to "eglInitialize(display, NULL, NULL)" which goes on to fail because the display is invalid.
Basic fundamental error checking is missing in that code and it fails catastrophically as a consequence. The code works on the phone where the "native" default display compiled in to the EGL library is Mir and it works on the desktop using an X11 server because the default display compiled in to the EGL library is X11. In the case of desktop without X11 like the Unity 8 preview session, it just fails. Forcing the default display through the use of environment variables does not seem to have any effect. Note that this code can be bypassed by setting the environment variable OXIDE_FORCE_FORM_FACTOR=tablet (or phone, or desktop) but subsequent efforts to get an EGL surface also fail. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1307709 Title: webbrowser-app does not start in Unity 8 preview session To manage notifications about this bug go to: https://bugs.launchpad.net/webbrowser-app/+bug/1307709/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
