Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 464235

Summary: [ToolItem] ToolItem stay focused after pressing
Product: [RT] RAP Reporter: Yury <swimmer_86>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Yury CLA 2015-04-09 03:02:45 EDT
Steps to reproduce:
1. Open RAP Demo - http://rap.eclipsesource.com/demo/release/workbench/
2. Press "Open Wizard" action on the toolbar.
3. Press Cancel in the opened wizard.

See on the pressed toolbar action - it is looked like focused (hovered). There is no such behavior in RCP.
Comment 1 Ivan Furnadjiev CLA 2015-04-09 03:24:41 EDT
Reproducible with RAP 3.0M6 too.
Comment 2 Ivan Furnadjiev CLA 2015-04-09 04:28:47 EDT
It's related to focussing. When dialog is closed, the focus is returned back to the widget that has it before the dialog is opened. In this case - the push ToolItem. As ToolItem is focusable (can be traversed by tab) I think the behaviour is correct. Nevertheless, in RCP on Windows, the focus is not returned to the ToolItem. We have to check how GTK behaves in this case.
Comment 3 Ivan Furnadjiev CLA 2020-08-07 05:46:51 EDT
Works for me with current RAP from master branch.