Reworking the Dispatcher Window How could we make it more intuitive?
#1
Posted 29 May 2023 - 12:35 AM
I've been interested in contributing code to Open Rails for some time now, and I've just got around to setting up the development environment. I think it would be a nice exercise for me to try to improve the Dispatcher window; not too easy but also not too difficult with Visual Studio's Designer interface.
Therefore, I would like to know if such a contribution is justified or would be appreciated; if yes, what are your pain points while using the Dispatcher window? Thank you!
#2
Posted 29 May 2023 - 01:03 AM
Yes: everything, you've told about dispatcher's window is true for me.
Buttons and checkboxes, arranged stair-like, and text, not fitting Windows's edges upsets.
Also, setting too small scale of map and moving it with mouse could result game's crash.
Especially - with many moving trains across the route's area.
Since some version, if dispatcher window is active, no keyboard commands sent to ORTS for train controlling, but once it inactive - it is hidden under 3-d viewer's window - so can't be seen. This means, it can't overlay 3d viewer, with keyboard input focus being kept in game.
And more, please look there, for me to not repeat:
http://www.elvastowe...post__p__297312
#3
Posted 29 May 2023 - 01:19 AM
#4
Posted 29 May 2023 - 04:49 AM
#5
Posted 29 May 2023 - 05:23 AM
Amtrak115, on 29 May 2023 - 04:49 AM, said:
I didn't know about that; I've just checked it out. I'm wondering why it did not make it into the official OR codebase... Will it be adopted at some point in the future?
#6
Posted 02 June 2023 - 11:31 AM
#7
Posted 02 June 2023 - 11:41 AM
#8
Posted 03 June 2023 - 12:20 AM
Weter, on 02 June 2023 - 01:18 PM, said:
Thank you, that makes sense!
---
I've run into a visual problem: when moving the mouse cursor over a control that specifies a certain cursor type that is not the default one (e.g., a LinkLabel), the cursor flickers violently, alternating between the two cursor types. I've traced back the problem to this line of code, which reverts the cursor to the default type every render frame. GitHub tells me it was added by Carlo back in 2017 in the scope of mouse control for 3D cabs. Carlo, is this line of code still necessary? Or would it be possible to restrict its influence to the main RunActivity window?
#9
Posted 19 August 2023 - 07:09 AM
What changed:
- The Dispatch and Timetable tabs are merged
- Cleaner, less cluttered interface
- Reworked colours (in progress)
- The Dispatcher window informs dispatchers of their role in multiplayer sessions
- Achieve feature parity with the old Dispatcher window
- Localisation. Can a developer kindly help me with this? I don't know how to add support for localisation in my new Dispatcher window
- Persist preferences. I need some help with this too. Is there a preferred way to persist settings in OR that do not go in the Options window? Should they be saved to the registry?
- Update documentation
The reworked Dispatcher window:
#10
Posted 19 August 2023 - 11:22 AM
Looky1173, on 19 August 2023 - 07:09 AM, said:
"for-unstable" label now added, so please would users try it out and provide feedback.