Before submitting
Area
apps/web
Steps to reproduce
- Run the desktop app on a system with home directory
/var/home/<user> (observed on Fedora COSMIC Atomic). Make sure the project's recorded workspace path also starts with /var/home/<user>, e.g. /var/home/<user>/project.
- Have a readable, valid MP4 at
$HOME/Downloads/repro.mp4, outside the project directory. The example filename and directory are placeholders; the observed failure used an existing MP4 in the user's Downloads directory.
- Have the assistant return this Markdown link in a project thread:
[repro.mp4](~/Downloads/repro.mp4)
- Click the rendered video link.
Expected behavior
~/Downloads/repro.mp4 resolves to the environment's home directory, e.g. /var/home/<user>/Downloads/repro.mp4, and the media preview loads the existing file.
Actual behavior
The preview shows a Media unavailable toast with Media file was not found.
The original MP4 exists and is readable by the same user: a regular file, mode 0644, 1,477,238 bytes, with an MP4 ftyp header. Reading its bytes succeeded. No permission changes were needed.
Impact
Minor bug or occasional failure
Home-relative media links cannot be opened on this home-directory layout; an absolute link avoids the path-resolution problem.
Version or commit
Observed in desktop 0.0.45-nightly.20261002.2584.
The same unresolved-tilde code is still present in v0.0.46-nightly.20261004.2648 and main @ 5a96895a85b43c838da6c89cf21068b99c003d5a. Those newer versions were checked in source, not through a fresh UI reproduction.
Environment
Fedora Linux 44.20260929.0 (COSMIC Atomic), Linux desktop AppImage. Home directory: /var/home/<user>. The issue occurs when opening a local media link from the chat.
Logs or stack traces
No stack trace was captured. The on-screen error is:
Media unavailable
Media file was not found.
Screenshots, recordings, or supporting files
Source investigation:
The older closed issue #263 concerns entering a project path in Add Project; this report concerns media links in chat.
Workaround
Suggested workaround: use a full absolute Markdown destination, for example:
[repro.mp4](/var/home/<user>/Downloads/repro.mp4)
This bypasses home inference. The file's absolute path was verified readable; playback through the replacement link was not separately verified.
Before submitting
Area
apps/web
Steps to reproduce
/var/home/<user>(observed on Fedora COSMIC Atomic). Make sure the project's recorded workspace path also starts with/var/home/<user>, e.g./var/home/<user>/project.$HOME/Downloads/repro.mp4, outside the project directory. The example filename and directory are placeholders; the observed failure used an existing MP4 in the user's Downloads directory.Expected behavior
~/Downloads/repro.mp4resolves to the environment's home directory, e.g./var/home/<user>/Downloads/repro.mp4, and the media preview loads the existing file.Actual behavior
The preview shows a Media unavailable toast with Media file was not found.
The original MP4 exists and is readable by the same user: a regular file, mode
0644, 1,477,238 bytes, with an MP4ftypheader. Reading its bytes succeeded. No permission changes were needed.Impact
Minor bug or occasional failure
Home-relative media links cannot be opened on this home-directory layout; an absolute link avoids the path-resolution problem.
Version or commit
Observed in desktop
0.0.45-nightly.20261002.2584.The same unresolved-tilde code is still present in
v0.0.46-nightly.20261004.2648andmain @ 5a96895a85b43c838da6c89cf21068b99c003d5a. Those newer versions were checked in source, not through a fresh UI reproduction.Environment
Fedora Linux
44.20260929.0(COSMIC Atomic), Linux desktop AppImage. Home directory:/var/home/<user>. The issue occurs when opening a local media link from the chat.Logs or stack traces
No stack trace was captured. The on-screen error is:
Screenshots, recordings, or supporting files
Source investigation:
inferHomeFromCwdin the latest checked nightly recognizes only/Users/<user>,/home/<user>, and Windows Users paths. It returnsundefinedfor/var/home/<user>/..., soresolvePathLinkTargetleaves~/...unchanged.~/...as relative to the workspace, yielding a nonexistent path such as<project>/~/Downloads/repro.mp4.The older closed issue #263 concerns entering a project path in Add Project; this report concerns media links in chat.
Workaround
Suggested workaround: use a full absolute Markdown destination, for example:
This bypasses home inference. The file's absolute path was verified readable; playback through the replacement link was not separately verified.