Comment on attachment 444489 possible moz-central fix
nsIMEStateManager::OnTextStateFocus(presContext, aContent); >+ } else { >+ nsPresContext* presContext = presShell->GetPresContext(); >+ nsIMEStateManager::OnTextStateBlur(presContext, nsnull); >+ nsIMEStateManager::OnChangeFocus(presContext, nsnull); >+ if (!aWindowRaised) { >+ aWindow->UpdateCommands(NS_LITERAL_STRING("focus")); >+ }
These few lines may be the only change you actually need to fix this bug.
If not, I can look at the patch in more detail and see.
Comment on attachment 444489
possible moz-central fix
nsIMEStat eManager: :OnTextStateFoc us(presContext, aContent); >GetPresContext (); er::OnTextState Blur(presContex t, nsnull); er::OnChangeFoc us(presContext, nsnull); >UpdateCommands (NS_LITERAL_ STRING( "focus" ));
>+ } else {
>+ nsPresContext* presContext = presShell-
>+ nsIMEStateManag
>+ nsIMEStateManag
>+ if (!aWindowRaised) {
>+ aWindow-
>+ }
These few lines may be the only change you actually need to fix this bug.
If not, I can look at the patch in more detail and see.