Skip to content

processlist: stop reusing rows to fix ghosted entries - #4356

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:popout-ghosting
Nov 20, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
Conava:popout-ghosting

Conversation

@Conava

@Conava Conava commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Description

Rows in the process list (popout and System Monitor window) could get drawn on top of each other after the list updated, so faded names and values from other processes showed behind the current ones.
I deactivated reusing objects for those rows but only those since turning reuse off costs some performance and this is the only place where I could confirm it so far.
Same things is for example used in the wallpaper grid but I could not spot any ghosting there yet, if anyone does it's the same simple fix.

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

screenshot_2026-11-20_19-26-46

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

With reuseItems on, the list's ScriptModel updates (sort changes,
processes appearing and exiting, scrolling) can leave pooled rows
painted under the live ones. They show through the translucent row
backgrounds as faded names and values from other processes, in the
bar popout and the System Monitor window alike.

In a minimal test list, Qt's ListModel stayed clean with reuseItems
on and ScriptModel stayed clean with it off, so only this list drops
it rather than every reusing view.
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

Looks good: dropping reuseItems falls back to the ListView default (false), and DListView doesn't set it.
No issues found.
Checked: ProcessesView.qml list setup, DListView/DListItem pooling hooks, ScriptModel objectProp keying (rows stay stable across samples, so it doesn't add churn while idle). Model: claude-opus-5-5.

@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 20, 2026
@bbedward
bbedward merged commit ec406bf 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