Skip to content

Large file preview blocks ui #2872

@hyperleex

Description

@hyperleex

Check for other issues

  • I've checked for other issues, and none exist.

Issue description

When previewing JSON files of approximately 337KB in size, the application occasionally becomes unresponsive. The UI freezes for several seconds while the file preview loads, and in some cases, the application becomes completely unresponsive, requiring a restart.

Steps to reproduce

  1. create large file >337 KB, it should contains only one line
  2. open preview
  3. right click on file

Platform and versions

  • OS: macos 15.3.1 (24D70) M1 Pro
  • Spacedrive: 0.4.2 (20240817.232038)
Development tool versions (optional)

Stack trace

Additional context

No response

Code of Conduct

  • I agree to follow the Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions