Jump to content

Game is dropping mouse-clicks


Gurgel
  • Branch: Live Branch Version: Windows Pending

After some real frustration since the end of 2021, I think I have now identified what actually causes this:

1. Click (push and release) on a switch (e.g. an element of the priority scale)

2. Move away fast.

Now, not registering a click here is plain wrong. My guess is that the game or game engine somehow lumps the movement in with the click-release when it should not. That way, the release is registered after the move and hence no click is detected.

Please note that the same HID/USB mouse works fine with my movements in other games that have the same click mechanics, also when things get hectic. Also note that I have been using this mouse for a few years. Somehow ONI is messing things up here and this either turned up or got a lot worse with the release of the DLC end of 2021. Sometimes I have to click 3 times now to make it stick. That has happened before with ONI, but it seems a lot worse now and at least most of 2021 it worked fine.

 


Steps to Reproduce

See above

  • Like 2



User Feedback


I'm not sure if it's the same behaviour you're describing but I've observed than when clicking somewhere just before the game hangs (or when the click causes the game to hang) for a second or two as it does every now and then for a 1500+ colony, the mouse click is only registered when the game responds again and it registers the then current position of the mouse instead of the position where the click actually happened (does it make sense?!).

I've worked around this by not moving the mouse after the game hangs until the click is registered and the game is moving again...

With my machine, I just assumed it was performance related (even though is fairly high-end, it performed very poorly in the benchmark test from the forums)

Share this comment


Link to comment
Share on other sites

We haven't made changes to the input system in a while so it's strange that it only started happening since the end of 2021. I remember troubleshooting an input issue with my mouse and found it sometimes skipped events or produced multiple down events before up events. It could be a worn switch. The input system is capable of handling that scenario though.

  • Thanks 2

Share this comment


Link to comment
Share on other sites

I have noticed this problem some times with the base game, with the DLC enabled and explored most of the map this problem becomes more wide spread with me. I belief it's my under powered laptop that caný handel it. but it feels like movement of the mouse happens first and then the clicks.

Sometimes the games lags/hangs for like a half second, if i then pres and move the mouse after releasing the pres, the mouse will first move the cursor and the register the click.

I don't know if this is a game problem or a problem with not enough compute power on the system running the game, but i would like to see that pressing a mouse button is registert before registering moving the mouse.

  • Like 1

Share this comment


Link to comment
Share on other sites

On 1/19/2022 at 10:36 PM, EricKlei said:

We haven't made changes to the input system in a while so it's strange that it only started happening since the end of 2021. I remember troubleshooting an input issue with my mouse and found it sometimes skipped events or produced multiple down events before up events. It could be a worn switch. The input system is capable of handling that scenario though.

Not a switch. I replaced them about 2 months ago with new ones (Omron, same model). Maybe the performance overall just passed some threshold on my system.

Anyways, I think my motor-controls have adjusted. Have not seen this again in a weeks or so. Feel free to close this.

Edited by Gurgel

Share this comment


Link to comment
Share on other sites

I think there could be something going on with the cursor itself that creates the problem (at least when selecting buildings)

The cursor shouldn't change in game as you select to build and then change back if you close the building menu.

And it shouldn't change to a cross in and out of menu until you chose again or close the menu

Sometime the click delays. I'm not sure if it is connected to switching overlays or not but there is also instances that it doesn't register at all. I clicked in the middle of the "gas range" building two times until it actually clicked it.

If you click too quickly you can see the cursor changing back and forth between "default windows cursor"- "default ONI cursor" -"cross/placement ONI cursor"

I also noticed some other "misclicks" that can happen because there is a gap in between the buttons that is unclickable. There is also "click and drag" so if you click for too long the click turns to a drag and probably doesn't register

 

Edited by sakura_sk
  • Like 1

Share this comment


Link to comment
Share on other sites

So.. clicks: why wouldn't they register?

I recently uploaded a save from a bug report with 1500+ cycles (I don't have a save that long in dlc of my own to check) and I managed to have 3 consecutive non-clicks at which point I started blinking to understand if I actually clicked or not. So I just started clicking more to see what was going on. Yes, the game missed clicks at a point where frame rate drops (top left corner fps counter through steam)

But it's a 1000+ cycles save file so there could be several things going wrong after some time saving again and again, right?

So I created a new save file to test clicking. The game still missed clicks but frame rate didn't drop (...yet). The quicker way to see the missed clicks is clicking on circular motion. 
*The non-clicks happen when the info window closes. There are no right clicks so the window shouldn't close but it does close the exact time a click doesn't register properly.

If the same save file is reloaded (either from the main menu or just esc->menu->load), clicking repeatedly will drop ~5 frames, something that doesn't happen the first time the save is loaded.

 

And an update of my previous comment:

On 1/24/2022 at 11:31 AM, sakura_sk said:

you can see the cursor changing back and forth

That doesn't happen anymore in the current 498381 version.

  • Like 1

Share this comment


Link to comment
Share on other sites

I'm still running into this and I've been able to reproduce it consistently by clicking while my cursor is moving on a status window.  My mouse acts normally elsewhere.  Example-

 

Share this comment


Link to comment
Share on other sites

On 1/19/2022 at 2:36 PM, EricKlei said:

We haven't made changes to the input system in a while so it's strange that it only started happening since the end of 2021. I remember troubleshooting an input issue with my mouse and found it sometimes skipped events or produced multiple down events before up events. It could be a worn switch. The input system is capable of handling that scenario though.

This happens if you click while moving your cursor, even if you release while on the button; it's still an issue and I think it has been since the beginning.

Share this comment


Link to comment
Share on other sites

Huh, it isn't my mouse? I have the issue that sometimes clicks don't do anything while I hear the ingame sound for a click.

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...