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

Files app permanently froze after launching it a few times from cmd #15380

Open
RalkeyOfficial opened this issue May 12, 2024 · 4 comments
Open
Labels
bug Something isn't working 👀 needs-additional info Needs more information from the reporter

Comments

@RalkeyOfficial
Copy link

Description

I am using the non-microsoft store version of Files App,
Installed it an hour ago.

All was working fine, a bit slow, but still working.
Until I tried going to directories from the CMD.

I read from a previous issue that there was a cmd command to use Files app
#6558 (comment)

Now the app is unresponsive and loads nothing except the default tags
Re-starting the app also does not fix the issue.

image

Steps To Reproduce

  1. Have Files open
  2. Try out the following cmd commands (don't know which is actually the faulty one)
    2.1. files.exe
    2.2. files.exe -Directory "..." (replace ... with a directory)
    2.3. files.exe -select "..." (replace ... with a directory)
  3. re-open files

Requirements

I expect one of the above commands to work, as I believe this was implemented from a previous issue.
I expect Files to load correctly.

Files Version

3.4.0.0

Windows Version

Windows 10 22H2 19045.4291

Log File

No log file available

@RalkeyOfficial RalkeyOfficial added the bug Something isn't working 👀 label May 12, 2024
@0x5bfa
Copy link
Member

0x5bfa commented May 12, 2024

Thanks for the feedback.

@Josh65-2201
Copy link
Member

What happens if you close Files from the system tray and open normally from the Start menu > All apps.

@Josh65-2201 Josh65-2201 added the needs-additional info Needs more information from the reporter label May 12, 2024
@RalkeyOfficial
Copy link
Author

RalkeyOfficial commented May 15, 2024

What happens if you close Files from the system tray and open normally from the Start menu > All apps.

(sorry it took a while to answer)
Nothing changes then, it remains in this broken state

@0x5bfa
Copy link
Member

0x5bfa commented May 15, 2024

It looks like InnerNavToolBar doesn’t know what the page is shown in the active shell page, and AddressToolbar looks like its ViewModel is not loaded because SidebarView.PaneHolder property is null. This seems sometimes to happen first TabBar item is not added and loaded before anywhere else starts to load.
As almost all function is in AddressToolBar, the buttons, such as Back, Forward and Up don't load its icon, but somehow Refresh icon is loaded because it references CommandManager in code-behind. This proves that DI is loaded correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 👀 needs-additional info Needs more information from the reporter
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants