Community
Participate
Working Groups
Build Identifier: 3.6.2.v3659c I have attached 4 screen shots explaining the issue. Also I have attached my plugin project as a zip file. Unzip and import this project into eclipse and run the application in the PDE perspective.(Please let me know if you need more info. on running a plugin project.) Reproducible: Always Steps to Reproduce: After launching the eclipse with this plugin, do the following steps to reproduce the issue : 1. Goto Windows --> Show View --> Other --> Tabbed Properties View --> Tabbed Properties Example View. Open this view. 2. A new view will be opened as shown in Image1. 3. Now again goto Windows --> Show View --> Properties. Open the properties view. 4. Arrange the views as shown in Image1. 5. Click on the text 'Button' in the Tabbed Properties Example View. This will open a 'General' property section in the Properties View as shown in all the images. 6. In the Properties View, General tab , click on the button 'Click to Add' multiple times which adds child elements to a Tree Viewer. Add elements until you get a scroll bar for the Tree Viewer as shown in Image2. 7. Now resize the Properties View to increase the height as shown in the Image3. The scroll bar for the Tree Viewer disappears. 8. When I resize the Properties View to decrease the height as shown in Image4, a scroll bar appears for the properties view instead of the Tree Viewer. How do I get the scroll bar back for the Tree Viewer ?
Created attachment 199020 [details] (Image1) A custom view and Properties View is shown
Created attachment 199021 [details] (Image2) Tree Viewer with its contents and scroll bar shown properly.
Created attachment 199022 [details] (Image3) TreeViewer getting resized automatically.
Created attachment 199023 [details] (Image4) Scroll bar not appearing for TreeViewer.
Created attachment 199024 [details] The plugin project
At the SWT level, it is up to layout manager to resize the tree view smaller (than making the view bigger). At the Eclipse-UI level, I don't know who is responsible for this work (Eclipse-UI or the application). I suspect it is the application (in which case this is something you need to fix in your code).
Thanks for looking into this issue. We have been working on this issue for the past 6 months and we could not provide any solution. Our observations : 1. There is no issue with the scroll bar when I run the composite ( that has the TreeViewer) as a stand alone i.e. from the main method and not from the plugin. When I incorporate this Composite into the Tabbed Property Section then we are facing this issue. 2. After the step 7 (Image 3), whether I move the Properties View sash up or down, the height of the TreeViewer is increased (hence the scroll bar disappears). If I can stop the resizing of the TreeViewer when I resize the Properties View then my problem is solved. It would be great if you can provide me a solution. I have attached the application code, the plugin project. Thanks in Advance --Gouri
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. If the bug is still relevant, please remove the "stalebug" whiteboard tag.