Dieter Mayer
9a13fef959
Install the log message handler before the application starts
...
qInstallMessageHandler() ran inside the startup worker thread, which is
scheduled after QETApp construction - but QETApp's constructor performs
the entire startup (collections, editor, opening projects passed on the
command line). Everything logged during that window went to the default
handler, i.e. stderr, which is invisible in a Windows GUI session: the
daily log file ended right after the machine-info block, and exactly
the interesting lines - the elements-collection timer and the project
load timer from #560 - never reached it.
Install the handler synchronously before SingleApplication instead;
the worker keeps the old-log cleanup and machine-info dump. The CLI
path returns earlier and intentionally keeps plain stderr logging.
Verified: a GUI session now logs the full timeline, e.g.
12:37:03.623 Elements collection reload
12:37:03.776 ... finished to be loaded in 0.151 seconds
12:37:04.744 Project "..." (726 KiB) opened in 1.583 seconds
(cherry picked from commit 72b1a1d9ec2e3fd3787224759797978d710880bd)
2026-07-28 13:58:30 +02:00
..
2026-07-14 19:27:18 +02:00
2026-07-14 19:27:17 +02:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-01-26 18:47:43 +01:00
2026-07-19 11:51:47 +02:00
2026-07-23 13:58:56 +02:00
2026-07-07 16:34:56 +02:00
2026-07-26 21:04:25 +12:00
2026-07-11 21:47:04 +02:00
2026-07-17 21:01:26 +02:00
2026-01-16 15:24:35 +01:00
2026-07-18 08:00:23 +02:00
2026-01-16 15:24:35 +01:00
2025-05-22 21:33:32 +02:00
2026-07-18 08:00:23 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2025-02-12 13:41:39 +01:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-07-17 10:26:43 +02:00
2026-07-17 10:26:35 +02:00
2026-07-18 08:00:23 +02:00
2026-07-18 08:00:23 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-14 19:27:18 +02:00
2026-06-12 05:25:44 +12:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-14 19:27:16 +02:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-14 19:27:16 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 21:01:26 +02:00
2026-04-26 10:48:47 +02:00
2026-06-12 05:34:20 +12:00
2026-04-26 10:48:47 +02:00
2026-07-14 19:27:16 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-14 19:27:17 +02:00
2026-01-16 15:24:35 +01:00
2026-06-16 17:41:03 +02:00
2026-01-16 15:24:35 +01:00
2026-05-13 19:42:11 +02:00
2026-05-13 19:42:11 +02:00
2026-07-14 19:48:31 +02:00
2026-05-29 19:14:36 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-06-21 01:45:07 +12:00
2026-01-16 15:24:35 +01:00
2026-06-18 13:37:24 +02:00
2026-06-18 13:37:24 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-06-21 01:45:07 +12:00
2026-04-19 10:44:52 +02:00
2026-07-17 10:25:49 +02:00
2026-06-20 22:31:06 +12:00
2026-07-28 13:58:30 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-06-11 23:48:14 +12:00
2026-06-11 23:48:14 +12:00
2026-05-13 19:42:11 +02:00
2026-05-13 19:42:11 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-26 15:32:11 +02:00
2026-06-21 12:10:13 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-07 21:42:45 +02:00
2026-07-07 16:34:56 +02:00
2026-02-02 14:44:10 +01:00
2026-02-02 14:44:10 +01:00
2026-05-28 12:23:54 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-27 17:37:49 +12:00
2026-07-07 16:34:56 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-19 13:26:34 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 10:25:49 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 21:01:26 +02:00
2026-07-17 21:01:26 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 10:29:13 +02:00
2026-07-17 10:29:13 +02:00
2020-09-07 22:03:40 +02:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-01-16 15:24:35 +01:00
2026-07-17 21:01:26 +02:00
2026-01-16 15:24:35 +01:00
2020-09-07 22:03:40 +02:00
2026-01-16 15:24:35 +01:00
2026-06-11 12:39:43 +12:00
2026-06-11 12:39:43 +12:00