obsproject / obsproject/obs-browser

browser source CEF ignores XDG directory spec, creates $HOME/Downloads (Linux)

Open
#435 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/dependency
Dominant language
C++
Stars
904
Forks
267
Avg merge
1d 23h
Merged PRs (30d)
2

Description

Operating System Info

Other

Other OS

Arch Linux

OBS Studio Version

30.0.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/0YTohDKNSFmktlBz

OBS Studio Crash Log URL

No response

Expected Behavior

No unnecessary folder creation, or respect for XDG desktop specification (ie: xdg-user-dir DOWNLOAD).

Current Behavior

launching OBS with browser sources added (active or not) creates a Downloads directory in $HOME, ignoring $XDG_DOWNLOAD_DIR.

Steps to Reproduce
  1. Lauch OBS browser on Linux with browser source and XDG_DOWNLOAD_DIR set to something besides $HOME/Downloads
  2. Observe creation of ~/Downloads

...

Anything else we should know?

No response

Contributor guide

No contributing guide indexed for this repository

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

Reproduce on Arch Linux with XDG_DOWNLOAD_DIR set away from $HOME/Downloads, using the browser source described in the issue. Trace browser-source startup and CEF initialization to find what creates the directory. Done means OBS no longer creates an unnecessary ~/Downloads directory and respects the configured download location.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.