OpenTTD

Tasklist

FS#6585 - Industry chain window's "Link to Smallmap" button keeps toggling off

Attached to Project: OpenTTD
Opened by James (james1101) - Monday, 10 July 2017, 23:38 GMT
Last edited by Grzegorz Duczyński (adf88) - Thursday, 31 August 2017, 06:58 GMT
Type Patch
Category Interface
Status Closed
Assigned To No-one
Operating System Windows
Severity Medium
Priority Normal
Reported Version 1.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The industry chain window's Link to Smallmap button is not working as expected. When I zoom the small map ,use the small map to scroll the viewport, or toggle the "Show height" button, all three actions toggle off the link to smallmap button.

Steps to Reproduce:
1. Open the Industry Chains window and Smallmap window.
2. Toggle the "Link to Smallmap" button.
3. Use the small map to pan the main viewport. The "Link to Smallmap" button toggles to off.
3b. Toggle the "Link to Smallmap" button.
4. Zoom the smallmap. The "Link to Smallmap" button toggles to off.
4b. Toggle the "Link to Smallmap" button.
5. Toggle the "Show Height" button in the smallmap window. The "Link to Smallmap" button toggles to off.

Using Win 7 Ultimate.
This task depends upon

Closed by  Grzegorz Duczyński (adf88)
Thursday, 31 August 2017, 06:58 GMT
Reason for closing:  Implemented
Additional comments about closing:  in r27905
Comment by Grzegorz Duczyński (adf88) - Tuesday, 11 July 2017, 18:07 GMT
I have a fix:
Comment by James (james1101) - Thursday, 13 July 2017, 07:17 GMT
Confirmed also for the following actions:
Toggle town names on smallmap.
Clicking the "Show Industries on smallmap" button, even though it's already highlighted.
Comment by Grzegorz Duczyński (adf88) - Sunday, 23 July 2017, 05:09 GMT
Actually almost any click (except of the title bar and the status bar of the window) cancels the link. Technically - anything which cases OnClick event in the window does so (hotkeys too). And yes - it is annoying.

Loading...