You need to sign in or sign up before continuing.
提交 b080fcf4 编写于 作者: D denis

7081012: REGRESSION:Component.transferFocusBackward invokes clearGlobalFocusOwner()

Reviewed-by: ant
上级 90bdadd8
...@@ -7910,7 +7910,7 @@ public abstract class Component implements ImageObserver, MenuContainer, ...@@ -7910,7 +7910,7 @@ public abstract class Component implements ImageObserver, MenuContainer,
res = toFocus.requestFocusInWindow(CausedFocusEvent.Cause.TRAVERSAL_BACKWARD); res = toFocus.requestFocusInWindow(CausedFocusEvent.Cause.TRAVERSAL_BACKWARD);
} }
} }
if (!res) { if (clearOnFailure && !res) {
if (focusLog.isLoggable(PlatformLogger.FINER)) { if (focusLog.isLoggable(PlatformLogger.FINER)) {
focusLog.finer("clear global focus owner"); focusLog.finer("clear global focus owner");
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册