News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

[Android] Single window mode on some redundant objects

Started by Yona-TYT, May 20, 2024, 08:10:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT




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

prissi

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.

Yona-TYT

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.

Roboron

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.

Yona-TYT

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.

prissi

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).

Yona-TYT

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?.

prissi

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.

Yona-TYT

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.

prissi

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.