Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23959 closed defect (fixed)

glib2, glib2-devel: Non-alphabetical sorting in Mac OS X 10.6

Reported by: laffodil@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: nox@…
Port: glib2, glib2-devel, gtk2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

All GTK+ apps' "file open" dialogs do not sort alphabetically in Snow Leopard. For example, it will look something like this:

AAA
CCC
BBB
FFF
DDD
EEE

This problem has been researched by a maintainer of Gimp for OSX. It was found that disabling "HAVE_CARBON" in "glib/gunicollate.c" fixes the sorting bug. The thread is here:

http://sourceforge.net/tracker/index.php?func=detail&aid=2898204&group_id=211713&atid=1018863

Can you correct this by including a new patch that disables "HAVE_CARBON" in "glib/gunicollate.c" until upstream fixes it?

Change History (4)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Keywords: glib glib2 sort alphabetical snow leopard removed
Owner: changed from macports-tickets@… to ryandesign@…

Please remember to cc the maintainer.

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: glib2-devel added
Status: newassigned
Summary: Non-alphabetical sorting in OSX 10.6.x with glib2-2.22.4glib2, glib2-devel: Non-alphabetical sorting in Mac OS X 10.6

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: nox@… added
Port: gtk2 added
Resolution: fixed
Status: assignedclosed

Patched glib2 in r64476 and glib2-devel in r64477. Did not patch gtk2 because although the change suggested in upstream r112 looks reasonable, it causes the sort order to be totally wrong in my tests. So gtk file pickers collate case-sensitively for now until someone can suggest how to remedy this.

comment:4 Changed 15 years ago by laffodil@…

That patch did the trick, thanks!

Note: See TracTickets for help on using tickets.