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>
3 files changed
tree: 7b1c6695486d1baeb5299412cec91b65bbfb5c2d
  1. bundles/
  2. examples/
  3. features/
  4. local-build/
  5. tests/
  6. .gitignore
  7. pom.xml
  8. README.md
README.md

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:

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!