commit | 43987e44f8a5a494a8bb49a18d0c9258dcbace1b | [log] [tgz] |
---|---|---|
author | Eric Williams <ericwill@redhat.com> | Tue Apr 16 15:51:13 2019 -0400 |
committer | Eric Williams <ericwill@redhat.com> | Wed Apr 17 09:49:43 2019 -0400 |
tree | ada5f5f21522a0297e94b09470213f7f3e11c7a5 | |
parent | f05aa6b2a7a23b2cadd893812efb505061017fcb [diff] |
Bug 546493: [GTK4] Button click coordinates are incorrect for some cases This is a two-part fix: 1) Adjust the sendMouseDown() function in Control, as event coordinates on GTK4 are already parent relative. 2) Table/Tree have headers built into the GtkTreeview's surface, meaning the y-coordinates will include the height of the header. This throws off any geometry-item querying code in Table/Tree. The fix is to adjust the coordinates to account for the size of the header. GTK3 doesn't have this problem because the header has its own GdkWindow which is separate from the rest of the Table/Tree. Tested using Snippet3 on GTK4. Change-Id: Ia68a6edb376a823dc3beb57e4db084075e42138b Signed-off-by: Eric Williams <ericwill@redhat.com>
Thanks for your interest in this project.
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.
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.
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!