Community
Participate
Working Groups
The very first mouse click does not work as expected. Any selected control loses focus immediatly after clicked. Tested with Edge and Firefox 45.7.0. I did not test with none e4 application.
Could you provide a snippet to reproduce the issue? Is it reproducible with our e4 Demo?
Created attachment 267725 [details] Snippet to reproduce this bug 1. Click in the right part if not the active one 2. Click in the upper text field Focus switches to the second text field cause of implementation of setFocus. This behaviour differs from SWT behavior. SWT first calls setFocus and than sets the focus to the text field.
The bug is not reproducible with your e4 demo.
I still don't understand what is the expected (RCP) behavior here and how it's related to the "very first mouse click". When I focus the part, the focus is set to the lower text field. If I click on the second... the focus is moved there.
Sorry, i mixed two things up here. What i mean with "very first mouse click" can be best reproduced with the snippet from bug 514933. If you click into the text field for the very first time and nowhere else before, it immediately loses focus. The part does not contain a method annotated with @Focus. comment #3 describes another unexpected behavior. In a RCP application, if you directly click into the upper text field without focusing the part prior to that, the text field will get focused no matter what a method annotated with @Focus tells. In a RAP application this is not the case.