Skip to content

Bug: When opening Files, it will close after 1–2 seconds #12370

@ghost

Description

Description

When I enable “Toggle the preview pane”, it will automatically close when I close it and open it again
Screenshot
image

From Windows Event Viewer

Category: Files.App.App
EventId: 0

A cycle occurred while laying out the GUI.

Exception: 
Microsoft.UI.Xaml.LayoutCycleException: A cycle occurred while laying out the GUI.

Solution
I found out that by disabling the “Toggle the preview pane” fixes the problem.

image

Steps To Reproduce

  1. Open Files App
  2. Click the three dots "..." or "See more" in the upper right corner
  3. Click "New Pane"
  4. Enable "Toggle the preview pane" or press "Ctrl + P"
  5. Close the Files App
  6. Open it again

Requirements

Fix crash when opening Files App because of adding a New Pane in Home and enabling “Toggle the preview pane”

Files Version

Version: 2.4.71.0, Windows Version: 10.0.19044.2965

Windows Version

Windows 10 Pro 21H2 27/‎08/‎2022 19044.2965 Windows Feature Experience Pack 1000.19041.1000.0

Log file

debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions