Problem rendering my extended TreeView control in Mono

View: New views
4 Messages — Rating Filter:   Alert me  

Problem rendering my extended TreeView control in Mono

by Jeremy Morton-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I've provided a bug report of the problems Mono has rendering my
extended TreeView control here:
https://bugzilla.novell.com/show_bug.cgi?id=542481

Just thought I'd post to see whether anyone on this list had any ideas.
  I'm pretty sure the problems are caused by bugs in Mono, but if there
were a way to rewrite my code to prevent teh rendering problems in Mono
that'd be cool.

Best regards,
Jeremy Morton (Jez)
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@...
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Re: Problem rendering my extended TreeView control in Mono

by Jonathan Pobst :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This should be fixed.  Details on your bug.

Jonathan


Jeremy Morton wrote:

> Hello,
>
> I've provided a bug report of the problems Mono has rendering my
> extended TreeView control here:
> https://bugzilla.novell.com/show_bug.cgi?id=542481
>
> Just thought I'd post to see whether anyone on this list had any ideas.
>   I'm pretty sure the problems are caused by bugs in Mono, but if there
> were a way to rewrite my code to prevent teh rendering problems in Mono
> that'd be cool.
>
> Best regards,
> Jeremy Morton (Jez)
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list@...
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
>

_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@...
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Re: Problem rendering my extended TreeView control in Mono

by Jeremy Morton-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the prompt response!  In what release of Mono will your fix
be included?  Interestingly, that manual invalidating of the node you
suggested doesn't seem to be working.  I run this at the end of
nodeActivated:
                                Rectangle rect = new Rectangle(0, node.Bounds.Top,
node.Bounds.Width, node.Bounds.Height);
                                node.TreeView.Invalidate(rect);

... but Mono still doesn't refresh the state icons when I click on them.

Best regards,
Jeremy Morton (Jez)

Jonathan Pobst wrote:

> This should be fixed.  Details on your bug.
>
> Jonathan
>
>
> Jeremy Morton wrote:
>> Hello,
>>
>> I've provided a bug report of the problems Mono has rendering my
>> extended TreeView control here:
>> https://bugzilla.novell.com/show_bug.cgi?id=542481
>>
>> Just thought I'd post to see whether anyone on this list had any
>> ideas. I'm pretty sure the problems are caused by bugs in Mono, but if
>> there were a way to rewrite my code to prevent teh rendering problems
>> in Mono that'd be cool.
>>
>> Best regards,
>> Jeremy Morton (Jez)
>> _______________________________________________
>> Mono-winforms-list maillist - Mono-winforms-list@...
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>>
>
>
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@...
http://lists.ximian.com/mailman/listinfo/mono-winforms-list

Re: Problem rendering my extended TreeView control in Mono

by Stifu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unfortunately, branching for Mono 2.6 happened not long ago... So, unless it gets backported to the 2.6 branch, it won't be there before 2.8.

Jeremy Morton-4 wrote:
Thanks for the prompt response!  In what release of Mono will your fix
be included?  Interestingly, that manual invalidating of the node you
suggested doesn't seem to be working.  I run this at the end of
nodeActivated:
                                Rectangle rect = new Rectangle(0, node.Bounds.Top,
node.Bounds.Width, node.Bounds.Height);
                                node.TreeView.Invalidate(rect);

... but Mono still doesn't refresh the state icons when I click on them.

Best regards,
Jeremy Morton (Jez)

Jonathan Pobst wrote:
> This should be fixed.  Details on your bug.
>
> Jonathan
>
>
> Jeremy Morton wrote:
>> Hello,
>>
>> I've provided a bug report of the problems Mono has rendering my
>> extended TreeView control here:
>> https://bugzilla.novell.com/show_bug.cgi?id=542481
>>
>> Just thought I'd post to see whether anyone on this list had any
>> ideas. I'm pretty sure the problems are caused by bugs in Mono, but if
>> there were a way to rewrite my code to prevent teh rendering problems
>> in Mono that'd be cool.
>>
>> Best regards,
>> Jeremy Morton (Jez)
>> _______________________________________________
>> Mono-winforms-list maillist - Mono-winforms-list@lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>>
>>
>
>
_______________________________________________
Mono-winforms-list maillist  -  Mono-winforms-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list