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

bug(YouTube/SponsorBlock): applying the outline icon makes skip buttons overlap #1651

Closed
5 tasks done
Rairof opened this issue Nov 6, 2023 · 7 comments
Closed
5 tasks done
Labels
Bug report Something isn't working

Comments

@Rairof
Copy link

Rairof commented Nov 6, 2023

Type

Cosmetic

Tools used

RVX Manager

Application

YouTube v18.40.34

Bug description

Sponsorblock skip buttons on YouTube player gets overlapped when 2 or more segments are present.

Steps to reproduce

  1. Patch youtube with sponsorblock patch
  2. Watch a video having multiple segments marked on same timeline.

Relevant log output

N/A

Screenshots or videos

Screenshot_2023-11-06-17-29-36-456_app rvx android youtube-edit

Solution

Seperate multiple skip buttons on top of another

Additional context

Using Xiaomi 11T pro

Device Environment

Android 13 MIUI 14.0.4

Acknowledgements

  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly.
  • I have written the title and contents in English.
  • This issue does not reproduce on unpatched YouTube or YT Music.
@Rairof Rairof added the Bug report Something isn't working label Nov 6, 2023
@inotia00
Copy link
Owner

inotia00 commented Nov 6, 2023

please attach video url

@inotia00 inotia00 changed the title bug: <sponsorblock> multiple segment skip button overlap bug(YouTube/SponsorBlock): skip buttons are overlap Nov 6, 2023
@Rairof
Copy link
Author

Rairof commented Nov 6, 2023

@inotia00
Copy link
Owner

inotia00 commented Nov 6, 2023

The issue seems to be reproduced only when using the Outline icon in the patch options

@inotia00 inotia00 changed the title bug(YouTube/SponsorBlock): skip buttons are overlap bug(YouTube/SponsorBlock): applying the outline icon makes skip button overlaps Nov 6, 2023
@inotia00
Copy link
Owner

inotia00 commented Nov 6, 2023

@anddea, it seems to be an issue after the following PR: inotia00/revanced-patches#27

This issue does not occur in the default icon

@Rairof
Copy link
Author

Rairof commented Nov 6, 2023

Oh okay. I can provide the .json of my settings if needed.

@Rairof Rairof changed the title bug(YouTube/SponsorBlock): applying the outline icon makes skip button overlaps bug(YouTube/SponsorBlock): applying the outline icon makes skip buttons overlap Nov 7, 2023
@anddea
Copy link

anddea commented Nov 8, 2023

I can't reproduce this issue. Because there's no highlight segment for me in that video.

This problem occurs if highlight segment is enabled in Sponsorblock settings, and it shows skip to highlight and then overlaps it with skip any other segment when the seekbar reaches that segment.

I'm not on my computer to take a closer look but it seems to do with the same margin and aligning for sponsor and highlight buttons. For example, check difference on line 9 in these files, I think copying from default to outline (only line 9) will fix the issue:

Default
https://github.com/inotia00/revanced-patches/blob/revanced-extended/src/main/resources/youtube/sponsorblock/default/layout/inline_sponsor_overlay.xml

Outline
https://github.com/inotia00/revanced-patches/blob/revanced-extended/src/main/resources/youtube/sponsorblock/outline/layout/inline_sponsor_overlay.xml

and maybe some other corresponding files as well. If what I said doesn't work, then I will take a look when I'm free but otherwise default or outline icons shouldn't matter, only layout.

@inotia00
Copy link
Owner

fixed in revanced-patches-v2.196.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants