Repository navigation
sysmon: fix the disk stats layout and the disk order - #4128
Merged
Merged
Conversation
The drive stats list took 40% of the card however wide the window got, leaving a large gap between names and values. Cap its width so the chart takes the rest. dgop only reports a response time for samples with I/O, so the row came and went on idle disks and moved everything below it. Busy and Response time now stay listed with a dash when there is no value, like the Performance disk pane. The Performance rail sorted disks by device name with shorter prefixes first, which put sda above nvme0n1 while the Disks tab has them the other way around. It now follows the drive list.
dux-ci Bot
pushed a commit
that referenced
this pull request
Nov 4, 2026
Port 2.1 (cherry picked from commit d000a8a)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Some small fixes for the disks in the system monitor.
The stats list next to the chart in the Disks tab took 40% of the card however wide the window was, which left a lot of space between the names and the values. It now has a maximum width and the chart takes the rest.
Response time only has a value when the disk did something since the last refresh, so on idle disks the row came and went and moved the whole list. It now stays in the list and shows a dash when there is no value, like the disk page in Performance already does. Busy does the same, since it disappeared for sleeping disks.
The disks in Performance now have the same order as in the Disks tab. Before,
sdawas listed abovenvme0n1in Performance and below it in the Disks tab.Type of change
Related issues
Screenshots / video
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings