Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-04-17 Thread Carlos Alberto Cortez
Hey! This should be fixed in rev 155655 (svn). Thanks, Carlos. 2010/3/24 Latif Khalifa lati...@radegastclient.org I finally managed to figure out under what circumstances the bug shows. I have a single root node, creatively labeled root. In that case TreeView ignores the sorter and sorts

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-24 Thread Latif Khalifa
I finally managed to figure out under what circumstances the bug shows. I have a single root node, creatively labeled root. In that case TreeView ignores the sorter and sorts alphabetically. Here is my simple Compare() that is supposed to sort nodes in reverse alphabetical order: public class

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-23 Thread Carlos Alberto Cortez
Hey, This should be working. Maybe you hit a bug, but it seems, based on the other information, that you are using an old version. Take a look at that and let us know. Carlos. 2010/3/23 Latif Khalifa lati...@radegastclient.org Hi, I'm trying to cure a few last quirks an an application I'm

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-23 Thread Latif Khalifa
Hello, I have had this problem with both 2.4.2.3 and 2.6.3. Identical code works on .net side, in mono's TreeView sorting is always alphabetic and my Compare() never gets called. Latif On Tue, Mar 23, 2010 at 4:00 PM, Carlos Alberto Cortez calberto.cor...@gmail.com wrote: Hey, This should be

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-23 Thread Carlos Alberto Cortez
Hey! I tested this on those same versions, and I cannot get the error. Could you cook a small test case? Carlos. 2010/3/23 Latif Khalifa lati...@radegastclient.org Hello, I have had this problem with both 2.4.2.3 and 2.6.3. Identical code works on .net side, in mono's TreeView sorting is

Re: [Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-23 Thread Latif Khalifa
Just to clarify, I don't get any error messages either, it just doesn't use the custom IComparer class I specify. Are you able to sort nodes in say reverse alphabetical order? If yes, I will try to cook up a small test case. On Tue, Mar 23, 2010 at 7:03 PM, Carlos Alberto Cortez

[Mono-winforms-list] TreeView.TreeViewNodeSorter seem to have no effect

2010-03-22 Thread Latif Khalifa
Hi, I'm trying to cure a few last quirks an an application I'm porting from windows. The problem I'm having is that setting TreeView.TreeViewNodeSorter seem to have no effect. The nodes gets sorted alphabetically and Compare() in my IComparer class never gets called. Any ideas? Also TreeView