Opened 3 years ago
Closed 3 years ago
#6060 closed defect (fixed)
Unit production panel button lag.
Reported by: | nani | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 25 |
Component: | UI – In-game | Keywords: | click lag production panel GUI |
Cc: | Patch: |
Description
When clicking a production panel button while holding shift to produce a multiple of the batch there is a lag of about half a second (500 ms aprox) between consecutive updates. Given the use case of this feature is to use it when clicking very fast (4 to 5 clicks a second) the lag is very noticeable and forces the player to double check every time it changes, making you lose focus from the flow of main game during battle at critical times and making double click mistakes as it doesn't update fast enough.
This shouldn't happen as the panel is totally independent of simulation and network and in theory should update at the next render frame.
Expectation: Make it as fast/responsive as when the batch size changes when doing scrolling batch size changes.
Change History (4)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
I think so. I don't remember having this problem in alpha 23.
Probably has something to do with passing things from and to guiInterface.
comment:3 by , 3 years ago
Tested on A23, this isn't a regression. A25 changes the MP turns to 200ms which I think hides the problem better.
comment:4 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Tried with the current svn revision 25463 and it I can't reproduce it anymore. I close the ticket as fixed.
Is this a regression? I thought we had code to handle that