Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.0.0
-
None
-
Mac OS 10.7.4
Apple clang version 3.1
Description
Run the attached QML file, and launch System Monitor. qmlscene takes around 20% CPU even while doing nothing (no cursor blinking, no nothing).
This seems to be related to calling d->document->markContentsDirty() twice in QQuickTextEdit::updatePaintNode(). Commenting out those calls brings qmlscene's CPU load back to 0%. No weird behaviors have been observed, so maybe this is not needed anymore?
Attachments
For Gerrit Dashboard: QTBUG-26361 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
29932,1 | Fix high CPU load for Qml TextEdit on Mac | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |
30528,1 | Remove unneeded mac specific code in QQuickText | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |