helloworld1 / AnyMemo

Advanced Spaced Repetition flashcard learning software for Android.
http://www.anymemo.org
GNU General Public License v2.0
151 stars 53 forks source link

window leak in SettingsScreen #487

Open anlalalu opened 4 years ago

anlalalu commented 4 years ago
Reproduction Steps
  1. click misc in toolbar
  2. tap 'DB default settings'
  3. long click 'more options'
  4. press 'back' quickly
Stack Trace

E/WindowManager: android.view.WindowLeaked: Activity org.liberty.android.fantastischmemo.ui.SettingsScreen has leaked window android.widget.LinearLayout{5295ac64 V.E..... ......I. 0,0-264,96} that was originally added here at android.view.ViewRootImpl.(ViewRootImpl.java:346) at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:248) at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69) at androidx.appcompat.widget.TooltipPopup.show(TooltipPopup.java:86) at androidx.appcompat.widget.TooltipCompatHandler.show(TooltipCompatHandler.java:174) at androidx.appcompat.widget.TooltipCompatHandler.onLongClick(TooltipCompatHandler.java:123) at android.view.View.performLongClick(View.java:4474) at android.view.View$CheckForLongPress.run(View.java:18401) at android.os.Handler.handleCallback(Handler.java:733) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5001) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method)

Debug info

App Version = 10.11.3

Android Version = 4.4.4