Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/ui/test_qtui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 4 additions & 0 deletions tilia/boot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)


Expand Down
Loading