Bug 552096: [GTK] Tree.showItem does not work reliably

Remove geometric calculations as they cannot be relied upon to be accurate.
Just call gtk_tree_view_scroll_to_cell() directly as Table does.

Tested on GTK3.24 and 3.10 using the snippet attached and a child Eclipse.
No AllNonBrowser JUnit tests fail.

Change-Id: I423943f349be63a637891e673ab4df34013c194c
Signed-off-by: Eric Williams <ericwill@redhat.com>
2 files changed
tree: 341a0a0d3660ea43ff452a03d8fcfa3f40c28208
  1. .gitignore
  5. README.md
  6. bundles/
  7. container/
  8. examples/
  9. features/
  10. local-build/
  11. pom.xml
  12. tests/

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

See the following description for how to contribute a feature or a bug fix to SWT.

Information regarding source code management, builds, coding standards, and more and be found under the following link.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).


Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!