Message405550
A (hypothetical) explanation: I think that each NSWindow maintains a queue of attached sheets. Failing to call the [parent endSheet] method left the file dialogue NSPanel in the queue, although it had been ordered offscreen and so was not visible. Opening the NSAlert added it to the top of the queue. Closing the alert caused it to be removed from the queue. But, since the queue was not empty, the window manager was supposed to orderFront the next sheet in the queue. That sheet was the file dialog, which had not been destroyed since adding it to the queue had incremented its reference count, and failing to remove it had not decremented its reference count. But the separate process that handles events for the file dialog had exited long ago. So that made the newly re-opened file dialog NSPanel into a zombie. |
|
Date |
User |
Action |
Args |
2021-11-02 21:01:54 | culler | set | recipients:
+ culler, terry.reedy, ronaldoussoren, wordtech, ned.deily, lukasz.langa, serhiy.storchaka, Marc.Culler, pablogsal, miss-islington, epaine, Nythepegasus, mlierley, i3p9, thesamesam, enki1711, guydestefano, robotson |
2021-11-02 21:01:54 | culler | set | messageid: <1635886914.41.0.381565980886.issue44828@roundup.psfhosted.org> |
2021-11-02 21:01:54 | culler | link | issue44828 messages |
2021-11-02 21:01:54 | culler | create | |
|