After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644357 - Inconsistency in power status menu layout/contents
Inconsistency in power status menu layout/contents
Status: RESOLVED OBSOLETE
Product: gnome-shell
Classification: Core
Component: general
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-09 23:39 UTC by Nirbheek Chauhan
Modified: 2013-08-29 23:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (682.61 KB, image/png)
2012-11-20 15:10 UTC, Allan Day
Details

Description Nirbheek Chauhan 2011-03-09 23:39:28 UTC
All the menu items for the shell status applets are sans-icons, except the power status. This makes that menu look out of place amongst the others.

Presumably the menu items of the power applet have icons so that multiple power statuses can be monitored at a glance. However, the icon distorts the text alignment and is redundant when you only have one power source; which is the most common case. Perhaps the icons should only be shown if you have more than one power source?

One could argue that it would be jarring to show icons depending on whether more than one device is connected, but the icon is already conditional on whether the power cord is connected (or is this a bug?).
Comment 1 Allan Day 2012-11-20 12:15:51 UTC
The current menu is somewhat different from the design, and I agree that it could be improved:

http://git.gnome.org/browse/gnome-shell-design/plain/mockups/static/power-menu.png

In the single battery case [1], the icon in the menu is a repetition of the one that is already in the top bar. Also, the current "Laptop battery" string is fairly useless. It would be awesome to the current icon and string with a string that indicates the time remaining, which would actually be *really* useful.

In the multiple battery case, I would show time remaining in the top line of the menu, and then display a percentage against a menu item for each battery (each of which would have an icon):

+-------------------------------+
| 11 minutes remaining          |
| ----------------------------- |
| [] Primary Battery         3% |
| [] Secondary Battery       3% |
| ----------------------------- |
| Power Settings                |
+-------------------------------+

[1] When I say battery here, I mean laptop battery - not a UPS or an input device that has its own battery.
Comment 2 Allan Day 2012-11-20 15:10:37 UTC
Created attachment 229478 [details]
screenshot

I saw this earlier - it appears that we sometimes show time remaining with no icon, and we sometimes show an icon and "Laptop battery". :/
Comment 3 Stéphane Démurget 2012-11-20 15:17:03 UTC
Talked with Richard about this, but this might need a patch in
gnome-settings-daemon too too for the primary device definition to be changed
(it does not include the discharging devices ATM for instance).

I'd like to try that, and I'll check for the icon presence :)
Comment 4 Allan Day 2012-11-29 17:53:21 UTC
It seems that one situation where we do show the icon and "Laptop battery" is when the device is plugged in and is fully charged. In this case, I wouldn't show the icon and use "Fully charged" for the string.
Comment 5 Florian Müllner 2013-05-13 20:27:46 UTC
Is this still relevant considering the mega-menu redesign? If not, it should probably be removed from the every-detail-matters list ...
Comment 6 Allan Day 2013-08-29 23:48:34 UTC
(In reply to comment #5)
> Is this still relevant considering the mega-menu redesign? If not, it should
> probably be removed from the every-detail-matters list ...

Yeah this is obsolete.