Closed philipstarkey closed 10 years ago
Original comment by Chris Billington (Bitbucket: cbillington, GitHub: chrisjbillington).
Resolves Issue #24: Globals with fixed length string are not sorted correctly in Qt.
For raw (unevaluated) globals values, units and expansions, fixed lenth strings (np.str_) are converted to Python unicode strings on read.
For evaluated globals, fixed length strings are converted to python str().
→ \<\<cset 6c33a91d1f36dbf6c54b799d3a00c6aa56d501c2>>
Original report (archived issue) by Shaun Johnstone (Bitbucket: shjohnst, GitHub: shjohnst).
GTK runmanager used fixed length strings to store globals, whereas Qt runmanager uses variable length strings.
In Qt runmanager, if you load a globals file which was created with GTK runmanager, the variables which were created in GTK will not sort by value, units or expansion, only name. Once you have modified one of these columns for a global, it will start sorting as expected, amongst other globals which have been edited or created in Qt runmanager.