Research window prevents units being selected #4651
Description
type_bug
| by -Philosopher-
When you have the research window open there are occasions when it won’t let you select units and if you try, the computer automatically deselects the selected units.
To trigger this, open the research window then close the sidebar but not the bottom bar so the screen looks like this:
Then try to select a group of units.
In this example the eight twin-machinegun units are in group "1". Neither pressing "1", clicking a unit, double-clicking a unit (to select the group), ctrl-s, nor ctrl-z etc. work.
More info here: http://forums.wz2100.net/viewtopic.php?f=1&t=12714&start=105#p137443 (see No.2 in the list). This issue may also occur when the unit production window is open in the same configuration.
Fairly high priority bug. It is common to play with the research window open to ensure new technologies are researched as fast as possible.
Issue migrated from trac:4651 at 2022-04-16 12:55:48 -0700
Activity
wzdev-ci commentedon Oct 10, 2017
Forgon commented
I failed to reproduce the problem. Could you tell me more precisely what to do (perhaps even make a short video)? Are you certain the problem occurs in the master branch?
wzdev-ci commentedon Oct 11, 2017
-Philosopher- commented
Yes, definitely occurs in master branch. I hit it all the time.
Not sure how to describe it more precisely (and don't know how to make a video, sadly).
Just realised the more info link is wrong - apologies, it should be http://forums.wz2100.net/viewtopic.php?f=6&t=13753
The other guy who reports the same issue has slightly more convoluted instructions:
"To trigger this open the research window then close the side bar but not the bottom bar so the screen looks like this.
(Image above)
Then try to select a group of units the first time it should select the group of units as expected but if you then try to select a different group or reselect the same group of units it won’t let you and you will be unable to select any units until you close the research window fully. This doesn't seem to happen on every level and sometimes it does this with the unit build screen open in the same configuration as in the screen shot of the research window."
I'm not sure if that's correct, but it is true it doesn't happen consistently 100% of the time - just frequently. I have a suspicion you may have to get to the point where the research window is arranged as above by selecting a new technology to research (which has the effect of closing the 2nd window on the left). I'm not certain of this though. If you play for a while the the research window open as shown above, you're bound to hit it eventually however.
wzdev-ci commentedon Oct 12, 2017
Forgon commented
This bug is likely a duplicate of #4229.
wzdev-ci commentedon Oct 12, 2017
-Philosopher- commented
Yes. I think so.
I also looked into it further myself. It can reliably be reproduced by:
This is consistent with:
"hit F2 to get the research screen
research the wall
press 2 for group 2
the highlight blinks on then off, group is left unselected"
from #4229
wzdev-ci commentedon May 5, 2018
andrvaut uploaded file
ticket 4651.zip
(47.6 KiB)debug=all
wzdev-ci commentedon May 5, 2018
andrvaut commented
video:
https://youtu.be/DjjSI-21spo
wzdev-ci commentedon May 5, 2018
Forgon changed priority from
normal
toblocker
wzdev-ci commentedon May 5, 2018
Forgon changed blocking which not transferred by tractive
wzdev-ci commentedon May 5, 2018
Forgon changed blockedby which not transferred by tractive
wzdev-ci commentedon Aug 27, 2018
Berserk Cyborg changed priority from
blocker
tomajor