question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Broken input when built in release mode (Mac)

See original GitHub issue

Hello @mellinoe

I was having an issue where input (mouse clicks) was not working correctly in my project when built in release mode. I’m using MonoGame.

The 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).

I 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.

I have attached the modified sample (to use the Nuget versions of ImGui.net & MonoGame) to demonstrate the issue.

When building for release mode, I used the following command:

dotnet build -c release -r osx-x64

I included a built binary in the example that you can run also.

ImGui.NET.SampleProgram.XNA.zip

Here’s a video demonstrating the issue (note the mouse clicks vs the input being received and not performing the button action).

  • ImGui version: 1.65.0-beta1
  • MonoGame version: 3.7.0.7

Could you look into this please as it’s a big blocker for my project. Thank you

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
mellinoecommented, Oct 27, 2018
1reaction
mellinoecommented, Oct 27, 2018

I was just waiting for confirmation that the fix worked. I’ll put out a new version tonight.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Broken input when built in release mode (Mac) · Issue #76
Hello @mellinoe I was having an issue where input (mouse clicks) was not working correctly in my project when built in release mode....
Read more >
If your Mac doesn't respond to key presses
If no keys work on your Mac laptop's built-in keyboard ... Click Edit next to Input Sources on the right, then turn on...
Read more >
Keyboard and trackpad are unreponsive? - MacBook Pro ...
I have a MacBook Pro 2015 on High Sierra. When I boot with Ubuntu trackpad and keyboard works perfectly. When I reboot with...
Read more >
Cannot debug net6.0-macos Apps - Developer Community
When I hit debug, the following error is shown in the Terminal: Possible reasons for this include: * You misspelled a built-in dotnet...
Read more >
What to do if microphone is not working on MacBook
Open System Settings (in Applications, from Dock or Apple menu, via Siri, or using Spotlight Search). · Click on Sound. · Select Input...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found