| commit | 0422555d48c37d00345aa0afc3e67c13bb27fd67 | [log] [tgz] | 
|---|---|---|
| author | Beat Schwarzentrub <bsh@bsiag.com> | Wed Apr 24 18:12:05 2019 +0200 | 
| committer | Beat Schwarzentrub <bsh@bsiag.com> | Thu Apr 25 16:09:08 2019 +0200 | 
| tree | dccc74bb6b813a42a96dcd7f48b7c225d4ec26f6 | |
| parent | b57e93cfa7c0db62e0b8e1918f3742ee906bcc2b [diff] | 
Dialog: only activate focus ctx when activeElement is outside subtree
This addresses the following problem:
When an editable table has an open cell editor (e.g. a StringField) and
the user clicks the clear icon ("x"), the focus was lost but the cell
editor stayed open. Reason: the cell editor has a separate focus
context. Because the dialog has registered a click listener (in the
capture phase), it activates itself. This activates the dialog's focus
context, causing the cell editor to lose the focus.
Fix: when the dialog is activated, only activate the focus context when
the current focus owner is outside the dialog's DOM subtree.
246832
Change-Id: I6c7e17be71a63df3c28b9afe87baa612e27584a7
Reviewed-on: https://git.eclipse.org/r/141084
Reviewed-by: Claudio Guglielmo <claudio.guglielmo@bsiag.com>
Tested-by: Claudio Guglielmo <claudio.guglielmo@bsiag.com>
[Eclipse Scout] 1 is a mature and open framework for modern, service oriented business applications. It substantially boosts developer productivity and is simple to learn.
This Repository Eclipse Scout RT contains the source for the runtime components embedded in the applications build on top of the Eclipse Scout Framework.
The content of this repository is build on the Eclipse infrastructure and the different versions are available on several [P2 Update Sites] 2.
The easiest way to start with Eclipse Scout is to download Eclipse for Scout Developers Eclipse for Scout Developers on the [Eclipse downloads page] 3.
We welcome any kind of contributions (Bug report, documentation, code contribution...). Please read the [Eclipse Scout Contribution page] 7 to know more about it.
The contribution process of Eclipse Scout is hosted on tools deployed by the Eclipse Foundation (involing [Bugzilla] 6, Gerrit, Hudson, MediaWiki...).
External tools like the GitHub tracker and pull requests are not supported.
To get in touch with the Eclipse Scout community, please open a thread in the [Eclipse Scout Forum] 5 or send a mail to [our mailing list] 8: scout-dev@eclipse.org
[Eclipse Public License (EPL) v1.0] 9