xdg-desktop-portal icon indicating copy to clipboard operation
xdg-desktop-portal copied to clipboard

Potential regression in the document portal

Open sonnyp opened this issue 7 months ago • 10 comments

Operating System

Fedora

XDG Desktop Portal version

1.18

XDG Desktop Portal version (Other)

1.18.2

Desktop Environment

GNOME

Desktop Environment (Other)

No response

Expected Behavior

rust works fine in the document portal

Current Behavior

rustc throws fs related errors such as

error: couldn't get the current directory of the process

Caused by:
  No such file or directory (os error 2)

or

error: Current directory is invalid: No such file or directory (os error 2)

error: could not compile `demo` (lib) due to previous error

Steps to Reproduce

  1. Install Workbench
  2. Open the Library
  3. Select the "Welcome" entry in Rust
  4. Make a change to a string or something
  5. Close window, it will prompt to save the project, do so
  6. In Workbench menu, open the project with "Open Project"
  7. Press Run

If you reproduce the issue, it will happen until reboot. A reboot might solve it

Anything else we should know?

Reproducible with: 1.18.2 Not reproducible with 1.18.0

sonnyp avatar Dec 04 '23 15:12 sonnyp