Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app crashes when searching in the settings in landscape mode #11915

Open
6 tasks done
hybd666 opened this issue Jan 14, 2025 · 0 comments
Open
6 tasks done

The app crashes when searching in the settings in landscape mode #11915

hybd666 opened this issue Jan 14, 2025 · 0 comments
Labels
bug Issue is related to a bug search Anything related to the search function

Comments

@hybd666
Copy link

hybd666 commented Jan 14, 2025

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.27.4(latest build)

Steps to reproduce the bug

  1. go settings
  2. click search button
  3. click the content below the search box, and the app will enter the corresponding sub-setting page
  4. rotating devices and go back to the main settings page
  5. click search button and app crash

Expected behavior

show search box

Actual behavior

crash

Screenshots/Screen recordings

newpipe-bug2.mp4

Logs

crash log
 java.lang.IllegalStateException: Fragment already added: PreferenceSearchFragment{c45cd8e} (1efce92d-66a0-43b9-b9a5-ffa301582699 id=0x7f0a0359 tag=PreferenceSearchFragment)
         at androidx.fragment.app.FragmentStore.addFragment(FragmentStore.java:93)
         at androidx.fragment.app.FragmentManager.addFragment(FragmentManager.java:1503)
         at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:387)
         at androidx.fragment.app.FragmentManager.executeOps(FragmentManager.java:2009)
         at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1895)
         at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1839)
         at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1782)
         at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:565)
         at android.os.Handler.handleCallback(Handler.java:938)
         at android.os.Handler.dispatchMessage(Handler.java:99)
         at android.os.Looper.loop(Looper.java:223)
         at android.app.ActivityThread.main(ActivityThread.java:7656)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Affected Android/Custom ROM version

android11

Affected device model

google nexus4

Additional information

No response

@hybd666 hybd666 added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Jan 14, 2025
@ShareASmile ShareASmile added search Anything related to the search function and removed needs triage Issue is not yet ready for PR authors to take up labels Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug search Anything related to the search function
Projects
None yet
Development

No branches or pull requests

2 participants