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 673187 - lg does not sort attributes alphabetically in introspection
lg does not sort attributes alphabetically in introspection
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-30 15:02 UTC by Kamil Páral
Modified: 2012-03-30 16:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example introspection (156.35 KB, image/png)
2012-03-30 15:02 UTC, Kamil Páral
  Details
lookingGlass: Sort introspected property names (1.03 KB, patch)
2012-03-30 15:17 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Kamil Páral 2012-03-30 15:02:30 UTC
Created attachment 210967 [details]
example introspection

It's very hard to search for some attribute in an object introspection when they are not sorted via alphabet. Please sort them, it will improve lg's benefit a lot.

Example attached - try to find an attribute that starts with "status", but you don't know the full name. Imagine there are 100 attributes in that object.

Fedora 17
Comment 1 Jasper St. Pierre (not reading bugmail) 2012-03-30 15:17:19 UTC
Created attachment 210971 [details] [review]
lookingGlass: Sort introspected property names
Comment 2 Colin Walters 2012-03-30 15:53:39 UTC
Review of attachment 210971 [details] [review]:

Looks good.
Comment 3 Jasper St. Pierre (not reading bugmail) 2012-03-30 15:58:09 UTC
Attachment 210971 [details] pushed as 348044b - lookingGlass: Sort introspected property names
Comment 4 Kamil Páral 2012-03-30 16:01:31 UTC
Wow, that was blazing fast. Thanks, guys!