Page 1 of 1

Fleet overlay

Posted: Fri Jan 12, 2018 3:57 am
by defaultuser
This is a problem I have from time to time. In the image below, there are actually two fleets. They apparently aren't close enough together see both when you click on the top one. But nothing I can do will allow me to select the one that's under it. So in this case I'd like to change the destination of both fleets to somewhere else. But I can't get the larger fleet selected.
ol.jpg
ol.jpg (14.83 KiB) Viewed 2156 times

Re: Fleet overlay

Posted: Fri Jan 12, 2018 10:34 am
by Oberlus
If zooming in doesn't work, and there is not a more elegant GUI solution, I guess it would be good to be able to click-n-drag-select fleets.

Re: Fleet overlay

Posted: Fri Jan 12, 2018 11:04 am
by Geoff the Medio
A workaround is to use the objects window to select the fleet. Double-clicking a fleet in the objects list should select it in the fleets window. You can also add / sort by columns for the next system a fleet is moving to, or the nearest system to the fleet.

Re: Fleet overlay

Posted: Sat Jan 13, 2018 12:09 am
by dbenage-cx
Agree this can be annoying, could also use hotkey (alt + f / g, or ctrl + f / g).

In addition to group selection, another thought is to add fleets within a small radius to fleet window when selecting from map.

Re: Fleet overlay

Posted: Sun Jan 14, 2018 4:51 pm
by Dilvish
dbenage-cx wrote:In addition to group selection, another thought is to add fleets within a small radius to fleet window when selecting from map.
Yes, I think this is the way to go (and to avoid weirdness if two ships are technically close due to being near their destination system, but actually approaching on different starlanes, I would only include fleets that are either (i) in the same system or (ii) on the same starlane and within something like 5-10 uu, probably best dependent on zoom level, maybe even have the threshold calculated from zoom level and fleet button size.

Re: Fleet overlay

Posted: Fri Jan 19, 2018 1:03 am
by defaultuser
Sorry, I was away. Thanks for the tips. I'll mark the thread for next time it comes up.

Re: Fleet overlay

Posted: Sun Jan 21, 2018 9:01 am
by LGM-Doyle
I started a branch to address this last fall, in the manner Dilvish described. I will look into completing it.

Re: Fleet overlay

Posted: Thu Jan 25, 2018 10:13 am
by LGM-Doyle
I've pushed a pull request, PR that closely implements Dilvish's suggestion.

Fleets at or departing from systems should be unchanged and are grouped by system and empire.

When a moving fleet button is selected the fleets from all touching fleet buttons on the same starlane are included in the fleet window. This may include fleets from differing empires. All moving fleets that are not on a starlane are handled separately in the same manner.

The PR also changes the tracking behavior of the fleet window, so that it will try to follow moving fleets provided that they stay close together. Otherwise it will close the window.