Build a building (eg barracks) on one side of the map (eg the far west)
Build a different type of building (eg archery range) on the other side of the map (eg the far east, or a least a whole “screen” away).
Add both the barracks, and the archery range, to control group 1.
Scroll out of view of both the barracks and the archery range. Make sure they are NOT selected.
Press 1, then press TAB, then press F5 (this is assuming default hotkey setup). You will go to a random building, but there is only a 50% chance that you will go to the building that has been sub-selected via TAB.
Please fix this, as (for example) giving commands, or setting gather points, only applies to the sub-selected via TAB units/buildings in a group, and not the whole group, so camera view should be consistent with this. Thank you
Good catch. I suspect this bug could be related to something I already reported: The inability to use keyboard grid keys to activate secondary panel on selection groups that have mixed soldier types (i. e. archers + ele archers).
DEVS, please consider both when looking for solutions. Thank you.
Just checked it now and it does go to the closest building, regardless of what the sub-selection is. This seems ok for when “ALL(Count)” is selected, but doesn’t seem right for when there is a sub-selection that you have tabbed through to. This is because A) Setting a gather point only sets it for the sub-selection, and B) issuing commands (eg move) only issues those commands to the sub-selection (both of which are what I would expect), so it is not consistent. The sub-selection should be treated as the real selection in all situations rather than just in some, imo.
(The story is different with units, as it goes to the middle of nowhere, but that is already reported as a known bug).
In addition, adding units to a control group ignores any sub-selection. Ie if you have a barracks and archery range selected, then tab through to the barracks, then press Shift+4, it adds both the archery range and barracks to control group 4. This doesn’t feel right either.
I don’t know what’s going on behind the scenes, but there are efficient tricks to keep track of min and max of some property of a group of things with O(log(n)) cost of adding / removing from the group (called “Order Statistics”, lesser known data structures)