{"action":"created","issue":{"url":"https://api.github.com/repos/mellinoe/ImGui.NET/issues/76","repository_url":"https://api.github.com/repos/mellinoe/ImGui.NET","labels_url":"https://api.github.com/repos/mellinoe/ImGui.NET/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/mellinoe/ImGui.NET/issues/76/comments","events_url":"https://api.github.com/repos/mellinoe/ImGui.NET/issues/76/events","html_url":"https://github.com/mellinoe/ImGui.NET/issues/76","id":373951386,"node_id":"MDU6SXNzdWUzNzM5NTEzODY=","number":76,"title":"Broken input when built in release mode (Mac)","user":{"login":"Revolt64","id":42483196,"node_id":"MDQ6VXNlcjQyNDgzMTk2","avatar_url":"https://avatars3.githubusercontent.com/u/42483196?v=4","gravatar_id":"","url":"https://api.github.com/users/Revolt64","html_url":"https://github.com/Revolt64","followers_url":"https://api.github.com/users/Revolt64/followers","following_url":"https://api.github.com/users/Revolt64/following{/other_user}","gists_url":"https://api.github.com/users/Revolt64/gists{/gist_id}","starred_url":"https://api.github.com/users/Revolt64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Revolt64/subscriptions","organizations_url":"https://api.github.com/users/Revolt64/orgs","repos_url":"https://api.github.com/users/Revolt64/repos","events_url":"https://api.github.com/users/Revolt64/events{/privacy}","received_events_url":"https://api.github.com/users/Revolt64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-25T13:36:56Z","updated_at":"2018-10-25T14:40:28Z","closed_at":null,"author_association":"NONE","body":"Hello @mellinoe \r\n\r\nI was having an issue where input (mouse clicks) was not working correctly in my project when built in release mode. I'm using MonoGame.\r\n\r\nThe clicks only semi-fire (and only if you rapid-click) and the ImGui display objects don't react to the click events when they do (they show the pressed state but nothing happens after).\r\n\r\nI decided to see if I could re-create the issue using your XNA sample and experienced the same behaviour. When built in debug mode the problem does not exist.\r\n\r\nI have attached the modified sample (to use the Nuget versions of ImGui.net & MonoGame) to demonstrate the issue. \r\n\r\nWhen building for release mode, I used the following command:\r\n\r\n```dotnet build -c release -r osx-x64```\r\n\r\nI included a built binary in the example that you can run also.\r\n\r\n[ImGui.NET.SampleProgram.XNA.zip](https://github.com/mellinoe/ImGui.NET/files/2515086/ImGui.NET.SampleProgram.XNA.zip)\r\n\r\n[Here's a video demonstrating the issue](https://youtu.be/dHQmGMsAgqw) (note the mouse clicks vs the input being received and not performing the button action).\r\n\r\n- ImGui version: `1.65.0-beta1`\r\n- MonoGame version: `3.7.0.7`\r\n\r\nCould you look into this please as it's a big blocker for my project.\r\nThank you\r\n"},"comment":{"url":"https://api.github.com/repos/mellinoe/ImGui.NET/issues/comments/433077852","html_url":"https://github.com/mellinoe/ImGui.NET/issues/76#issuecomment-433077852","issue_url":"https://api.github.com/repos/mellinoe/ImGui.NET/issues/76","id":433077852,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzA3Nzg1Mg==","user":{"login":"mellinoe","id":8918977,"node_id":"MDQ6VXNlcjg5MTg5Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/8918977?v=4","gravatar_id":"","url":"https://api.github.com/users/mellinoe","html_url":"https://github.com/mellinoe","followers_url":"https://api.github.com/users/mellinoe/followers","following_url":"https://api.github.com/users/mellinoe/following{/other_user}","gists_url":"https://api.github.com/users/mellinoe/gists{/gist_id}","starred_url":"https://api.github.com/users/mellinoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mellinoe/subscriptions","organizations_url":"https://api.github.com/users/mellinoe/orgs","repos_url":"https://api.github.com/users/mellinoe/repos","events_url":"https://api.github.com/users/mellinoe/events{/privacy}","received_events_url":"https://api.github.com/users/mellinoe/received_events","type":"User","site_admin":false},"created_at":"2018-10-25T14:40:27Z","updated_at":"2018-10-25T14:40:27Z","author_association":"OWNER","body":"I will assume this is the same as #63. The fix should be pretty simple, and I'll try to implement and share that tonight. In the meantime, you can try to follow what native imgui is doing [here](https://github.com/ocornut/imgui/blob/master/examples/imgui_impl_sdl.cpp#L213) to see if the problem gets fixed."}}
{"actor":{"display_login":"mellinoe"}}