Skip to content

[Bug]: Image files fail to open in remote/VPS workspace, while code files work #3792

Description

@Aculnaj

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

  1. Start T3 Code with a remote/VPS workspace.
  2. Open a remote project directory.
  3. In the file explorer, navigate to an image file.
  4. Click the .png file to open it in the preview/editor.
  5. Observe that the file is visible in the tree, but the image preview fails.

Expected behavior

T3 Code should read and preview image files from the remote workspace, the same way it opens normal code/text files.

Actual behavior

Code/text files in the same remote workspace open correctly, but image files such as .png fail to load.

The preview shows:

Failed to read workspace file
'/public/favicon.png'
in '/root/coolprojectiguess'

### Impact

Major degradation or frequent failure

### Version or commit

T3 Code v0.0.28

### Environment

- macOS T3 Code Desktop app - Remote environment: Linux VPS

### Logs or stack traces

```shell

Screenshots, recordings, or supporting files

No response

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions