LibreOffice displays "Restore Windows" error message and it can't be dismissed

When I open LibreOffice 4.1.3 on MacBook Pro, it displays the message “Restore Windows” and says the application unexpectedly quit. The message provides two buttons: Don’t Restore Windows, Restore Windows. I’ve tried clicking on both buttons and nothing happens. It’s impossible to get rid of the message without using Force Quit. The app will not open a document. I’ve tried deleting the application and reinstalling it, but the error recurs. LibreOffice is now unusable.

Please have a look at LibreOffice startup always asking reopen windows.

See also: Tagged “restore-windows”

You could add a comment to fdo#39007