xfce4-sensors label with same color of panel

Bug #1271982 reported by Sergio Benjamim on 2014-01-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xfce4-sensors-plugin (Ubuntu)

Bug Description

When you add xfce4-sensors in the panel, it is not possible to see easily it, the label has black color, almost the same color of the panel. So, sometime you think you didn't add the plugin.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xfce4-sensors-plugin 1.2.5-2
ProcVersionSignature: Ubuntu 3.13.0-5.20-generic 3.13.0
Uname: Linux 3.13.0-5-generic x86_64
ApportVersion: 2.13.1-0ubuntu1
Architecture: amd64
Date: Thu Jan 23 18:05:38 2014
InstallationDate: Installed on 2014-01-09 (14 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140109)
 PATH=(custom, no user)
SourcePackage: xfce4-sensors-plugin
UpgradeStatus: No upgrade log present (probably fresh install)

Pretty straight forward, see URL for a snapshot.

Tried on several different midnight themes.

The CPU temperature by default is in Black, but it does not change to white using the dark theme.

I am not quite sure whether I really want to turn the default of black into the default foreground of the theme, especially as nowadays each sensors class has its own color assigned semi-dynamically. And from the very first versions on, colors could be adapted easily anyway.

Any more opinions on this?

Created attachment 2139

Failed attempt

This is embarrasing; I actually didn't notice I could edit the temperature in
Sensor plugin > Properties and double-clicking.

On a tangent, could the "Sensors" text label be set it to the theme's fg? I
think code should be:

gtk_widget_modify_fg(sensors->panel_label_text, GTK_STATE_NORMAL, NULL);

But I can't manage to apply this (what I've tried with is in attached

theme-independent concept of colours in sensors-plugin solves the issue automatically.

Sergio Benjamim (sergio-br2) wrote :
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu Package testing tracker.

A list of all reports related to this bug can be found here:

tags: added: package-qa-testing
Changed in xfce4-sensors-plugin:
importance: Unknown → Low
status: Unknown → Invalid

The "Sensors" label is white text on black in Xubuntu 18.04.

Changed in xfce4-sensors-plugin (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.