OpenTTD

Tasklist

FS#3206 - Add NewGRF window glitch

Attached to Project: OpenTTD
Opened by Zdeněk Sojka (SmatZ) - Thursday, 17 September 2009, 00:03 GMT
Last edited by Remko Bijker (Rubidium) - Thursday, 17 September 2009, 12:34 GMT
Type Bug
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version trunk
Due in Version 0.7.3
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

r17558

Intro screen, click NewGRF Config, click Add, click again NewGRF Config (without closing it). Reopen the window several times - Add NewGRF window is glitchy.
This task depends upon

Closed by  Remko Bijker (Rubidium)
Thursday, 17 September 2009, 12:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  the crash in r17558 by always closing the add window if the settings window gets closed; as such the glitch cannot occur.
Comment by Zdeněk Sojka (SmatZ) - Thursday, 17 September 2009, 10:08 GMT
Actually, the problem seems to be related to closing the NewGRF Settings window. Probably it would be best to close the NewGRF Add window too (unless someone wants to inspect this problem deeper).
Comment by Remko Bijker (Rubidium) - Thursday, 17 September 2009, 11:09 GMT
I would've reckoned that the add window had the NewGRF settings window as parent (and thus was automagically removed).
Comment by Remko Bijker (Rubidium) - Thursday, 17 September 2009, 11:15 GMT
  • Field changed: Due in Version (Undecided → 0.7.3)
Hmm, even worse; adding NewGRFs after you've closed the window doesn't work reliably. The behaviour differs between saying you're adding a duplicate NewGRF (to an empty list), adding the NewGRF and segfaulting. When I tried it in 0.7 it segfaulted too.

So... closed the window must be.

Loading...