You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is caused by #16484 and by how ContextMenuFlyoutItemViewModelBuilder.Build() works.
If no value is assigned to the IsVisible property and IsExecutable is set to false, then the command is not shown.
Since we are now assigning an explicit value to IsVisible the case above is bypassed.
To address this issue we can either:
Move back UserSettingsService.GeneralSettingsService.ShowOpenInNew... to the IsExecutable property of commands
When IsVisible is set in the flyout builder, we should always use UserSettingsService.GeneralSettingsService.ShowOpenInNew... && That_Command.IsExecutable
I'd go with the first option since the latter may cause similar bugs in the future
Edit. If for example ShowOpenInNewPane is off, should the user be able to use the relative shortcut? If the answer is yes, we should definitely go with the second option
Description
Starting in v3.8.10, right clicking a file will incorrectly display options to open in a new tab.
Steps To Reproduce
Files Version
v3.8.10
Windows Version
Windows 11
User ID
No response
Log File
NA
The text was updated successfully, but these errors were encountered: