xfce4-sensors label with same color of panel

Bug #1271982 reported by Sergio Benjamim
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfce4 Sensors Plugin
Invalid
Low
xfce4-sensors-plugin (Ubuntu)
Fix Released
Undecided
Unassigned

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)
ProcEnviron:
 LANGUAGE=fr_FR
 TERM=xterm
 PATH=(custom, no user)
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
SourcePackage: xfce4-sensors-plugin
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , omsai (pariksheet-nanda) wrote :

Pretty straight forward, see URL for a snapshot.

Tried on several different midnight themes.

Revision history for this message
In , omsai (pariksheet-nanda) wrote :

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

Revision history for this message
In , Fabian Nowak (timystery) wrote :

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?

Revision history for this message
In , omsai (pariksheet-nanda) wrote :

Created attachment 2139
./panel-plugin/sensors-plugin.c

Failed attempt

Revision history for this message
In , omsai (pariksheet-nanda) wrote :

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 0.10.99.6 is in attached
patch)

Revision history for this message
In , Fabian Nowak (timystery) wrote :

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

Revision history for this message
Sergio Benjamim (sergio-br2) wrote :
Revision history for this message
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:
http://packages.qa.ubuntu.com/qatracker/reports/bugs/1271982

tags: added: package-qa-testing
Changed in xfce4-sensors-plugin:
importance: Unknown → Low
status: Unknown → Invalid
Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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