Skip to content

Conversation

@sandy081
Copy link
Member

This PR fixes #148320

Profile that is imported has first cached view positions key first followed by cached view container locations key. So while importing cached view positions is updated, but by then generated view containers are not updated. Hence view locations are not updated after import.

The fix makes sure cached view positions are updated when cached view containers locations are updated too. To be safe, these keys are registered in the right order (cached view container locations first and then cached view positions locations next).

Copy link
Member

@sbatten sbatten left a comment

Choose a reason for hiding this comment

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

this fix is good, while testing I have found a separate issue which is easily testable with profiles but also applies to settings sync. the view descriptor service will break if more than one view container moves per storage change event.

edit: more specifically, it fails is there is a container move and a new container that needs to be generated

@sbatten sbatten merged commit a3db530 into main Apr 28, 2022
@sbatten sbatten deleted the sandy081/fix148320 branch April 28, 2022 17:00
@github-actions github-actions bot locked and limited conversation to collaborators Jun 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Moved views in side bar are not updated on import

3 participants