Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 394670 - Horizontal Scrollbar does not disappear on Tree collapse
Summary: Horizontal Scrollbar does not disappear on Tree collapse
Status: CLOSED DUPLICATE of bug 27201
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 340067
  Show dependency tree
 
Reported: 2012-11-20 10:18 EST by Anatoly Spektor CLA
Modified: 2016-07-28 09:58 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anatoly Spektor CLA 2012-11-20 10:18:10 EST
How To Reproduce:

1. Open ControlExample in any GTK2 or GTK3
2. Go to Tree Tab
3. Expand any element of the tree (2 scrollbars occur horizontal and vertical)
4. Collapse tree

 You can see that vertical scrollbar disappears, but horizontal stays even when it is not needed.
Comment 1 Pavitra CLA 2013-01-23 03:39:17 EST
Hi,

I have also faced the similar issue.

-Open the tree with a huge hierarchy.
-Horizontal and Vertical scroll bars appear(which is correct).
-But after collapsing the horizontal scroll bar doesn't disappear
Comment 2 Timo Kinnunen CLA 2014-04-05 11:11:53 EDT
This problem occurs on Windows 8 as well and it can be seen in the Eclipse IDE itself. 

In Package Explorer with enough projects so that a vertical scrollbar is visible but horizontal scrollbar isn't, expand projects and their contents until a horizontal scrollbar appears. Now collapse the projects again back to how they were at the start. There should be no horizontal scrollbar visible, but the horizontal scrollbar still remains.
Comment 3 Niraj Modi CLA 2014-04-08 08:42:24 EDT
Tested the scenario mentioned in comment 0, issue is seen in SWT's ControlExample on Linux(both GTK2 & GTK3) but not on Windows.
Same issue can also be seen in Eclipse IDE @ Linux

Whereas the issue reported in comment 2 is observed in Eclipse IDE(Luna & Kepler) with below views @ Windows7:
- 'Package Explorer'
- 'Outline'
- 'JUnit'
but not with 'Navigator' view.
Comment 4 Niraj Modi CLA 2014-04-09 12:17:34 EDT
This bug is duplicate of bug 27201
Whereas the issue mentioned in comment 2 in Eclipse view is already reported as bug 295787 & 187029
Comment 5 Alexander Kurtakov CLA 2016-07-28 09:58:00 EDT
Closing as duplicate. It's out of interest for GTK port as latest versions use overlay scrollbars.

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