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

Bug: Freeze when right clicking #12598

Closed
ccyykkcyk opened this issue Jun 13, 2023 · 7 comments · Fixed by #12686
Closed

Bug: Freeze when right clicking #12598

ccyykkcyk opened this issue Jun 13, 2023 · 7 comments · Fixed by #12686

Comments

@ccyykkcyk
Copy link

ccyykkcyk commented Jun 13, 2023

Description

When I right-click a file or folder in driver page, Files freezed, but it works well in homepage and sidebar.
This problem existed before version 2.5.0.0

Steps To Reproduce

  1. open a driver
  2. right-click on a file
bandicam.2023-06-14.01-23-14-998.mp4

Requirements

Files should not freeze

Files Version

Version: 2.5.0.0

Windows Version

Windows 10 (22H2): 19045

Log File

debug.log

@ccyykkcyk ccyykkcyk added the bug label Jun 13, 2023
@ccyykkcyk ccyykkcyk changed the title Freeze when right click Bug: Freeze when right click Jun 14, 2023
@anuti
Copy link

anuti commented Jun 14, 2023

I have the same error
Files 2.5.0.0
Windows 11 (22H2)

@yaira2
Copy link
Member

yaira2 commented Jun 15, 2023

Is this specific to drives or is it in other folders too?

@ccyykkcyk
Copy link
Author

Is this specific to drives or is it in other folders too?

same error for all folders

@yaira2
Copy link
Member

yaira2 commented Jun 22, 2023

2023-06-14 01:10:45.2275|Information|System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
   at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   at Microsoft.Win32.RegistryKey.InternalSubKeyCountCore()
   at Microsoft.Win32.RegistryKey.GetSubKeyNames()
   at Files.App.Shell.ShellNewMenuHelper.GetShellNewRegistryEntries(RegistryKey current, RegistryKey root)

@hishitetsu have you seen this before? Looks like a new one...

@yaira2 yaira2 changed the title Bug: Freeze when right click Bug: Freeze when right clicking Jun 22, 2023
@yaira2 yaira2 moved this from 🆕 New to 📋 Planning stage in Files task board Jun 22, 2023
@yaira2 yaira2 moved this from 📋 Planning stage to 🔖 Ready to build in Files task board Jun 22, 2023
@hishitetsu
Copy link
Member

I have never seen it. The exception occurs in a different place than before.

@yaira2
Copy link
Member

yaira2 commented Jun 22, 2023

@ccyykkcyk a potential fix will be in the next update.

@Hawksprey420
Copy link

Upon checking on Event Viewer:
Category: Files.App.App
EventId: 0

This operation returned because the timeout period expired. (0x800705B4)

Exception:
System.Runtime.InteropServices.COMException (0x800705B4): This operation returned because the timeout period expired. (0x800705B4)
at Vanara.PInvoke.Shell32.IShellLinkW.Resolve(HWND hwnd, SLR_FLAGS fFlags)
at Vanara.Windows.Shell.ShellLink.LoadAndResolve(String linkFile, SLR_FLAGS resolveFlags, HWND hWin, UInt16 timeOut)
at Files.App.Filesystem.RecentItems.<>c__DisplayClass14_1.b__2()

This behavior still exists on Files version 2.5.10.0

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

Successfully merging a pull request may close this issue.

5 participants