Skip to content

sysmon: fix process names of dux apps - #4263

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:fix-shell-app-names
Nov 14, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:fix-shell-app-names

Conversation

@Conava

@Conava Conava commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Description

Since the switch to dux-qt-base, the launcher and the UI of the Dux apps run from the same binary, so the system monitor folds them into one row. That row showed up as "dms (1)" with "dms" and "Dux Modular Shell" inside, and the same for Files and Calendar.

The folded row is now named after the app, with "dms" (the launcher) and "Dux Modular Shell (UI)" inside. Merged rows also count all their processes now, so a row of two shows (2) like its details do.

Also some more icon fixes in here: Processes now only inherit the icon of a parent that is an app, so helpers the shell runs in the background (yay for the update check, for example) no longer show the shell icon.

For some reason this is more likely to trigger a crash related to dux-qt-base. That needs to be fixed first, details were shared in discord (Will turn that into an issue to track if it gets lost there).
Fix is in and confirmed working, no more crashes. This can be merged

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

Current:
screenshot_2026-11-13_13-32-36

Changed:
screenshot_2026-11-13_13-33-05

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

Since dux-qt-base, a Dux app's launcher and its UI run the same binary
("dms run" and "dms qs -p ..."), so the process list folds them into
one row. The row was named after the launcher's command, and the
lookup that names an app's qs no longer matched the new command line.

The folded row now shows the app's name and icon, the launcher its
command, and the UI process "<app> (UI)". A qs only counts under a
parent running the same binary, so a reparented one doesn't relabel
systemd. Merged rows count all their processes, like the detail strip.

Processes inherit an icon only from a parent app with a desktop entry,
so whatever dms runs (yay, jq) no longer shows the shell icon. The
dms/dsearch logo row prefers the installed shell icon.
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 13, 2026
@Conava

Conava commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

/claude review

@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: launcher/qs pairing in indexProcesses (top-level and merged members), appEntry early return for merged vs member launcher rows and its cache keys, displayName "(UI)" marking, appIcon fallback to the shell entry and the removed passesIcon path, childCount + 1 against the detail strip count, reactivity of the new bindings, I18n usage, Theme tokens and catalog files. Model: claude-opus-5-5.

@Conava
Conava marked this pull request as ready for review November 13, 2026 21:43
@purian23
purian23 merged commit ec6893d into duxlabs-dev:master Nov 14, 2026
5 of 6 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