Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 卸载第三方应用后任务栏依然显示应用 #65

Merged
merged 1 commit into from
Jun 25, 2023

Conversation

dengbo11
Copy link
Contributor

@dengbo11 dengbo11 commented Jun 20, 2023

应该使用m_desktopAndItemMap而不是itemsMap去获取对应的Item

Log: 修复卸载第三方应用后任务栏依然显示应用的问题
Influence: 任务栏应用正常显示
Resolve: linuxdeepin/developer-center#4630

@dengbo11
Copy link
Contributor Author

/integrate

@black-desk
Copy link
Contributor

应用商店里面的应用是怎么处理的?

@github-actions
Copy link

AutoIntegrationPr Bot
auto integrate with pr url: deepin-community/Repository-Integration#189
PrNumber: 189
PrBranch: auto-integration-5319858241

@tsic404
Copy link
Contributor

tsic404 commented Jun 20, 2023

问题应该不在这,应该是 https://github.com/linuxdeepin/dde-application-manager/blob/master/src/modules/dock/dock.cpp#L1411-L1419 出了问题。

这样采用launcher拆卸时发送信号的操作,会导致从其他入口,比如终端拆卸时。没有触发此处代码,导致依旧无法移除对应的Entry。

@dengbo11
Copy link
Contributor Author

@black-desk @tsic404

@black-desk
Copy link
Contributor

commit 标题中不要描述自己修了什么bug 而是应该描述自己做了什么更改。

比如说这次应该是 “fix(launcher): 修正onCheckDesktopFile的行为” 之类的吧?

Copy link
Contributor

@black-desk black-desk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit message

应该使用m_desktopAndItemMap而不是itemsMap去获取对应的Item

Log: 修复卸载第三方应用后任务栏依然显示应用的问题
Influence: 任务栏应用正常显示
@dengbo11
Copy link
Contributor Author

/integrate

@dengbo11 dengbo11 merged commit e22ee70 into linuxdeepin:master Jun 25, 2023
@dengbo11
Copy link
Contributor Author

/integrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants