Skip to content

Fix: Crash on Samsung Dex when trying to click on a popup menu (e.g. resolution, etc...) - #13958

Open
mathildalabs wants to merge 3 commits into
TeamNewPipe:devfrom
mathildalabs:fix-issues-on-samsung-dex
Open

mathildalabs wants to merge 3 commits into
TeamNewPipe:devfrom
mathildalabs:fix-issues-on-samsung-dex

Conversation

@mathildalabs

Copy link
Copy Markdown

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

When a user using the phone connected on a external monitor using Samsung Dex, can now click to change the resolution and on any other popup menu, without the app crashing. The second Issue I mention below i have not tested it, but appears to be the exact same cause.

Fixes the following issue(s)

Testing/QA

Devices
  • tested on Samsung Galaxy S10 running Android 12 connected to an external monitor using Samsung Dex.
Steps for testing
  • Connect device to a an external monitor and use Samsung Dex
  • Then open a video, change resolution, maximize view, restore view, enable/disable subtitles, switch view modes between fix/fill/zoom
  • Repeat the above steps without the device being connected on an external monitor
APK for testing

The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.

Due diligence

@github-actions github-actions Bot added size/medium PRs with less than 250 changed lines template-ignored labels Oct 25, 2026
@github-actions

This comment was marked as low quality.

@TobiGr TobiGr added device/software specific Issues that only happen on some devices or with some specific hardware/software GUI Issue is related to the graphical user interface player Issues related to any player (main, popup and background) labels Oct 25, 2026
@TobiGr

TobiGr commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Thank you for the contribution! Is it part of the yearly ANU assignement? If yes, I'll try to review it before the deadline.

@mathildalabs

Copy link
Copy Markdown
Author

@TobiGr No, it is not. You can review it at your own pace. Thank you.

@TobiGr TobiGr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you. I just have a minor comment.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please write new files in kotlin. we are in the middle of a java to kotlin conversion and would need to convert this file later anyway.

Please also add this SPDX Copyright / license header to the file:

/*
 * SPDX-FileCopyrightText: 2026 NewPipe contributors <https://newpipe.net>
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

@github-actions github-actions Bot added size/small PRs with less than 50 changed lines and removed size/medium PRs with less than 250 changed lines labels Oct 28, 2026
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

device/software specific Issues that only happen on some devices or with some specific hardware/software GUI Issue is related to the graphical user interface player Issues related to any player (main, popup and background) size/small PRs with less than 50 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NewPipe crashes when used on external screen/vendor specific screen-sharing (Samsung DEX, LG Screen+, WSA)

3 participants