! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
make uptime timestamp customizable
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-systemload-plugin
Component:
General

Comments

Description Paolo Inaudi 2012-01-16 18:16:55 CET
unless you have a very high panel, 30px or so, you can only see 0 days in uptime. I'm a desktop user, and my pc is rarely on more than a few hours, so the days number is useless to me, and it is the only thing I can see. To see hours, I have to move mouse pointer over the indicator to see the tooltip.

My request is that I can configure this behaviour, for example showing only hours and minutes, or hours before days; not to show everything on one line, because that is too long.

I am using version 1.0.0-1 from debian testing repositories

$ dpkg -l | grep systemload
ii  xfce4-systemload-plugin              1.0.0-1                        system load monitor plugin for the Xfce4 panel


$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux testing (wheezy)
Release:	testing
Codename:	wheezy


really sorry if this is already fixed upstream but not in debian.

Thank you
Paolo
Comment 1 Cian Mc Govern 2012-02-07 17:35:24 CET
I've put a fix for this bug on my copy of this repository on github: https://github.com/cianmcgovern/xfce4-systemload-plugin

It's changeset e5a39dd63c268b489aea3f5ed46fafbf2bb05e05
Comment 2 Cian Mc Govern 2012-02-07 17:35:42 CET
I've put a fix for this bug on my copy of this repository on github: https://github.com/cianmcgovern/xfce4-systemload-plugin

It's changeset e5a39dd63c268b489aea3f5ed46fafbf2bb05e05
Comment 3 Landry Breuil editbugs 2012-04-18 17:09:02 CEST
I dont really see the point of adding yet another set of options for that. Instead, we should show either 'X days' if days > 0, or either "hh:mm". "0 days" is a totally useless information.... That way, we only use a single label instead of two, and the full info is still available in tooltip.

That's what http://git.xfce.org/panel-plugins/xfce4-systemload-plugin/commit/?id=41a698accf7cdc726eb3707c9a06d7fd4652481c does.
Comment 4 Paolo Inaudi 2012-04-19 18:46:19 CEST
(In reply to comment #3)
> I dont really see the point of adding yet another set of options for that.
> Instead, we should show either 'X days' if days > 0, or either "hh:mm". "0
> days" is a totally useless information.... That way, we only use a single
> label instead of two, and the full info is still available in tooltip.
> 
> That's what
> http://git.xfce.org/panel-plugins/xfce4-systemload-plugin/commit/
> ?id=41a698accf7cdc726eb3707c9a06d7fd4652481c does.

I think is a very good resolution, well done. Thanks
Paolo

Bug #8348

Reported by:
Paolo Inaudi
Reported on: 2012-01-16
Last modified on: 2012-04-19

People

Assignee:
Landry Breuil
CC List:
3 users

Version

Attachments

Additional information