commit | 716f5f305a4946953616a579e19175683b353f12 | [log] [tgz] |
---|---|---|
author | Leo Ufimtsev <lufimtse@redhat.com> | Tue Dec 13 15:56:45 2016 -0500 |
committer | Eric Williams <ericwill@redhat.com> | Mon Dec 19 15:12:38 2016 -0400 |
tree | 7b1c6695486d1baeb5299412cec91b65bbfb5c2d | |
parent | 317e373f0aef1925b9b234bc870162ea5c9ba8c9 [diff] |
Bug 508245 - Table SelectionListener is not properly activated when Shift+Enter is pressed (as it does on Windows). Fix Table/Tree/List to address situations where defaultSelection is not sent on Gtk for Shift+Enter, Ctrl+Enter, Alt+Enter. Also, Space & Shift+Space does not trigger DefaultSelection on Win32/Cocoa, as such, SWT/Gtk shouldn't do so either in the interest of consistency across SWT platforms. Tests: Using snippet attached in bug "Snippet to test selection and default selection": - Before patch: Shift+Enter, Ctrl+Enter did not send defaultSelection. Space, Shift+Space send defaultSelection. - After patch: Shift+Enter, Ctrl+Enter send defaultSelection. Space, Shift+Space do not send defaultSelection. Also, no swt jUnit tests break. Change-Id: Ia621359bddf190d524e0aa44ffc4e3cf5341aac0 Signed-off-by: Leo Ufimtsev <lufimtse@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!