With this in place, we are ready for 2.5.0. I'll package it in the next few days. We are going to get nearly half a metre of snow tomorrow, so I won't be going anywhere for a bit!

Riki


On 1/24/26 8:14 PM, Koji Yokota wrote:
commit fc49ba189d262c6fb9983bfe061983aa1bc9909c
Author: Koji Yokota <[email protected]>
Date:   Sun Jan 25 10:13:18 2026 +0900

     Temporary fix for SIGABRT at exiting time on macOS Tahoe
See https://www.mail-archive.com/[email protected]/msg225496.html
---
  src/frontends/qt/GuiApplication.cpp | 11 +++++++++++
  1 file changed, 11 insertions(+)

diff --git a/src/frontends/qt/GuiApplication.cpp 
b/src/frontends/qt/GuiApplication.cpp
index 1e532dc0d2..68c82f02bc 100644
--- a/src/frontends/qt/GuiApplication.cpp
+++ b/src/frontends/qt/GuiApplication.cpp
@@ -103,6 +103,9 @@
  #include <QMenuBar>
  #include <QMimeData>
  #include <QObject>
+#if defined(Q_OS_MACOS) && QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
+#include <QOperatingSystemVersion>
+#endif
  #include <QPainter>
  #include <QPixmap>
  #if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
@@ -1807,6 +1810,14 @@ void GuiApplication::dispatch(FuncRequest const & cmd, 
DispatchResult & dr)
                break;
case LFUN_LYX_QUIT:
+               // Temporary and imperfect fix for SIGABRT at exiting time on 
macOS
+               // Tahoe. See
+               // 
https://www.mail-archive.com/[email protected]/msg225496.html
+               // FIXME: This fix should be removed once the problem is gone.
+#if defined(Q_OS_MACOS) && QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
+               if (QOperatingSystemVersion::current() >= 
QOperatingSystemVersion(QOperatingSystemVersion::MacOS, 26))
+                               
std::this_thread::sleep_for(std::chrono::seconds(2));
+#endif
                // quitting is triggered by the gui code
                // (leaving the event loop).
                if (current_view_)


--
----------------------------
Richard Kimberly (Riki) Heck
Professor of Philosophy and Professor of Linguistics
Brown University

Pronouns: they/them/their
Website:  http://rkheck.frege.org/

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

Reply via email to