Skip to content

Force close when make hidden directories #7958

Closed
@sdanielch

Description

@sdanielch

Description

when a try hide a folders selection the software crash, but when i run software again my folders is hidden.

Steps To Reproduce

to anywhere
click over some folder and click in property
in atributes select hidden
CRASH

Expected behavior

Simply, hidden my folders selected

Files Version

2.1.2.0

Windows Version

Windows 11 21H2 22000.434

Relevant Assets/Logs

2022-01-26 11:33:45.9925|INFO|OnLaunched|App launched. Prelaunch: False
2022-01-26 11:33:46.7502|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-01-26 11:33:46.7940|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-01-26 11:35:21.5975|INFO|OnActivated|App activated by CommandLineLaunch
2022-01-26 11:35:21.8427|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-01-26 11:35:22.1068|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-01-26 11:35:22.1407|INFO|IsRunningOnArm|Running on ARM: False
2022-01-26 11:37:07.2247|INFO|OnActivated|App activated by CommandLineLaunch
2022-01-26 11:37:07.4639|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-01-26 11:37:07.7759|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-01-26 11:37:07.8088|INFO|IsRunningOnArm|Running on ARM: False
2022-01-26 11:37:10.6894|INFO|OnActivated|App activated by CommandLineLaunch
2022-01-26 11:37:11.0641|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-01-26 11:37:11.1040|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-01-26 11:37:15.9795|INFO|IsRunningOnArm|Running on ARM: False
2022-01-26 12:21:13.2010|ERROR|AppUnhandledException|Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Files.Views.PropertiesGeneral.d__1.MoveNext() + 0x667
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1.ConfiguredTaskAwaiter.GetResult() + 0xf at Files.Views.Properties.<OKButton_Click>d__14.MoveNext() + 0x5e --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__7_0(Object) + 0x1e at System.Action1.Invoke(T) + 0x28
at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore() + 0x33
at System.Runtime.InteropServices.McgMarshal.ThrowOnExternalCallFailed(Int32, RuntimeTypeHandle) + 0x21
at __Interop.ComCallHelpers.Call(__ComObject, RuntimeTypeHandle, Int32) + 0xb8
at __Interop.ForwardComStubs.Stub_10[TThis](__ComObject, Int32) + 0x24
at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x3d
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
at Microsoft.AppCenter.Utils.ApplicationLifecycleHelper.<.ctor>b__17_1(Object, UnhandledErrorDetectedEventArgs) + 0x75
at System.EventHandler`1.Invoke(Object, TEventArgs) + 0x2e
at __Interop.Intrinsics.HasThisCall__23[TArg0](Object, IntPtr, Object, TArg0) + 0x36
at Files!+0x13de680

2022-01-26 12:21:19.5677|INFO|OnActivated|App activated by ToastNotification
2022-01-26 12:21:20.2759|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-01-26 12:21:20.3197|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-01-26 12:21:28.6691|INFO|OnLaunched|App launched. Prelaunch: False
2022-01-26 12:21:29.0800|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-01-26 12:21:29.1408|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-01-26 12:21:35.5022|INFO|IsRunningOnArm|Running on ARM: False
2022-01-26 12:28:47.5193|INFO|OnActivated|App activated by CommandLineLaunch
2022-01-26 12:28:47.8531|INFO|GetDrivesAsync|Drive added: C:, Fixed
2022-01-26 12:28:48.2636|INFO|GetDrivesAsync|Drive added: D:, Fixed
2022-01-26 12:28:48.2715|INFO|IsRunningOnArm|Running on ARM: False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions