Skip to content

fix: after screen-recorder finished, dock will coredump - #848

Merged
deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
tsic404:coredump
May 5, 2023
Merged

deepin-bot[bot] merged 1 commit into
linuxdeepin:masterfrom
tsic404:coredump

Conversation

@tsic404

@tsic404 tsic404 commented Apr 26, 2023 •

Copy link
Copy Markdown
Contributor

When screen-recorder finish recording, will notify dock update item, and dock will clean all item and readded back. But m_dragInfo->dockItem still point to old item which has been cleaned.
So dock will coredump, while using this pointer to judge item can drag or not.

Resolve: linuxdeepin/developer-center#4245

@tsic404
tsic404 requested a review from a team April 26, 2023 08:28
BLumia
BLumia previously approved these changes Apr 26, 2023
@BLumia

BLumia commented Apr 26, 2023

Copy link
Copy Markdown
Member

Commit message: sill -> still

@BLumia

BLumia commented Apr 30, 2023

Copy link
Copy Markdown
Member

还有一个: cocredump -> coredump 😂

@tsic404 tsic404 changed the title fix: after screen-recorder finished, dock will cocredump fix: after screen-recorder finished, dock will coredump May 5, 2023
When screen-recorder finish recording, will notify dock update item, and dock
will clean all item and readded back. But m_dragInfo->dockItem still point to
old item which has been cleaned.
So dock will coredump, while using this pointer to judge item can drag or not.

log: update m_dragInfo->dockItem pointer when dock itemCountChanged.
@tsic404

tsic404 commented May 5, 2023

Copy link
Copy Markdown
Contributor Author

/merge

@deepin-bot
deepin-bot Bot merged commit 50bbc3c into linuxdeepin:master May 5, 2023
@tsic404
tsic404 deleted the coredump branch January 12, 2024 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants