question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 months ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
hishitetsucommented, May 17, 2023

The crash seems to occur when the home page is too long vertically. The Tags widget tends to be longer and crashes more easily, but this is not a problem with the Tags widget itself.

0reactions
yaira2commented, Jul 4, 2023

@wharjack this issue will be resolved in the upcoming v2.5.20 release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Word closes spontaneously after a bit or within 1-2 ...
After using another word processor for a bit, I can open Word and use it for a bit before the problem reappears. Any...
Read more >
Acrobat Reader crashing after 10 sec of opening file
After 10 seconds of opening a pdf file, the adobe shots down without any error message. Please tell me how to fix this....
Read more >
Fix - Adobe Reader closes immediately after opening PDF file ...
In this video we will Solve the issue of adobe reader closes automatically after opening any PDF File. When i open a PDF...
Read more >
Windows Explorer Slow Folder Loading Problems FIX
File Explorer is one of the most used applications in Windows 10 and ... 7 slow open folder windows 10 folder loading slow...
Read more >
When opening PDF file Adobe reader opens and closes ...
This video is a Fix for Adobe Acrobat Opens and Closes Immediately adobe acrobat reader keeps closing when opening Why does my Adobe...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found