Comment 1 for bug 1468274

Revision history for this message
Garth Corral (gcorral) wrote :

These are two in a long list of issues that are the result of OS X specific wxWindows bugs.

The first appears to be an issue with z-order management on OS X, deep in the bowels of wxWindows. The wxWindows bug tracker is littered with variants of this issue, some were ostensibly fixed, while others have languished for years. I have a minimal repro so I will add to the pile, but I wouldn't expect a fix in wxWidgets any time soon.

 We can hack around the issue in kicad, though it will be a bit janky. If we can suffer the mildly crappy user experience I think we should just do that. I have a patch against wxWidgets that is mildly less lame, but it still just a worksaround for the real issue, so probably isn't worth it to do it there at this point.

The second issue may be related to the first. Basically when the dialog is ordered back, m_isShown is not updated so it still thinks it is visible, and when Show() is called it does nothing. Since this likely affects all such dialogs on OS X, it should probably be worked around in DIALOG_SHIM.