Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

Examples are blank on macOS Mojave #4

Closed
ales-tsurko opened this issue Sep 4, 2019 · 4 comments
Closed

Examples are blank on macOS Mojave #4

ales-tsurko opened this issue Sep 4, 2019 · 4 comments

Comments

@ales-tsurko
Copy link

I tried these:

hello_world
demo_default
image_viewer

A window appears, but its content is blank.

Here a screenshot of hello_world:

Screen Shot 2019-09-04 at 22 49 02

When I click inside of the window, a context menu with the field "Reload" appears (not sure whether it's a bug or a feature — should I open an issue for this too?). I do reload, but the window stays blank anyway.

Screen Shot 2019-09-04 at 22 51 02

@alexislozano
Copy link
Owner

Blank content is definitely a bug. For the Reload button, it should appear only when the debug attribute of window is set to true, which is not the case by default. So please fill another issue for this one :)

I don't have a Mac so I won't be able to test it, but could you try to deactivate the css ? For that replace the styles variable at the line 73 of lib.rs by an empty string.

@ales-tsurko
Copy link
Author

For that replace the styles variable at the line 73 of lib.rs by an empty string.

Unfortunately it doesn't work.

@alexislozano
Copy link
Owner

Hi ! I used an OSX VM and I could debug the issue. It is linked to the JS invoke function. I created an "osx" branch where I patched the bug, it now works in my VM. Could you try it on real hardware please ?

@ales-tsurko
Copy link
Author

Yes, it works for me too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants