News:

Simutrans Forum Archive
A complete record of the old Simutrans Forum.

Schedule windows improvements

Started by prissi, October 21, 2020, 01:44:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

prissi

The schedule windows seems totally different from the other dialogues. Also the line management window is a monster. Hence I propose the following:

Schedules are now accessed under a "schedule" tab in the convoi window. No extra window popping off. Make editing schedule much easier.

Lines get their own window, with schedule/statistics/stations/convoi tabs. So one can easily compare lines next to each other.

The line management window will become just a list of lines.

The will reduce the clutter of windows on the screen and remove the annoying extra scrolling when editing a schedule, because this window unfailingly pops up on the stop one wants to add ...

Any comments?

Dwachs

Sounds good. The pop-up schedule window is still needed for schedule editing  at depots. Maybe this can be changed as well?
Parsley, sage, rosemary, and maggikraut.

Roboron

I like suggested changes, specially:

Quote from: prissi on October 21, 2020, 01:44:06 PMSchedules are now accessed under a "schedule" tab in the convoi window. No extra window popping off. Make editing schedule much easier.

Having to move/resize all those extra windows to edit a schedule is annoying, so this change is appreciated.

Mariculous

Quote from: prissi on October 21, 2020, 01:44:06 PMSchedules are now accessed under a "schedule" tab in the convoi window. No extra window popping off.
I like the tabs generally, but I am unsure about one point. When will changes made to the schedule list be applied?
It feels a little unfamiliar to apply these when selecting a different tab. Requiring to close the window doesn't feel like a good option as well.
An explicit apply (and discard/reset) button might be an option and it would solve an isue I face frequently. When I make some changes to a line, I then notice I do not want to apply these changes, as I messed it up. As soon as I close the window, these changes will be applied. The only way to discard these is killing simutrans or  the network connection, which usually is not a good option as well.

Quote from: prissi on October 21, 2020, 01:44:06 PMThe line management window will become just a list of lines.
To me, this is fine, but bear in mind some players use rather unpreciese line names and might use the list to identify their lines.
Not sure if that's a reason to keep the stop list or some basic informations in that window. In any case, the vehicle list can be kicked out.

Anyways, this change is appreciated.

ceeac

I support the apply/discard schedule idea. Another nice-to-have might be to support drag&drop for schedule entries to re-arrange them. Also, IMO the Minimum load and month wait time can be duplicated for each schedule entry so you can see and set them all at once. See my masterpiece of art in the attachment. ;)

prissi

Since I wanted to add departure times too, I highly doubt this will work out with the available space.

Mariculous

Departure times?
You mean finally schedules arriving in standard?
That's one of only 3 features I really miss in standard!

prissi

SInce many people play Simutrans like a railwys, I finally think this should be there. It is useless for profit maximisation though.

prissi

Here is a patch with the requested apply and reverts buttons too. But this gives too many buttons ... alternatively the schedule woudl be updated when leaving the tab or closing the window.

I wonder it there shoudl be a seperator below the four top buttons. Or if these four "dangerous" buttons should go rather to the bottom below the schedule.

I think one could remove the follow button, since there is a follow button in the title bar. Also one could remove the servers line since the same information is in the schedule tab.

Any comment appreciated.

Yona-TYT

What if we replace [remove] with an "X" at each of the waypoints? , same as seen in the save games list.

===============================

Another idea is you can add a filter that replaces the 3 buttons (add, insert, remove), and combines them in a drop-down list.

ceeac

Quote from: prissi on November 02, 2020, 02:45:17 PMI think one could remove the follow button, since there is a follow button in the title bar. Also one could remove the servers line since the same information is in the schedule tab.
I agree; this would also free up space for the schedule tab. Maybe do it like this: Single click centers the main view on the current position of the vehicle, and double click additionally follows the vehicle?

Quote from: prissi on November 02, 2020, 02:45:17 PMBut this gives too many buttons
What about just having "add stop" and "apply/revert schedule"? The latter two can be disabled until the schedule is actually changed. Schedule entries can be added as normal, then drag&dropped to the right position, and removed via an "X" button for each schedule entry like Yona-TYT suggested.
Personally, I do not like that schedule entry conditions are (still) separate from the actual schedule entry, since one has to click on each entry to see its wait time. What about something similar to this Factorio blog post, i.e. multi-line schedule entries? However, I do not know how feasible this is with the current UI code.

prissi

Drag and drop is a little tough to handle, at least with the GUI code as it is. But I thought too that adding and inserting should go away, probablz just inserting after current mark and up and down arrows next to delete to move entries around.

Easier is a combobox or a button that changes text. I think I will go for that right now

Yona-TYT

I think the [remove now] button should not be there, it makes more sense to me than this in the details tab.

prissi

But withdraw and and remove buttons should be close together. And withdraw sets no loading, which is a schedule action ....

Yona-TYT

My intention is to prevent the player from mistakenly pressing the remove now button, however I'm not sure what would happen if this happens in the new interface.

I suggest that when you click the button it is held down (similar to the "go to depot" button) and the changes are applied when changing tabs or closing the vehicle window.

Another interesting idea (I think) is to keep the button pressed for a few seconds until the vehicle is removed.

prissi

The same happens as when you press this before.

r9355 has the current state, so you can test it. It worked for me for many situations, but it may be still very buggy.

Next is a proper line window with schedule, charts, convoilist and haltlist ...

Andarix

mmh

gui/schedule_list.cc line 84

Quotesort_type_c.new_component<gui_scrolled_list_t::const_text_scrollitem_t>( translator::translate("Free capacity"), SYSCOL_TEXT) ;

Can the existing text Free Capacity be used?

Andarix

r9381

probably a typo



After accepting the stop, the list is reduced very much.


prissi

Thanks, I still need to add the texts to the translator.

ahakuoku

We have a few concerns about this feature.
- Forced departure of vehicles on standby or stopping a vehicle once it is no longer able to organize its operation.
- The "Removed now!" Button is placed in a place where you are likely to accidentally press it.
- The operation of the route editing screen is complicated and may be confusing to beginners.
We are concerned about these three points.

prissi

Forced departure (no load) should work as before. Maybe "Forced departure" and "Stop" should get their own buttons. Before stopping was a left over side effect of the ancient system, and was not needed since the schedule windows operated on a copy of the actual schedule since ever.

Yes, the remove now button. I was thinking of leaving it with the convoi, but the withdraw button (which is the remove now on empty vehicles) should be rather with the schedule, because "no load" is a schedule operation and will cancel withdraw.

The line list is like the convoy list. You click on an entry and the detail opens. It is different from before, but it is now consistent to all other list windows in Simutrans, where a click opens the respective detail window.
I will try to improve usability by trying to open the new line window next to the line list windows.

THLeaderH

#21
I saw the nightly r9382. When the traffic arrangement is needed, such as the case that vehicles are deadlocked, how can I change the stop_index of the vehicles? Even though I selected a specific schedule entry in the schedule editing window called from a depot window, I could not change the next stop of the convoy.

As of schedule editing, the entries of "add", "insert", and "remove" are switched by pressing the single button. However, I think this is not user friendly, since it is quite doubtful that players can immediately recognize that they should press the "Add" button to switch to "insert" or "remove" mode. IMO, "Add", "Insert", "Remove" buttons should be shown separately as they are in 122.0 stable.

For the line list window, I think that at least the stops of the line should be shown in the line list window. Players often omit the naming of lines, thus showing only line names may cause confusion. In 122.0 stable, the stops of the selected line are shown below the line list. So players can understand the route only with moving the cursor. However, with the current design, players have to click the line, and select the stops tab with a mouse, just to grasp the route of the line. I think this can be pretty annoying.

To be honest, I think there is no need to change the design of line list window. Although your changes increase the consistency in window design across the other windows, making the line list window too simple can cause the problem as I described above.

Andarix

r9381

If you open a line in the line list and close the window, you cannot open the same line again.

Andarix

Another Problem

The halt cursor remains after a line is created. If you then click, Simutrans closes without comment.

prissi

First, the old window had to go, since it does not scale with the theme.

@THLeaderH
Interesting, the stop display was for me the most useless ever.

About the mode, probably a combo box is better.

The rest are bugs, which I will address.

Dwachs

Schedule editing in the convoi-window does not work (apply / insert stop does not set the tool).

The crash should be fixed in r9392.
Parsley, sage, rosemary, and maggikraut.

prissi

Should work better with r9397.

Also the line from line list will open right to the line window. Changing next destination worksa now again for convois too.

The only thing missing is the stop function and maybe a drive on button, which just skips the current waiting and advances the schedule to the next entry. Maybe this should get a "Cruise contro" tab, with the other four buttons from the schedule tab?

Dwachs

In line list: with r9400 one can reopen line window after closing it
Parsley, sage, rosemary, and maggikraut.

Vladki

Hello, I have tried stndard after long playing extended, and found out that setting the convoy schedule is quite buggy (in nightly). Is there some bigger change just in progresss? Or should I test and report specific problems? Also, previously the retire "button" meant  "unload and go to depot"; while now it is "unload and sell on spot" which was "withdraw" button. Or at least it is so in extended... Some consistency would be nice.

prissi

Retire is unload and sell when empty. So if you retire an empty convoy, it is sold on the spot. Maybe extended changed that, but there is the button "Go to depot" which does what you want.

And please report problems, since my quick test had everything working for me.

Vladki

Quote from: prissi on November 19, 2020, 12:27:19 PM
Retire is unload and sell when empty. So if you retire an empty convoy, it is sold on the spot. Maybe extended changed that, but there is the button "Go to depot" which does what you want.
But "go to depot" does not unload before...

Quote
And please report problems, since my quick test had everything working for me.
I'll check with latest nightly

prissi

But you will still get reimbursed for delivery to the depot ...

Vladki


Vladki

Quote from: prissi on November 19, 2020, 12:27:19 PMAnd please report problems, since my quick test had everything working for me.

In the schedule list - the new line button is grayed out. It does not matter if I select "All" tab, or some specific transport mode tab. Also there is no way to delete unused schedule. When changing schedule, one has to "apply" schedule, which was not needed before.

Also having the appy/insert/delet switch as a button is counter intuitive (at least for me). A combo box is IMHO more suitable. Clicking a button I would expect to do something (eg. it is fine for copy backwards to be a button), but not just switch mode of what is happening. But this may be just because I'm used to the way this is done in extended.

I'm used to create schedule when buying the first convoy for it. So, go to depot, buy a new vehicle, click on schedule, click on stops, adjust loading times, and in the combo box on top promote to line. Hmmm, line dialog opens with everything as I want. Fine, close it. Close the vehicle's schedule. Still "not assigned to line". Check the combo box, select the new line, but some other schedule appears. Close. In the depot the new line cannot be chosen from the combo box.

I admit, some of the issues may be connected with the fact that I'm not used to click "apply" after each schedule modification. Is that something new?

prissi

#34
The apply button was requested to allow to revert a schedule. However, it is entirely possible to apply the schedule upon closing/changing the tab.

The combobox is indeed better. In the new lien window, I used combobxes as well.

deleting line is in the line window under the convoi tab.

The rest works, if one presses apply.