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 633703 - Exported gnome-shell information is sometimes wrong
Exported gnome-shell information is sometimes wrong
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: gnome-power-manager
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks: 622451
 
 
Reported: 2010-11-01 14:33 UTC by Giovanni Campagna
Modified: 2010-11-19 22:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Do not expose the full device summary to gnome-shell (989 bytes, patch)
2010-11-07 19:44 UTC, Giovanni Campagna
none Details | Review

Description Giovanni Campagna 2010-11-01 14:33:13 UTC
See bug 622451
Comment 1 Giovanni Campagna 2010-11-07 19:44:45 UTC
Created attachment 174010 [details] [review]
Do not expose the full device summary to gnome-shell

gnome-shell will show percentages and times separately, using
provided data. Do not duplicate this information and instead only
send a localized name for the device.
Comment 2 Dan Winship 2010-11-17 14:03:20 UTC
oh, we need to get this (or something like it) in soon now that the power icon is committed in gnome-shell
Comment 3 Giovanni Campagna 2010-11-18 21:50:08 UTC
I would like to note that commit bb4a434d61d040e73e5986ee8a7375a2ae5f09c7 actually made things worse: now we're showing a stringified GIcon instead of the battery.
Of course, the icon is useful, but not as much as the device string (especially with all the translations already there).
Comment 4 Richard Hughes 2010-11-18 22:47:57 UTC
I've come to the conclusion that trying to export full text description is bad, as g-p-m can't possibly hope to get formatting that's correct for gnome-shell and gnome-control-center (and unity, etc). I think it's quite sane to construct the description in the shell and the control center. Plus, an icon is so much more useful.
Comment 5 Giovanni Campagna 2010-11-19 22:14:27 UTC
This has been fixed on the gnome-shell part.
Now the information is correct and complete.