You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read and understood the AI policy. The content of this bug report is not generated by AI.
Affected version
refactor branch (Compose UI)
Steps to reproduce the bug
Build and run the app from the refactor branch.
Play any YouTube video that has a timestamp in the comments (e.g., 12:34).
Open the comments section.
Click on the timestamp link inside the comment text.
Expected behavior
The internal video player should immediately seek to that specific time (just like it does in video descriptions on the dev branch using TimestampLongPressClickableSpan).
Actual behavior
The timestamp is treated as a generic web link. Android catches the URL intent and opens the video in the external web browser (or official YouTube app) instead of seeking the internal NewPipe player.
Screenshots/Screen recordings
bugVideo.mp4
Logs
No response
Affected Android/Custom ROM version
Android 16
Affected device model
Android Emulator / All devices
Additional information
Technical context (Why this happens)
I traced this issue in the codebase and found it is a regression from migrating the comments to Jetpack Compose:
In app/src/main/java/org/schabi/newpipe/ui/components/common/DescriptionText.kt (lines 35-44), the text is rendered via AnnotatedString.fromHtml(). There is an existing comment // TODO: Handle links and hashtags, Markdown. acknowledging this gap.
Because it's rendered as a plain HTML URL annotation without a custom LinkAnnotation.Clickable handler to detect TimestampExtractor.TIMESTAMPS_PATTERN, the app never intercepts the click to call the player (like TextLinkifier and TimestampLongPressClickableSpan did in the old UI).
Furthermore, in Comment.kt, the whole Row uses combinedClickable to handle expand/collapse, which may be swallowing inner text taps if not configured carefully.
Checklist
Affected version
refactor branch (Compose UI)
Steps to reproduce the bug
refactorbranch.12:34).Expected behavior
The internal video player should immediately seek to that specific time (just like it does in video descriptions on the
devbranch usingTimestampLongPressClickableSpan).Actual behavior
The timestamp is treated as a generic web link. Android catches the URL intent and opens the video in the external web browser (or official YouTube app) instead of seeking the internal NewPipe player.
Screenshots/Screen recordings
bugVideo.mp4
Logs
No response
Affected Android/Custom ROM version
Android 16
Affected device model
Android Emulator / All devices
Additional information
Technical context (Why this happens)
I traced this issue in the codebase and found it is a regression from migrating the comments to Jetpack Compose:
app/src/main/java/org/schabi/newpipe/ui/components/common/DescriptionText.kt(lines 35-44), the text is rendered viaAnnotatedString.fromHtml(). There is an existing comment// TODO: Handle links and hashtags, Markdown.acknowledging this gap.LinkAnnotation.Clickablehandler to detectTimestampExtractor.TIMESTAMPS_PATTERN, the app never intercepts the click to call the player (likeTextLinkifierandTimestampLongPressClickableSpandid in the old UI).Comment.kt, the wholeRowusescombinedClickableto handle expand/collapse, which may be swallowing inner text taps if not configured carefully.