elvetemedve / gnome-shell-extension-system-monitor

Gnome Shell extension for displaying resource usage
GNU General Public License v3.0
87 stars 15 forks source link

[RFE] Popup menu: Don't add empty buttons #19

Open genodeftest opened 7 years ago

genodeftest commented 7 years ago

In the popup menu, I often have less than 3 items below "Network" and the "System load" column has just 2 items anyway. Although, both columns are filled with empty clickable buttons to contain 3 items. It is a bit counter-intuitive to have clickable buttons which no text nor icon and no action assigned.

elvetemedve commented 7 years ago

In the first version labels were removed and re-created after each refresh cycle. But I realised that navigation by keyboard arrows don't work in that case, because the focus will be lost after the GUI update. That's why I stay at the current solution where labels are created once, and only the text of it will be changed during GUI update.

BTW what rather annoys me is the lack of tooltip windows in GTK (at least I did not find the documentation for it). It would be better to show long process names in a tooltip, than expand the label size like it is now.

Ideas or pull requests are welcome.

Cherkah commented 6 years ago

hi, thank for this applet.

following above, would be great to affecte some functions to there empty button ina menu: network -> I.P adress &/or MAC adress system-load -> shortcut gnome-system-monitor (should be the only "clickable" thing) regards