[Bug 355255] New: yast2 sw_single sort problem still not solved
https://bugzilla.novell.com/show_bug.cgi?id=355255 User casualprogrammer@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=355255#c2 Summary: yast2 sw_single sort problem still not solved Product: openSUSE 11.0 Version: Alpha 1 Platform: x86 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: casualprogrammer@yahoo.com QAContact: jsrain@novell.com CC: sh@novell.com, casualprogrammer@yahoo.com, crrodriguez@novell.com Found By: Beta-Customer As pointed out in Bug 350809 Comment #2 "packages not sorted in any fashion, clicking on the column header ( which would normally sort after this columns content ) achieves nothing." Clicking on the column header now sorts the items displayed, but sort order is binary not alphabetical. Consider testfile containing: cat testfile Abc abc bcd BCD Bcd BcD 123 4bb 3nn zyp bte 654 987 234 Ber Reg GGv GGG ggg ggV then cat testfile | sort 123 234 3nn 4bb 654 987 Abc BCD BcD Bcd Ber GGG GGv Reg abc bcd bte ggV ggg zyp which is a binary sort enforced by setting RC_LC_ALL to C in /etc/sysconfig/language What I ( and most probably the majortity of useres ) would prefer is an alphabetical sort order as cat testfile | sort 123 234 3nn 4bb 654 987 abc Abc bcd Bcd BcD BCD Ber bte ggg GGG ggV GGv Reg zyp As sort --help points out : *** WARNING *** The locale specified by the environment affects sort order. Set LC_ALL=C to get the traditional sort order that uses native byte values. So a fix would involve making yast2 sw_single honor the locale environment variables for sort order. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=355255
User casualprogrammer@yahoo.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c1
--- Comment #1 from Casual J. Programmer
https://bugzilla.novell.com/show_bug.cgi?id=355255
Casual J. Programmer
https://bugzilla.novell.com/show_bug.cgi?id=355255
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=355255
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=355255
User holler@nefkom.info added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c2
Hans-Peter Holler
https://bugzilla.novell.com/show_bug.cgi?id=355255
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c3
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=355255
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c4
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=355255
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c5
Michael Andres
This uses zypp::ResObject::operator<() , so it is something to be handled in libzypp.
No Stefan. Zypp's pool is a set and has no specific order and it would be counterproductive to define any specific/expensive order here. I dont't think it's hard for the UI to define the sort order for each column it displays. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=355255
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c6
Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=355255
User ma@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c7
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=355255
User dmacvicar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c8
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=355255
User sh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c9
--- Comment #9 from Stefan Hundhammer
https://bugzilla.novell.com/show_bug.cgi?id=355255
User holler@nefkom.info added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c11
Hans-Peter Holler
https://bugzilla.novell.com/show_bug.cgi?id=355255
User dmacvicar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c13
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=355255
User dmacvicar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c14
--- Comment #14 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=355255
User dmacvicar@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c15
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=355255
User swamp@suse.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=355255#c16
Swamp Script User
participants (1)
-
bugzilla_noreply@novell.com