I haven’t had any luck making system.gui.confirm work on a non-primary desktop in Ignition 7.9.1. It will bring up the confirmation dialogue, but clicking Yes or No does not dismiss the dialogue when in a client (Designer is fine). The only way I’ve found to get rid of the modal dialogue is to kill the java process running Ignition client.
Steps to reproduce:
1 - Use system.gui.openDesktop to open a window in a secondary desktop.
2 - Add something to that window with a mouseReleased event handler with the following code:
if system.gui.confirm(u'Are you sure?', 'Confirm'):
3 - Test in designer, all should be well–dialogue pops up and is dismissed by touching yes or no
4 - Save and publish to client and test in client. Confirmation dialogue opens over main screen (assuming client is on secondary monitor) and then slides over to far right (rather than center) of secondary desktop on second monitor. Touching yes or no does nothing and does not dismiss the dialogue.
Anyone else run into this or have a solution?