Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

m_mainFrame->editor()->hasComposition not issue

In my application I have loaded MVC pages in android webview. MVC page has two text editor for username and password. While focusing on the Textbox, I am getting the warning: m_mainFrame->editor()->hasComposition not .

Why I am getting this warning?

Note: I am getting this error after upgrading the android from 2.1 to 2.3.6

log:

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
like image 664
Ponmalar Avatar asked Aug 21 '12 05:08

Ponmalar


2 Answers

It's not a warning nor an error, just a debug message shown every time drawContentComposition is called. I imagine it shows that the value of hasComposition is false.

You can't do anything to avoid it so it shouldn't bother you... well, obviously, in my opinion.

like image 148
Alejandro Colorado Avatar answered Nov 03 '22 02:11

Alejandro Colorado


You get this message to your log because of underlying WebKit logic - there should be some member function which check if there is any composition in main frame and post it's result to log, that is it. You should not worry about it.

like image 42
Alex Bonel Avatar answered Nov 03 '22 02:11

Alex Bonel