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

Feature: Refresh Details Layout Columns after changing setting #16512

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ferrariofilippo
Copy link
Contributor

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. Open some tabs (2 or 3 should be enough), each using Details View
  2. Navigate between folders to build up a back stack
  3. Open Settings/Layout/Details View/Columns
  4. Enable Sync layout ...
  5. Toggle some columns
  6. Check if the layout has been updated in each tab
  7. Navigate back/forward to ensure the new layout is being applied
  8. Repeat 3 -> 6 as many times as you want
  9. Check that the layout is updated even if Sync layout ... is disabled but current tab is using the default layout

@@ -16,6 +16,8 @@ public sealed class LayoutPreferencesItem

public ColumnsViewModel ColumnsViewModel { get; set; }

public bool IsDefault { get; set; } = true;
Copy link
Member

Choose a reason for hiding this comment

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

I think we already have a way to check if it's default without adding another property. Fyi @hishitetsu

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

Successfully merging this pull request may close these issues.

Feature: Refresh Details Layout Columns after changing setting
2 participants