This request is with the intention of further improving the experience on mobile devices.
Currently there is something similar for toolbars, which only shows one at a time and prevents the screen from filling up.
However, I think it would be better if the same principle were applied to some windows such as trees, terrain objects, urban buildings...
Currently a complete chaos of windows can be generated like this:
Screenshot_2024-05-20-16-02-31-593_com.simutrans.jpg
One could switch tree and ground_info off. Ground_info is off by default but maybe tree info should be off too for Android.
However, it is not so easy to find unspecified windows of groundobj. It would be possible to show only one info window at all, but this means you will never be able to see the second object if there is more than one on a tile.
Certainly, do not take into account the gloss of objects on a single tile.
Maybe a button that allows you to change to the next object in the list? Then the window would not close, it would only change the information to that of the other object.
Clicking more than once in the same tile is also harder on Android, because you usually need to move/minimize the previously open window.
Ideally, we could come up with a new design that doesn't make it that cumbersome. Like, for example, a window with tabs.
Quote from: prissi on May 20, 2024, 11:07:41 PMbut this means you will never be able to see the second object if there is more than one on a tile.
A possible solution would be to click on the same tile again, then the window information updates and changes to that of the next object in the tile, then click on the same tile as many times as necessary to cycle through all the objects (trees) and the window displays its respective information.
Although I don't know how viable this could be.
In r11339, if only_single_info=0 is set, then all halt and convois on a tile will open together. If no halt of convoi or label is there, all the other windows will open. The function tries to tile the windows around the click position.
ON Android, this is the default if not overridden by a simuconf.tab setting.
However, one still has to close all the windows (or using the back button to close all of them).
Quote from: prissi on July 13, 2024, 02:05:42 PMIn r11339, if only_single_info=0 is set, then all halt and convois on a tile will open together. If no halt of convoi or label is there, all the other windows will open. The function tries to tile the windows around the click position.
ON Android, this is the default if not overridden by a simuconf.tab setting.
However, one still has to close all the windows (or using the back button to close all of them).
I like that you can now see multiple object windows on a single tile.
But this makes them more redundant I'm afraid.
Is there a way for this new option to combine all the windows into one? So a [Next] button would allow you to switch between windows without opening more, what do you think about that?.
No almost impossible with the current window system and a hassle even for larger tablets with lots of space. But the back button on Android closes the windows one by one. So you can just close them quickly.
Quote from: prissi on July 16, 2024, 03:24:19 AMNo almost impossible with the current window system and a hassle even for larger tablets with lots of space. But the back button on Android closes the windows one by one. So you can just close them quickly.
In reality, there is already something similar with the current window system, and the depots already do just that.
Here using the right and left arrows on the title bar moves us between windows without opening a newIMG_20240720_185302_989.jpg one.
No its closing the current and opening a new one. You just do not see it. This is possible because the depots come from the depot list with a fixed order and same size.
Infowindows could be the city, a label, factories, attractions, building, pedertians, convois, traffic lighets ... and depots. Due to how the widows are handled, getting the next window of an object of a tile is possible but not trivial and the size will certains totally different.
Some of them (i.e. depots, cities, labels) have already a next button.