[FIXED] Selection box sometimes appears after left click (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support



Message


Trainzak -> [FIXED] Selection box sometimes appears after left click (11/23/2019 8:08:03 AM)

Sometimes when I left click on the map, a selection box appears from top left corner to the mouse pointer. It stays there until I left click again... Does this happen only to me?

Apparently I cannot post any links or images, so here is the best I can do:

postimg . cc / 18q00LfP




stolowski -> RE: Selection box sometimes appears after left click (11/23/2019 8:54:20 AM)

It's not only you. I can confirm and reported it shortly after release as well.




xan2622 -> RE: Selection box sometimes appears after left click (11/23/2019 11:49:27 AM)

I also noticed this selection box.




Dimitris -> RE: Selection box sometimes appears after left click (12/15/2019 3:09:54 PM)

This is extremely hard to fix because we cannot reproduce it consistently.




stolowski -> RE: Selection box sometimes appears after left click (12/15/2019 3:23:22 PM)

Yes, it's very elusive; I experience it tens of times during my games, yet I don't see a pattern - clicking randomly on various units reporudces it from time to time, but there is no correlation with unit side or whether it's a group or single unit... Neither it is related to where the unit is drawn on the screen.... Pretty random as far as I can tell.




Zanthra -> RE: Selection box sometimes appears after left click (12/15/2019 10:38:45 PM)

I experimented a bit with this, and I have a theory. I think that the selection box is being updated on a mouse move event. The mouse move events are rate limited, for example when making a selection, when dragging the selection box, if you stop the mouse suddenly, the selection box won't match the current mouse position, as the last few movements were not sent as events. The mouse movement event related to updating the selection box is unregistered when the left mouse button is released. I think what is happening is that if a mouse movement event enters the event queue after the left mouse button up, but before the left mouse button up unregisters the mouse move event, then the bug occurs. Basically when the left mouse button is released, the game unregisters the mouse move event, and makes the selection, then resets the start and end points of the selection box to 0,0, then after that happens a queued mouse move event, if queued before the mouse up event fires, can update the end point of the selection box to the current mouse position.

It's also possible that there is a shared mouse move event used by the game, and that it checks the button status of the mouse when fired to determine what it should be doing. If it is checking the status of the mouse buttons at the time when the event is queued, rather than when the event is processed, then it can still cause the same problem. If it is queued after the left mouse button up event, and the left mouse button up event makes the selection and resets the selection box corners, and it is processed as if the left mouse button was down due to that being the state when it was queued, then it can still set the end corner of the selection box.

PS: Actually, the second possible scenario isn't really possible. It would require that a mouse up event for the left mouse button be queued before a mouse move event with the left mouse button down. Unless there is some sort of queue priority which would put the mouse up event first, it should not happen.




Rory Noonan -> RE: Selection box sometimes appears after left click (12/24/2019 3:36:54 AM)

Logged for investigation.

0013532




Dimitris -> RE: Selection box sometimes appears after left click (4/19/2020 10:44:51 AM)

This has been fixed in one of the recent public updates. If you see it happening again please give us a shout.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.390625