← Back to team overview

indiv-screenlets-dev team mailing list archive

[Bug 495380] Re: [Sysmonitor] Sysmonitor fails to show Cpu Status for Quad Core Cpu correctly

 

Had a look at the current source code for Maverick.  I think there are
the following bugs

1) For >4 cores, SysmonitorScreenlet.py, counts these from 1-4 instead
of 0-3, causing the array to go out of bounds, hence show only 3 of the
cores.  This should be reset, and the hardcoded range removed, as this
will fail with anything greater than 4 cores.

2) The positioning used to show the CPU graphs is off, again due to the
CPU counting.

I am hacking a version of the code and can now see 4 cores.  My working
is attached, but please note the code is very rough.

** Attachment added: "Dirty fixes"
   https://bugs.launchpad.net/indiv-screenlets/+bug/495380/+attachment/2117303/+files/SysmonitorScreenlet.py

-- 
You received this bug notification because you are a member of
Individual Screenlets Developers, which is subscribed to Individual
Screenlets.
https://bugs.launchpad.net/bugs/495380

Title:
  [Sysmonitor] Sysmonitor fails to show Cpu Status for Quad Core Cpu
  correctly

Status in Screenlets — individual widgets development:
  Confirmed

Bug description:
  Sysmonitor works correctly on my Laptop (Core 2 Duo CPU), but on my
  Desktop (Intel Core 2 Quad CPU Q9550), only three of the CPU Status
  boxes are displayed, and the third one is near the bottom righthand
  corner of the Sysmonitor, such that NO subsequent information is
  visible!