Menu

#2752 gui.FileSelector is blocking on Windows, non-blocking on Mac

None
New
nobody
Low
2024-11-24
2022-07-15
No

The Open() method is blocking on windows (which is great), but on Mac its non blocking (which sucks).
At the very least I think it would be best if they act similar.

The following code works fine on Win, the dialog is deleted when closed.
But on Mac the dialog is deleted a split second after being shown.

var dia = gui.FileSelector.new(stuff);
dia.open();
dia.del();

Discussion

  • James Turner

    James Turner - 2022-07-15

    Yes it should be consistent, agreed : easiest to change macOS I guess.

     
  • xDraconian

    xDraconian - 2024-11-24
    • Milestone: 2020.3 --> None
     

Log in to post a comment.

MongoDB Logo MongoDB