Skip to content

[Bug] Crash when entering fullscreen from popup (at the same time as rotating the screen?) #2603

Description

@dvg48

Checklist

  • I make sure that the issue is NOT a duplicate of pinned issues
  • I make sure I am using the LATEST version - check here
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • I have attached the error report in the issue

Describe the bug

Tried to enter a video into fullscreen (landscape) from a video that was in pop-up view (while in portrait, rotated the screen pretty much as I tried to fullscreen) and the app instantly crashed

Version

5.2.1-beta3

Frequency

Only once (single occurrence)

Device

Pixel 9 Pro XL, Android 17 (GrapheneOS)

Steps to reproduce the bug

Including screen orientation just in case.

  1. Open a video in pop-up view, while the screen is in portrait.
  2. Fullscreen the video while rotating the screen to landscape
  3. Crash

Additional context

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 5.2.1-beta3
  • OS: Linux Android 17 - 37
Crash log

java.lang.IllegalArgumentException: STATE_SETTLING should not be set externally.
	at com.google.android.material.bottomsheet.BottomSheetBehavior.setState(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:129)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.initListeners(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:259)
	at org.schabi.newpipe.BaseFragment.onViewCreated(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:4)
	at org.schabi.newpipe.fragments.BaseStateFragment.onViewCreated(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:1)
	at androidx.fragment.app.Fragment.performViewCreated(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:15)
	at androidx.fragment.app.FragmentStateManager.createView(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:262)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:198)
	at androidx.fragment.app.FragmentManager.moveToState(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:57)
	at androidx.fragment.app.FragmentManager.dispatchStateChange(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:34)
	at androidx.fragment.app.FragmentActivity.onStart(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:34)
	at androidx.appcompat.app.AppCompatActivity.onStart(r8-map-id-eeb003c507351f91c4721195e5e9dd030c9f0f1742ca8559aabc22ae394265ba:1)
	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1730)
	at android.app.Activity.performStart(Activity.java:9436)
	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4622)
	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:214)
	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:194)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:166)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:101)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3044)
	at android.os.Handler.dispatchMessageImpl(Handler.java:142)
	at android.os.Handler.dispatchMessage(Handler.java:125)
	at android.os.Looper.loopOnce(Looper.java:296)
	at android.os.Looper.loop(Looper.java:397)
	at android.app.ActivityThread.main(ActivityThread.java:9568)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:575)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:847)


Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions