在我的应用程序中,我已经在android webview中加载了MVC页面。 MVC页面有两个用于用户名和密码的文本编辑器。在关注文本框时,我收到警告:m_mainFrame->editor()->hasComposition not
。
为什么我收到此警告?
注意:将Android从 2.1 升级到 2.3.6
后出现此错误登录
08-21 12:10:21.269: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:21.669: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:21.699: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:21.709: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.169: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.199: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.209: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.239: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.259: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.739: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.769: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.939: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:22.959: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:23.429: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:23.459: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:23.479: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:23.799: V/webview(2928): singleCursorHandlerTouchEvent -getEditableSupport FASLE
08-21 12:10:23.929: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:23.949: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:24.149: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:24.239: V/webview(2928): OnSizeChanged: Enter
08-21 12:10:24.269: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:24.319: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:24.339: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:24.469: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:24.479: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:26.969: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:26.989: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:27.139: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:27.299: V/webview(2928): singleCursorHandlerTouchEvent -getEditableSupport FASLE
08-21 12:10:27.319: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:27.349: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:27.379: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
08-21 12:10:27.539: D/CONTEXT(2928): m_mainFrame->editor()->hasComposition not
答案 0 :(得分:2)
这不是警告也不是错误,只是每次调用drawContentComposition时都会显示一条调试消息。我想它表明hasComposition的值是false。
你不能做任何事情来避免它,所以它不应该打扰你......很明显,在我看来。
答案 1 :(得分:1)
由于底层WebKit逻辑,您将此消息发送到您的日志 - 应该有一些成员函数检查主框架中是否有任何合成并将其结果发布到日志,即它。你不应该担心它。