workbenchdev / workbenchdev/Workbench

Rust projects cannot be run

Open
#846 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

rust
Dominant language
JavaScript
Stars
844
Forks
91
Avg merge
7h 12m
Merged PRs (30d)
1

Description

There is a regression in xdg-document-portal 1.18.2
https://github.com/flatpak/xdg-desktop-portal/issues/1234

It prevents Rust projects (the ones saved somewhere on the disk) from being Run.

Downgrading to xdg-document-portal 1.18.0 solves it.
An other option is to give filesystem access to Workbench with Flatseal or

cd my-cool-project
flatpak override --user --filesystem=$PWD re.sonny.Workbench
# restart Workbench

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

Start by reproducing the failure when running a Rust project saved on disk with xdg-document-portal 1.18.2, then compare behavior with version 1.18.0. The issue is done when such projects run in Workbench without manually granting filesystem access through Flatseal or a Flatpak override.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.