FS#5451 - Do not overlap vehicle view window with child windows (orders, timetable, details)

Attached to Project: OpenTTD
Opened by Rainer F├╝hrer (RegnerusDux) - Sunday, 27 January 2013, 10:10 GMT
Type Feature Request
Category Vehicles
Status New
Assigned To No-one
Operating System Windows
Severity Low
Priority Normal
Reported Version 1.2.3
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


If I want to maintain a special vehicle with the orders/details buttons in the vehicle view window the new windows with orders and details always cover the view window and its buttons.
I have to close or move this window to get access to the buttons again (start/stop, goto depot, force turn, etc.). See screenshot 'current_situation.jpg'.

A better way would be to position the new window close beside the vehicle view window.

I tested it and changed the parent window class of the relevant window description (e.g. _timetable_desc in timetable_gui.cpp)
from WC_VEHICLE_VIEW to WC_NONE. See screenshot 'proposed_situation.jpg'.

The only disadvantage is that the new window sometimes is opened far away from its vehicle view window.

This task depends upon

Comment by andythenorth (andythenorth) - Saturday, 28 December 2013, 09:57 GMT
The window shuffling is annoying, but provides better handling of smaller screens.