Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355290 - [10.7][lion]Thumb/Scroller not recalculated properly when content of a windows (project explorer or tree viewer) extends
Summary: [10.7][lion]Thumb/Scroller not recalculated properly when content of a window...
Status: CLOSED DUPLICATE of bug 348309
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.7   Edit
Hardware: Macintosh Mac OS X
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-20 03:58 EDT by thierry CLA
Modified: 2011-08-23 11:33 EDT (History)
3 users (show)

See Also:


Attachments
project explorer before expanding (123.51 KB, image/jpeg)
2011-08-20 04:01 EDT, thierry CLA
no flags Details
After expanding a node (179.23 KB, application/octet-stream)
2011-08-20 04:06 EDT, thierry CLA
no flags Details
After resizing the workbench window (82.53 KB, image/jpeg)
2011-08-20 04:09 EDT, thierry CLA
no flags Details
After expanding a node (Correct attachment format) (126.95 KB, image/jpeg)
2011-08-20 04:14 EDT, thierry CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description thierry CLA 2011-08-20 03:58:32 EDT
Build Identifier: I20110613-1736

When using the standard project explorer, I noticed that the increase of content size when expanding a node is not taken properly into account unless the increase is big enough.
Two screen shots showing before and after are attached.
There are multiple other cases where the scroll bars do not think to work properly with tree viewers. 
As an extra precision, this happens only on os x lion and seems linked to the weird new lion scrollbars.

Reproducible: Always

Steps to Reproduce:
1. Display a project explorer with its content almost full
2. Expand a node which does have a small set of nodes
Comment 1 thierry CLA 2011-08-20 04:01:04 EDT
Created attachment 201846 [details]
project explorer before expanding
Comment 2 thierry CLA 2011-08-20 04:06:23 EDT
Created attachment 201847 [details]
After expanding a node

After the node MIBs_45 is expanded, the view port and the scrolling are wrong. It is not possible to see
more than the first child node. Not even the next sibling of MIBs_45 as shown in the 'Before expanding' attachment is accessible.
Comment 3 thierry CLA 2011-08-20 04:09:33 EDT
Created attachment 201848 [details]
After resizing the workbench window

After resizing the workbench window, the proper sizes of scroller and view port are finally reset properly.
Comment 4 thierry CLA 2011-08-20 04:14:12 EDT
Created attachment 201849 [details]
After expanding a node (Correct attachment format)
Comment 5 Silenio Quarti CLA 2011-08-23 11:33:40 EDT
I believe this is related to 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=348309#c6

I have not been able to reproduce with the latest 3.8 and 3.7.1 integration builds. Please give those a try and reopen if you still see the problem.

*** This bug has been marked as a duplicate of bug 348309 ***