darktable-org / darktable-org/darktable

Making use of XDG Desktop Portals for file opening on Linux

Open
#20,154 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

no-issue-activity
Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is your feature request related to a problem? Please describe.

The Flatpak currently requires quite permissive filesystem permissions so DT can be able to open files and folders correctly.

Describe the solution you'd like

If the application instead made use of the XDG Desktop Portals these would open up native file pickers (these would of course also look more integrated into the OS and may be easier to use) on Linux and handle all of the sandboxing natively. As an added benefit, the portals work just as well outside of the Flatpak sandbox so there would not need to be any specific handling just for Flatpak.

Alternatives

Not really if we want correct file handling through the sandbox.

Additional context

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 locating darktable's Linux file and folder opening entry points and reviewing how Flatpak filesystem permissions currently support them. Read the linked XDG Desktop Portals documentation; done means native portal-based opening works inside the Flatpak and remains functional outside the sandbox without special Flatpak handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.