The International Simutrans Forum

Development => Bug Reports => Topic started by: uci on February 15, 2018, 10:29:52 AM

Title: [r8374] Depot filter display bug
Post by: uci on February 15, 2018, 10:29:52 AM
In train depot Cars item is missing. After changing filter to All, cars item appear but some lines of text are not well displayed (simutrans nightly build).

(https://i.imgur.com/JXpgZZE.png) (https://i.imgur.com/jl11b1N.png)

Could be related with this topic?
https://forum.simutrans.com/index.php?topic=17470.75 (https://forum.simutrans.com/index.php?topic=17470.75)
Title: Re: Depot filter display bug
Post by: Leartin on February 15, 2018, 10:59:10 AM
For the bugged out lines of text, it's most certainly the newly added sorting.

But for the record: Were there any factories on the map when you did this? In other words, could it be that no vehicle in "cars" would have been relevant, thus it was empty and not available?
Title: Re: Depot filter display bug
Post by: uci on February 15, 2018, 11:45:33 AM
But for the record: Were there any factories on the map when you did this? In other words, could it be that no vehicle in "cars" would have been relevant, thus it was empty and not available?

No factories on map. Is this a feature or a bug?
But Passenger Trains exist without cities on map.
I plan to add cities and factories later at custom locations.
Title: Re: Depot filter display bug
Post by: Leartin on February 15, 2018, 03:16:22 PM
I think the goods "none", "pax" and "mail" are always shown, since they always exist in a "normal" map. Each other type of good can easily be missing from a perfectly playable, healthy, 'normal' map. And for each other good, only the list of factories on the map needs to be checked, while for pax and mail, it would be factories, citybuildings, monuments, sights, townhalls,...

Whether it's a bug or a feature doesn't matter. How does the game cope with selecting "relevant" while IN the cars tab? That might cause an obvious bug. Otherwise, don't worry what to call it, a change can be suggested even to a working feature if you think it's wrong.
Title: Re: [r8374] Depot filter display bug
Post by: uci on February 16, 2018, 06:41:43 AM
Or Cars item should be displayed anyway, but without vehicles inside?
Title: Re: [r8374] Depot filter display bug
Post by: prissi on February 16, 2018, 12:28:41 PM
Why should it be displayed, if not needed. For the same logic, also the electric engines tabs are not shown if not needed.