Project

General

Profile

Actions

Bug #10813

closed

Dashboard - dynamic CPU speed element disappears and reappears [cosmetic / annoying]

Added by Braden McGrath over 4 years ago. Updated over 4 years ago.

Status:
Not a Bug
Priority:
Very Low
Assignee:
-
Category:
Dashboard
Target version:
-
Start date:
08/03/2020
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.5-p1
Affected Architecture:
amd64

Description

I've only tested this on 2.4.5-p1 but I believe it's been around for a while. I am on amd64 arch, with an Atom C2558.

I have PowerD enabled, so the CPU clock speed changes with load.

The specific problem element in the HTML is the "cpufreq" div, which appears in the "System Information" dashboard widget, in the "CPU Type" line of the table.
It appears to correctly refresh and show lower CPU speeds, but then at times disappears entirely. This causes the table data to keep shifting back and forth vertically by one line.

I've attached screenshots of both states with Chrome's element inspector open to that portion of the HTML.


Files

cpufreq visible.png (225 KB) cpufreq visible.png Braden McGrath, 08/03/2020 02:36 PM
cpufreq invisible.png (208 KB) cpufreq invisible.png Braden McGrath, 08/03/2020 02:36 PM
Actions #1

Updated by Jim Pingle over 4 years ago

  • Status changed from New to Not a Bug

It's done that way on purpose because it's redundant to show the CPU speed when it's at maximum, since the max CPU speed is already displayed.

Actions #2

Updated by Braden McGrath over 4 years ago

OK, that makes some amount of sense to me. But it still results in the text in the dashboard regularly shifting up and down.

I'd argue that while it's redundant to show the same speed twice, it would make more sense to just have a "current clockspeed:" line and simply change the number displayed. Or at least, keep a "blank line" there and replace that empty space with text as needed. It's distracting to see layout shifting around, the "motion" pulls your focus away from something else (like a graph, which you'd be expecting to move and watching). It smacks of poor web design, everybody hates it when a page keeps moving around when they're trying to use it.

My HTML ability is effectively zilch or else I'd provide a PR or two.

If Netgate feels this is a non-bug I'll just try to ignore the page shifting around. Sorry to waste anyone's time!

Actions

Also available in: Atom PDF