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
Menu.Item type="Quit" throwing error #18
Comments
What's the full output ? |
Closing due to inactivity. Feel free to open it if the issue persists. |
@kusti8 I'm guessing there is some error in native code (hence no error details).
log:
code: <App>
<Menu label="File">
<Menu.Item type="Item" onClick={() => this.open()}>Open</Menu.Item>
<Menu.Item type="Item" onClick={() => this.save()}>Save</Menu.Item>
<Menu.Item type="Quit"></Menu.Item>
</Menu>
<Window title="Notes" size={{w: 500, h: 500}}>
<Box>
<TextInput onChange={text => this.setState({text})} multiline={true}>{this.state.text}</TextInput>
</Box>
</Window>
</App> |
@parro-it This looks like some crash in native code (libui-node) ? My attempts at using a debugger on Windows weren't successful. |
It seems. Did you already try it with the 0_1_0 branch? I will otherwise... |
Yes, exact same error. |
proton-native calls |
I will try it tonight... I developed the new version on seven, I didn't yet tested it on 10. |
Proposed fix: Removing line proton-native/src/components/MenuBar.js Line 83 in 7741dd2
Would this have other side effects? |
It shouldn't. Cause then when it's iterating through the props, it just
won't set that.
…On Sat, Mar 17, 2018, 12:25 PM Niklas Mischkulnig ***@***.***> wrote:
Proposed fix: Removing line
https://github.com/kusti8/proton-native/blob/7741dd2fccbce773ce4bea709fef30b2773e82d5/src/components/MenuBar.js#L83
Would this have other consequences?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJW73GyYQZQQtARo_tuycU2Wqy4gYjT8ks5tfTkFgaJpZM4SJnBo>
.
|
On macOS, libui prints an error before it quits:
Not on Windows, I created an issue: andlabs/libui#301. (Any idea why proton-native works fine on macOS?) |
As I said in that other issue, on Windows libui prints things to the debug log, which is your only real course of action on a |
The quit menu item is throwing an error. Using windows 10.
Here is the error
The text was updated successfully, but these errors were encountered: