Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Treeviewer Scrollbar vanishing act(Possible bug for treeviewers)
Treeviewer Scrollbar vanishing act [message #523919] Mon, 29 March 2010 19:59 Go to next message
Ritter is currently offline RitterFriend
Messages: 4
Registered: March 2010
Junior Member
While working with Treeviewers, I stumbled on an interesting issue and wondered if anyone else has seen this/knows a work around:

If you create a TreeViewer (or even a Tree) with over 65535 elements (the length of a short) and then expand them all, the vertical scroll bar disappears.

I've been digging pretty deep trying to find where/why this might be happening, but so far I haven't found much. Should this be reported as a bug? Or is there a simple work around that I should be using?

Thanks,
-Ritter
Re: Treeviewer Scrollbar vanishing act [message #524279 is a reply to message #523919] Wed, 31 March 2010 07:02 Go to previous messageGo to next message
Ralf Ebert is currently offline Ralf EbertFriend
Messages: 168
Registered: July 2009
Senior Member
Hi Ritter,

> If you create a TreeViewer (or even a Tree) with over 65535 elements
> (the length of a short) and then expand them all, the vertical scroll
> bar disappears.

sounds a lot like a bug to me. Could you produce a snippet that shows the problem similar
to that one:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet15.java?view=co

and file a bug for the Platform > SWT component?

Greetings,

Ralf


--
http://www.ralfebert.de/blog/
http://twitter.com/ralfebert/
Re: Treeviewer Scrollbar vanishing act [message #524296 is a reply to message #524279] Wed, 31 March 2010 13:09 Go to previous message
Ritter is currently offline RitterFriend
Messages: 4
Registered: March 2010
Junior Member
Thanks Ralf,

Submitted the bug - hope someone can get to it soon!

Bug 307727

-Ritter
Previous Topic:add a tooltips for treeViewer
Next Topic:Starange problem with MessageDialog.openQuestion method
Goto Forum:
  


Current Time: Thu Nov 27 00:32:12 GMT 2014

Powered by FUDForum. Page generated in 0.07907 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software