diff --git a/tests/ui/test_qtui.py b/tests/ui/test_qtui.py index ecbe161df..7481b7d0b 100644 --- a/tests/ui/test_qtui.py +++ b/tests/ui/test_qtui.py @@ -309,6 +309,7 @@ def test_context_file_none_does_not_raise(self): [ "QFont::setPixelSize: Pixel size <= 0 (0)", "QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed (Der Vorgang wurde erfolgreich beendet.)", + "fromIccProfile: Failed to parse description", ], ) def test_known_noise_warning_is_suppressed(self, noisy_msg): diff --git a/tilia/boot.py b/tilia/boot.py index a034ae30b..4ee984514 100644 --- a/tilia/boot.py +++ b/tilia/boot.py @@ -44,6 +44,10 @@ def handle_exception(type, value, tb): QT_LOG_NOISE_PATTERNS = ( "QFont::setPixelSize: Pixel size <= 0", "QWindowsFontEngineDirectWrite::addGlyphsToPath: GetGlyphRunOutline failed", + # Emitted by QtGui's ICC parser when it can't read the description tag of a + # colour profile - on macOS the display profile is re-parsed for every + # native window, flooding the log on startup. Purely cosmetic. + "fromIccProfile: Failed to parse description", )