11 months ago
    Whenever i have the keyboard opened on some field, and i click on a button that changes fragment, this error happens
    java.lang.IllegalArgumentException: View=androidx.compose.ui.window.PopupLayout{f92decc V.E...... ......ID 0,0-54,66 #1020002 android:id/content} not attached to window manager
    at android.view.WindowManagerGlobal.findViewLocked(
    at android.view.WindowManagerGlobal.updateViewLayout(
    at android.view.WindowManagerImpl.updateViewLayout(
    at androidx.compose.ui.window.PopupLayout.updatePosition(
    at androidx.compose.ui.window.PopupLayout.onGlobalLayout(
    at android.view.ViewTreeObserver.dispatchOnGlobalLayout(
    at android.view.ViewRootImpl.performTraversals(
    at android.view.ViewRootImpl.doTraversal(
    at android.view.ViewRootImpl$
    at android.view.Choreographer$
    at android.view.Choreographer.doCallbacks(
    at android.view.Choreographer.doFrame(
    at android.view.Choreographer$
    at android.os.Handler.handleCallback(
    at android.os.Handler.dispatchMessage(
    at android.os.Looper.loop(
    at java.lang.reflect.Method.invoke(Native Method)
    this is related to the cursor handle. To reproduce, have a toolbar with a back icon that goes to the previous fragment. Open any textfield that uses a cursor handle - with the keyboard opened, just click the toolbar icon to go back to another fragment.
    probably only happens with fragments+compose
    is this issue reported already ?