linuxdeepin / dtkdeclarative

Other
20 stars 40 forks source link

fix: app crashed when when InWindowBlur switching frequently #398

Closed 18202781743 closed 1 month ago

18202781743 commented 1 month ago

updatePaintNode will be executed multiple times, so it should at least be a slot function that only connects once, and node maybe a invalid pointer, because QSGNode and QuickItem are managed by two different threads. We can use m_item to adjust whether the texture is valid, because it's a QPointer for QQuickItem.

deepin-ci-robot commented 1 month ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: 18202781743, kegechen

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[debian/deepin/OWNERS](https://github.com/linuxdeepin/dtkdeclarative/blob/master/debian/deepin/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
deepin-ci-robot commented 1 month ago

deepin pr auto review

关键摘要:

是否建议立即修改: