bringToFront() works inconsistently on Macs
I reported this issue to Adobe in April 2021 but the problem persists. The short version is that on my Mac (but not on my PC), for no apparent reason, bringToFront() works most of the time but not always.
bringToFront() is used in a function called from pdf form menus offering a choice of a variety of pdf forms. The function opens the selected form as docB and imports the client's fdf file (which works without failure) and ends with docB.bringToFront(), which works with all of the available forms most of the time, but sometimes leaves the target pdf in the background. Regardless of whether bringToFront() is positioned in my function before or after docB.importAnFDF(), its position in the function does not cure the occasional failure to bring the document to the front.
I would appreciate any suggestions that may eliminate the occasional failure of bringToFront().
