Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public void start(Rectangle subjectArea) {

fDisplay.addFilter(SWT.FocusOut, this);

fDisplay.addFilter(SWT.FocusIn, this);
fDisplay.addFilter(SWT.MouseDown, this);
fDisplay.addFilter(SWT.MouseUp, this);

Expand Down Expand Up @@ -270,6 +271,7 @@ else if (event.type == SWT.MouseVerticalWheel && cancelReplacingDelay())
}
break;

case SWT.FocusIn:
case SWT.MouseUp:
case SWT.MouseDown:
if (!hasInformationControlReplacer())
Expand All @@ -282,7 +284,7 @@ else if (!isReplaceInProgress()) {
if (!(iControl5.containsControl(control))) {
hideInformationControl();
} else if (cancelReplacingDelay()) {
if (event.type == SWT.MouseUp) {
if (event.type == SWT.MouseUp || event.type == SWT.FocusIn) {
stop(); // avoid that someone else replaces the info control before the async is exec'd
if (infoControl instanceof IDelayedInputChangeProvider) {
final IDelayedInputChangeProvider delayedICP= (IDelayedInputChangeProvider) infoControl;
Expand Down
Loading