[performance] unity8.log flooded with debug messages about window position and cursor shape
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Michał Sawicz | ||
qtmir (Ubuntu) |
Fix Released
|
Medium
|
Daniel d'Andrada | ||
unity8 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
[performance] qtmir.surfaces messages about cursor position and appearance flood unity8.log when dragging a window, or when moving the cursor over some apps:
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
[2017-02-
Related branches
- Unity8 CI Bot (community): Approve (continuous-integration)
- Gerry Boland (community): Approve
-
Diff: 302 lines (+34/-32)3 files modifiedsrc/modules/Unity/Application/application.cpp (+14/-13)
src/modules/Unity/Application/mirsurface.cpp (+17/-16)
src/platforms/mirserver/logging.cpp (+3/-3)
Changed in canonical-devices-system-image: | |
importance: | High → Medium |
Changed in qtmir (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
summary: |
- [performance] qtmir.surfaces messages about cursor position and - appearance flood unity8.log + [performance] unity8.log flooded with debug messages about cursor + position and appearance |
Changed in unity8 (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: unity8-performance |
tags: |
added: unity8-desktop removed: unity8-performance |
Changed in canonical-devices-system-image: | |
status: | New → Confirmed |
summary: |
- [performance] unity8.log flooded with debug messages about cursor - position and appearance + [performance] unity8.log flooded with debug messages about window + position and cursor shape |
Changed in unity8 (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in qtmir (Ubuntu): | |
assignee: | nobody → Daniel d'Andrada (dandrader) |
status: | Confirmed → In Progress |
Changed in canonical-devices-system-image: | |
status: | Confirmed → In Progress |
assignee: | nobody → Michał Sawicz (saviq) |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
According to the source code, the debug messages come from: QTMIR_SURFACES) .nospace( )
DEBUG_MSG
which calls:
qCDebug(
So that sounds reasonable. It would appear at some point we will need to define QT_NO_DEBUG_OUTPUT during QtMir builds to stop excess debug messages in release binaries. Or to remove any truly excessive debug messages like those above which can appear on simple cursor movements.