Skip to main content

Error When Exporting from the Desktop App: RunModalForWindow (macOS)

Error message: "RunModalForWindow" when exporting (e.g. to Excel)

Written by Petr Pech

This error appears on macOS during export (typically to Excel) and is related to the Zoom feature in Accessibility settings. It is caused by a conflict between Java and the system zoom function, which results in a dialog window becoming blocked.

To verify this precisely, launch Flexi with debug logs, in which you should find the following content:

How to resolve the issue:

  1. Open System Preferences → Accessibility → Zoom

  2. Adjust the settings:

    • disable the Zoom feature

    • or change its mode (e.g. do not use full-screen zoom)

  3. Restart your computer

Summary:

The "RunModalForWindow" error is caused by the Zoom feature in macOS. Adjusting or disabling this feature will resolve the issue.

Did this answer your question?