microsoft / microsoft/react-native-windows

Fabric error report dialog doesn't allow you to copy the text out

Open
#11,765 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Developer Experience Area: Fabric bug New Architecture Workstream: Component Parity
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Problem Description

I was looking into this and I get an error:

image

I can't copy that text (either with Ctrl+C, which works on many native Win32 dialogs, or by drag selecting the text).
It will show up in the metro logs, but it should by copyable from the dialog.

Steps To Reproduce

Run a Fabric build in release without Metro... or really anything that causes a metro error. Just don't have metro running, for example:

image

Expected Results

Can copy text

CLI version

12.0.0-alpha.3

Environment
info Fetching system and libraries information...
System:
  OS: Windows 10 10.0.25880
  CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
  Memory: 43.87 GB / 63.85 GB
Binaries:
  Node:
    version: 18.15.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.19
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 9.5.0
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    AllowAllTrustedApps: Enabled
    Versions:
      - 10.0.19041.0
      - 10.0.22000.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.5.33530.505 (Visual Studio Community 2022)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.73.0-nightly-20230601-d9b3339ef
    wanted: 0.73.0-nightly-20230601-d9b3339ef
  react-native-windows:
    installed: 0.0.0-canary.665
    wanted: 0.0.0-canary.665
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: false
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found
Target Platform Version

10.0.19041

Target Device(s)

No response

Visual Studio Version

Visual Studio 2022

Build Configuration

None

Snack, code example, screenshot, or link to a repository

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Fabric release build error with Metro stopped and inspect the implementation of the error report dialog. Verify that the displayed error text can be copied, including with Ctrl+C or text selection, and confirm the behavior in the same scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.