commit | e28724ee06cedcf594176ec66c06abdcfc996f2a | [log] [tgz] |
---|---|---|
author | Xi Yan <xixiyan@redhat.com> | Mon Jan 14 15:40:19 2019 -0500 |
committer | Xi Yan <xixiyan@redhat.com> | Thu Jan 17 16:10:01 2019 -0500 |
tree | 9b2a7f0116829348b9061d73d29bf90db083a38f | |
parent | ce2d380a4f6ab3facf81919f1e2546655ef70e7f [diff] |
Bug 542940 - Method setEditor of class TreeEditor raises java nullException Calling gtk_widget_show and then gtk_widget_hide in Control#setBounds from TreeEditor.setEditor causes display to be null. The workaround is to force Text to be visible on initialization so that we do not need to force show/hide in order to set bound for the TreeEditor text. See similar fix for Button in Bug 533469. Tested with attached snippet, Bug533469_GhostButton, Bug497705_setBoundsAfterSetVisible. Change-Id: I9fe8cfb63358608700246d9a6c9355b53169045d Signed-off-by: Xi Yan <xixiyan@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!