|
Re: Virtual tree viewer refresh bug [message #909065 is a reply to message #908921] |
Thu, 06 September 2012 13:19 |
Tim Buschtoens Messages: 396 Registered: July 2009 |
Senior Member |
|
|
Hi.
I tested it against RAP 2.0M1 and SWT. Seems fine in SWT, while items
indeed contain the wrong text in RAP. It's not a rendering glitch
either, rather a bug in the RAP JFace implementation. Could you open a
bugzilla entry for this issue?
Greetings,
Tim
Am 06.09.2012 10:27, schrieb Ken Wenzel:
> Hello,
>
> RAP's virtual tree viewer implementation has a potential bug when refreshing elements.
> I've created a simple application to demonstrate this.
>
> The tree viewer starts with the following contents:
>
>
> Afterwards, when 'Test' is pressed, node '2' is moved below node '1' and treeviewer.refresh() is called.
>
> This leads to the following representation:
>
>
> As can be seen, node '3' now contains the wrong child '2.1' which actually belongs to node '2'.
> I've debugged this some time ago and I've seen that the underlying TreeItems really contain the wrong elements after some stage in the refresh process.
>
> I would be glad if you could help me, since many of our tree viewers are based on ILazyTreeContentProvider's.
>
> Best regards,
> Ken
>
--
Tim Buschtöns
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
Powered by
FUDForum. Page generated in 0.03403 seconds