Skip to content

Conversation

@lm41
Copy link
Contributor

@lm41 lm41 commented Aug 18, 2025

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

This PR fixes ghost clicks (#3) on the chapter select box. The same logic can be applied to the stream select UI but I couldn't find a way to test the stream select UI so I left it out for now.

Fixes the following issue(s)

Due diligence

@ShareASmile
Copy link

Thanks for the PR. Keep them coming.

Next time please use "Fixes" keyword followed by Issue no. in your PR description to automatically link and close an associated issue when the pull request is merged.

If a previously unreported bug is found in the NewPlayer, please don't hesitate to create a new issue about that first. Thank you.

@ShareASmile ShareASmile added the bug Issue/PR is related to a bug label Aug 20, 2025
@lm41
Copy link
Contributor Author

lm41 commented Aug 20, 2025

I didn't use the fixes keyword because this PR only partially fixes the problem. (Only in the chapter select but not in the stream select UI).
I'll have to check if I can use the same approach there as well.

@ShareASmile

This comment was marked as outdated.

@lm41 lm41 force-pushed the fix/ghost-clicks-on-chapter-select branch from f60f8fa to 34aa493 Compare August 21, 2025 18:16
@lm41 lm41 changed the title Fix ghost clicks on chapter select Fix ghost clicks on chapter and stream select Aug 21, 2025
Copy link
Contributor

@TobiGr TobiGr left a comment

Choose a reason for hiding this comment

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

Thank you. Changes LGTM, I just have a nitpick.
I also could not find a good way to test the stream select UI for this specific case. (We really need to set up proper testing...)

@lm41
Copy link
Contributor Author

lm41 commented Aug 24, 2025

I think I found a way to test the StreamSelectUI in this specific use case:

  1. Add multiple videos to the queue
  2. Go to fullscreen mode
  3. Click on the icon next to the three vertical dots.

The stream select UI is the queue UI. If it is not used anywhere else we should think about renaming it because stream select implies (at least for me), that multiple resolutions or audio streams can be selected with it.

@TobiGr TobiGr requested a review from theScrabi August 27, 2025 09:49
@theScrabi
Copy link
Member

I'm going to check this. :)

@theScrabi
Copy link
Member

lgdm :)

@theScrabi theScrabi merged commit 6f383e7 into TeamNewPipe:dev Sep 4, 2025
3 checks passed
@theScrabi
Copy link
Member

@lm41 although this is only partly a fix, because now the tap is being ignored, which is better than before, but what I would actually expect as a user is for GuestureUI to react on the tap.
Can we make that work?

@Stypox
Copy link
Member

Stypox commented Sep 6, 2025

@theScrabi I think it's fine to ignore taps while stuff is phasing in/out. However we should change the animation Easing so that it's clear when the animation is still running (something like SlowInFastOut, or even just linear).

@lm41
Copy link
Contributor Author

lm41 commented Sep 6, 2025

@theScrabi I'm currently not at home but I'll have a look into that later next week

@lm41
Copy link
Contributor Author

lm41 commented Sep 13, 2025

Can we make that work?

We possibly could, but that would probably mean that we would have to intercept touch events and pass them to the GestureUI.

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

Labels

bug Issue/PR is related to a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ghost taps in video player UI

5 participants