Skip to content

Bug: Files (Preview) application crashes immediately after performing [SHIFT] + [RMB] on a file #17070

@ilpoleppanen

Description

@ilpoleppanen

Description

Files (Preview) application (version 3.9.7.0 on Windows build 10.0.26100.0) crashes immediately when selecting a file with [RMB] while holding [SHIFT] key (this key sequence is equivalent to File Explorer functionality of directly opening legacy Windows context menu on Windows 11). Following entries are recorded to debug.log:

2025-04-25 12:59:06.0768|Error|Microsoft.UI.Xaml.LayoutCycleException: The text associated with this error code could not be found.

Layout cycle detected.  Layout could not complete.

Steps To Reproduce

  1. Open Files (Preview)
  2. Select any file with [RMB] while holding [SHIFT] key
  3. Observe Files (Preview) crashing and closing immediately

Files Version

3.9.7.0

Windows Version

10.0.26100.0

User ID

723ed144-cc4c-4443-8dc4-e1829e471c9e

Log File

debug - Copy.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    area - context menuFeatures or bug reports relating to the context menucrashBug reports involving a crashneeds - additional infoNeeds more information from the reporterneeds - reproducingIssues unable to be reproduced by the dev team

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions