Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

[FIXED] Selection box sometimes appears after left click

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [FIXED] Selection box sometimes appears after left click Page: [1]
Login
Message << Older Topic   Newer Topic >>
[FIXED] Selection box sometimes appears after left click - 11/23/2019 8:08:03 AM   
Trainzak

 

Posts: 9
Joined: 4/2/2019
Status: offline
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

< Message edited by Dimitris -- 4/19/2020 10:45:09 AM >
Post #: 1
RE: Selection box sometimes appears after left click - 11/23/2019 8:54:20 AM   
stolowski

 

Posts: 52
Joined: 12/2/2017
Status: offline
It's not only you. I can confirm and reported it shortly after release as well.

(in reply to Trainzak)
Post #: 2
RE: Selection box sometimes appears after left click - 11/23/2019 11:49:27 AM   
xan2622


Posts: 67
Joined: 6/12/2011
Status: offline
I also noticed this selection box.

(in reply to stolowski)
Post #: 3
RE: Selection box sometimes appears after left click - 12/15/2019 3:09:54 PM   
Dimitris


Posts: 12507
Joined: 7/31/2005
Status: offline
This is extremely hard to fix because we cannot reproduce it consistently.

_____________________________


(in reply to xan2622)
Post #: 4
RE: Selection box sometimes appears after left click - 12/15/2019 3:23:22 PM   
stolowski

 

Posts: 52
Joined: 12/2/2017
Status: offline
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.

(in reply to Dimitris)
Post #: 5
RE: Selection box sometimes appears after left click - 12/15/2019 10:38:45 PM   
Zanthra

 

Posts: 101
Joined: 2/6/2019
Status: offline
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.

< Message edited by Zanthra -- 12/16/2019 2:30:04 AM >

(in reply to stolowski)
Post #: 6
RE: Selection box sometimes appears after left click - 12/24/2019 3:36:54 AM   
Rory Noonan

 

Posts: 2462
Joined: 12/18/2014
From: Melbourne, Australia
Status: offline
Logged for investigation.

0013532

_____________________________


(in reply to Zanthra)
Post #: 7
RE: Selection box sometimes appears after left click - 4/19/2020 10:44:51 AM   
Dimitris


Posts: 12507
Joined: 7/31/2005
Status: offline
This has been fixed in one of the recent public updates. If you see it happening again please give us a shout.

_____________________________


(in reply to Rory Noonan)
Post #: 8
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Tech Support >> [FIXED] Selection box sometimes appears after left click Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.168