-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Fix: Fixed an issue where Columns View was incorrectly enabled for Recycle Bin #17803
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
base: main
Are you sure you want to change the base?
Fix: Fixed an issue where Columns View was incorrectly enabled for Recycle Bin #17803
Conversation
… unexpected behavior with file system hierarchy display. The Columns layout is now disabled when viewing the Recycle Bin to prevent navigation issues.
|
@workbysaran what happens if the user has the 'sync layout preferences' option enabled and has the default layout set to Columns? |
…ce sync is enabled.
|
I have updated the LayoutPreferencesManager to handle the scenario when the "Sync layout preferences" setting is enabled. |
… unexpected behavior with file system hierarchy display. The Columns layout is now disabled when viewing the Recycle Bin to prevent navigation issues.
…ce sync is enabled.
cbc4965 to
bb070b0
Compare
|
Thanks! Does this PR supersede #17792? |
|
I found a scenario where Recycle Bin still uses Columns:
|
Yes, it does! |
…de is set to Columns with sync disabled.
…com/workbysaran/Files into sg/fix-disable-collayout-recyclebin
…onflict resolution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
|
||
| private static LayoutPreferencesItem? GetLayoutPreferencesForPath(string path) | ||
| { | ||
| if (path.StartsWith(Constants.UserEnvironmentPaths.RecycleBinPath, StringComparison.Ordinal)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a code comment explaining why we disable Columns View in Recycle Bin?
Resolved / Related Issues
Fixed an issue where using Column View in the Recycle Bin caused unexpected behavior with file system hierarchy display. The Columns layout is now disabled when viewing the Recycle Bin to prevent navigation issues.
Closes #13654
Steps used to test these changes