! 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 !
Suggestion: have fixed width text - it keeps changing width
Status:
RESOLVED: MOVED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description -|&&|- 2019-10-19 16:08:57 CEST
The sensors plugin is fantastic, thank you.

I have a minor suggestion.

I would like to suggest to have all text as fixed width (easiest would be to prepend quantities with 0's, e.g. sprintf("%04d", rpm); ).

My cpu fan's rpms changes constantly from 900 to 1100 rpm and the sensors plugin keeps changing its size when a 3-digit rpm changes to a 4-digit rpm and vice versa. The result is that all other apps on the panel are constantly shifted because of sensor's changed width.

It's quite distracting to constantly see the panel's apps shifting but it is not the end of the world!

bw,
a.

Xfce4 Sensors 1.2.6
Fedora 30
Xfce 4.14
Comment 1 Fabian Nowak editbugs 2019-10-20 20:45:27 CEST
Hi,

thanks for the feedback. You are absolutely right; I noticed the changes in width right from the beginning, but did not take any further actions on it because I believed no one to update the text display within few seconds. Apart from that, most people probably use the bars?

The problem is that the values range from 1 to -100000,0; so the only easy option I can think of is %+06d; using pretty much space.
Maybe I can somehow force the label's width; this will work as long as the text doesn't become wider again.
Comment 2 Git Bot editbugs 2020-05-23 00:43:19 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-sensors-plugin/-/issues/7.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16062

Reported by:
-|&&|-
Reported on: 2019-10-19
Last modified on: 2020-05-23

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information