| Summary: | tree.getHorizontalBar().setSelection(0) does not scroll tree content | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse.felipe, Michael_Rennie | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | stalebug | ||||||
| Attachments: |
|
||||||
|
Description
Markus Keller
(In reply to comment #0) > HEAD, broken on Windows 7 since at least 3.3 and I'm afraid it will never be fixed, as it is invalid. see https://bugs.eclipse.org/bugs/show_bug.cgi?id=339333#c3 Why you are not using setTopItem ? What are you trying to do ? Created attachment 192299 [details] modified Snippet15 > Why you are not using setTopItem ? Because that doesn't scroll to the left completely > What are you trying to do ? After steps in comment 0, the tree on the left should horizontally be scrolled so that all top-level items and their expandos are visible. I've extracted the problem into a modified Snippet15. Removing the tree.showItem(item) is not feasible in our infrastructure. But if you could fix that method so that it only scrolls horizontally if less than e.g. 20px of the item text would be visible, then that would be even better. 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. |