Skip to content

processlist: fit seven-digit PIDs in the PID column - #4353

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:pid-column-width
Nov 20, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:pid-column-width

Conversation

@Conava

@Conava Conava commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Description

PIDs with seven digits were cut off with an ellipsis in the process list (popout and System Monitor window), since the kernel's default pid_max allows PIDs up to 4194304. But with the ..., those cut off PIDs took nearly as much space as the full PIDs would've taken and instead of cutting them off the design for the system monitor and its widgets should instead just allow for slightly larger PIDs.

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

Before:
screenshot_2026-11-20_18-29-53

After:
screenshot_2026-11-20_18-29-43

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

The kernel's default pid_max is 4194304, so PIDs reach seven digits and
the 5 em column cut them off with an ellipsis. 6 em fits them.
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 20, 2026
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: the PID width change in ProcessColumns.js and how it is used. ProcessRow.cellWidth and the header width in ProcessesView both read it, so cells and header stay aligned. The popout width is fixed, so the name column shrinks by one fontSizeSmall unit. No timers, bindings or other consumers affected. Model: claude-opus-5-5.

@bbedward
bbedward merged commit 2efec6d into duxlabs-dev:master Nov 20, 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