Skip to content

[Bug] CTD when attempt to change stream quality while in Samsung Dex Desktop mode #927

@mrwohoo

Description

@mrwohoo

Checklist (Your issue will be automatically closed if you delete this part)

  • [x ] I make sure that there are no existing issues - open or closed - which I could contribute my information to.
  • [ x] I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed.
  • [x ] I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • [x ] I have attached the error report in the issue.

Describe the bug
CTD when attempting to change stream quality.
Frequency
Every time to change quality is attempted
Steps to reproduce the bug
full screen, click quality and client will CTD in desktop mode(Samsung Dex)
Device (e.g. Pixel 9 Pro)
Samsung Fold 3 utilizing Samsung Dex
Error report

android.view.WindowManager$BadTokenException: Unable to add window -- token android.view.ViewRootImpl$W@e2d1e6e is not valid; is your activity running?
at android.view.ViewRootImpl.setView(ViewRootImpl.java:1823)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:600)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:150)
at android.widget.PopupWindow.invokePopup(PopupWindow.java:1721)
at android.widget.PopupWindow.showAsDropDown(PopupWindow.java:1502)
at androidx.appcompat.widget.AppCompatPopupWindow.showAsDropDown(AppCompatPopupWindow.java:77)
at androidx.core.widget.PopupWindowCompat$Api19Impl.showAsDropDown(PopupWindowCompat.java:247)
at androidx.core.widget.PopupWindowCompat.showAsDropDown(PopupWindowCompat.java:71)
at androidx.appcompat.widget.ListPopupWindow.show(ListPopupWindow.java:754)
at androidx.appcompat.view.menu.CascadingMenuPopup.showMenu(CascadingMenuPopup.java:487)
at androidx.appcompat.view.menu.CascadingMenuPopup.show(CascadingMenuPopup.java:266)
at androidx.appcompat.view.menu.MenuPopupHelper.showPopup(MenuPopupHelper.java:296)
at androidx.appcompat.view.menu.MenuPopupHelper.tryShow(MenuPopupHelper.java:182)
at androidx.appcompat.view.menu.MenuPopupHelper.show(MenuPopupHelper.java:144)
at androidx.appcompat.widget.PopupMenu.show(PopupMenu.java:238)
at org.schabi.newpipe.player.listeners.view.QualityClickListener.onClick(QualityClickListener.kt:29)
at android.view.View.performClick(View.java:8055)
at android.widget.TextView.performClick(TextView.java:17819)
at android.view.View.performClickInternal(View.java:8032)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:31923)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:9063)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:588)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions