Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341117 - ToolItem traversal does not fire deactivate event.
Summary: ToolItem traversal does not fire deactivate event.
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.14 M1   Edit
Assignee: Eric Williams CLA
QA Contact:
URL:
Whiteboard: RHT
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2011-03-28 11:13 EDT by Stuart Barker CLA
Modified: 2019-10-08 13:25 EDT (History)
2 users (show)

See Also:


Attachments
ToolItem no deactivate event (1.42 KB, text/plain)
2011-03-28 11:14 EDT, Stuart Barker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Barker CLA 2011-03-28 11:13:22 EDT
Build Identifier: M20100909-0800

When using tab to traverse, a ToolItem in a ToolBar does not send deactivate event to existing active control when it receives focus.

This is for Linux, on Windows a deactivate event is fired.

Reproducible: Always

Steps to Reproduce:
1.Run the attached snippet in Linux (gtk).
2.Tab through the the two Text controls and the ToolItem button
3.Note that Text 2 does not receive a deactivate event until Text 1 is activated
4. On Windows Text 2 gets a deactivate event when the toolbar button receives focus.
Comment 1 Stuart Barker CLA 2011-03-28 11:14:43 EDT
Created attachment 192010 [details]
ToolItem no deactivate event
Comment 2 Eric Williams CLA 2018-06-29 15:25:24 EDT
Still reproducible on SWT master as of today, Fedora 28, and GTK3.22.
Comment 3 Eclipse Genie CLA 2019-09-11 10:39:40 EDT
New Gerrit change created: https://git.eclipse.org/r/149359
Comment 5 Eric Williams CLA 2019-09-11 13:00:18 EDT
(In reply to Eclipse Genie from comment #4)
> Gerrit change https://git.eclipse.org/r/149359 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/
> ?id=5562fddca07e3abaeec9be17c57902bc96842af2

In master now.
Comment 6 Eric Williams CLA 2019-10-08 13:25:53 EDT
Verified in I20191008-0600.