Skip to content

wallpaper: store relative IPC paths as plain paths - #4441

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:wallpaper-ipc-relative-path
Nov 28, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:wallpaper-ipc-relative-path

Conversation

@Conava

@Conava Conava commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Description

Fix dms ipc call wallpaper set and setFor with a relative path. The path was saved as file:///home/user/... instead of a plain path.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

`wallpaper set` and `setFor` resolve a relative path against the home
folder, but StandardPaths.writableLocation returns a URL, so the joined
string became `file:///home/user/<path>`. That string was stored as the
wallpaper path and echoed in the reply. Use Paths.home through
Paths.strip, which gives the plain path.
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: wallpaper set/setFor relative-path resolution now uses Paths.strip(Paths.home) (yields a plain path without file://), removal of the QtCore import leaves no remaining StandardPaths use in the file, and qs.Common already provides Paths. Model: claude-opus-5-5.

@purian23
purian23 merged commit bcf7490 into duxlabs-dev:master Nov 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants