! 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 current usage bars densier
Status:
RESOLVED: MOVED
Product:
Xfce4-cpugraph-plugin
Component:
General

Comments

Description Martin 2020-04-25 18:57:48 CEST
Created attachment 9795 
ugly patch

Today it is common to have a CPU with 16+ cores/threads (mine Ryzen 3900X has 24) which makes current usage bars to take big space on the panel. My proposal is to make these bars densier. It won't be probably possible without replacing gtk_progress_bar with custom widget and drawing bars as strokes.

I have "hacked" the code for a proof of concept. Please see the diff and the attached image how does it look like. For the simplification I have sacrified the graph area.
Comment 1 Martin 2020-04-25 18:58:35 CEST
Created attachment 9796 
sample
Comment 2 Martin 2020-04-25 19:02:57 CEST
I am willing to imlpement it but I expect that somebody could propose a design for additional settings. I propose that settings could contain width, spacing and background color of the bars. Note that I never worked with Xfce code or GTK before.
Comment 3 Git Bot editbugs 2020-05-22 23:39:26 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-cpugraph-plugin/-/issues/6.

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 #16761

Reported by:
Martin
Reported on: 2020-04-25
Last modified on: 2020-05-22

People

Assignee:
Xfce-Goodies Maintainers
CC List:
0 users

Version

Attachments

ugly patch (1.65 KB, patch)
2020-04-25 18:57 CEST , Martin
no flags
sample (480 bytes, image/png)
2020-04-25 18:58 CEST , Martin
no flags

Additional information