2025/11/04 12:19、Koji Yokota <[email protected]>のメール:

I tested with a simplest example that uses QMessageBox but it seems working fine.

Changing the argument of setWindowModality() in Alert::doPrompt() to Qt::ApplicationModal solves the problem (patch attached).

Also commenting out
msg_box.setWindowModality(Qt::WindowModal);
line in Alert::doPrompt solves it.

Description of the manual of setWindowModality() says:
On macOS, if the modality is set to Qt::WindowModal and the message box has a parent, then the message box will be a Qt::Sheet, otherwise the message box will be a standard dialog.

So, it can be a problem in Qt::Sheet. Is there a better workaround (or a fix)?

Koji

Attachment: fix_dialog_on_mac.patch
Description: Binary data

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to