Skip to content

Conversation

@ilpianista
Copy link

Follow up of transfer-engine!14, the goal here is to hide transfers made from a private tab.

I think that is OK to remove the transfer when it's completed, cancelled or failed.

}
if (isPrivateMode) {
m_transferClient->clearTransfer(m_download2transferMap.value(downloadId));
}
Copy link
Member

Choose a reason for hiding this comment

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

Small downloads disappear now really quickly. I doubt that people find downloaded files from the file system. Instead of immediately clearing, I think it would be nicer to gather a list of completed private downloadIds over here. Then upon clearing of PrivateTabModel (tab count reaching zero and destruction of the model) clear also private downloads from the DownloadManager. How do you see this?

Briefly chatted this with @pvuorela as well.

@rainemak
Copy link
Member

Small comment, could you please re-target this towards next.

@rainemak rainemak changed the base branch from master to next June 28, 2024 10:22
@rainemak rainemak changed the base branch from next to master June 28, 2024 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants