Skip to content

Featuer: Add a "library in use" dialog when trying to delete #9444

@Josh65-2201

Description

@Josh65-2201

What's the Problem?

From the discord conversation a user tried to delete a library but it didnt work with no in app reason why.

Relevent error

2022-06-20 18:24:25.3125|WARN|HandleShellLibraryMessage|
	System.IO.FileLoadException: The process cannot access the file because it is being used by another process. (0x80070020)
   at Vanara.PInvoke.Shell32.IShellLibrary.LoadLibraryFromItem(IShellItem library, STGM grfMode)
   at Files.FullTrust.MessageHandlers.LibrariesHandler.<>c__DisplayClass6_0.<HandleShellLibraryMessage>b__2()

Solution/Idea

Add "This libary is in use by " dialog. If its able to get the process using it.

Alternatives

Priorities

No response

Files Version

2.3.11.0

Windows Version

10.0.19043.1889

Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    🏗 In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions