Skip to content

fix: show platform display path instead of /tauri/ virtual path for media files - #3032

Merged
abose merged 1 commit into
mainfrom
zz
Jul 23, 2026
Merged

fix: show platform display path instead of /tauri/ virtual path for media files#3032
abose merged 1 commit into
mainfrom
zz

Conversation

@abose

@abose abose commented Jul 23, 2026

Copy link
Copy Markdown
Member

Media and image preview panes used makeProjectRelativeIfPossible(), which returns out-of-project paths unmodified, leaking the /tauri/ virtual path prefix into the header for files outside the current project. Use getProjectRelativeOrDisplayPath() so the path is run through Phoenix.app.getDisplayPath() and shown as the real platform path.

…dia/image preview header

Media and image preview panes used makeProjectRelativeIfPossible(), which
returns out-of-project paths unmodified, leaking the /tauri/ virtual path
prefix into the header for files outside the current project. Use
getProjectRelativeOrDisplayPath() so the path is run through
Phoenix.app.getDisplayPath() and shown as the real platform path.
@sonarqubecloud

Copy link
Copy Markdown

@abose
abose merged commit e05211f into main Jul 23, 2026
12 of 21 checks passed
@abose
abose deleted the zz branch July 23, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant