Skip to content

Hand checks left open by the video screen #210

Closed

Description

@j0ker70

Hand checks that the video screen (#41) left open. Until now, the first comment on #46 tracked them, as the maintainer asked on November 19, 2026. #46 closes when #209, the first emulator test, merges, so the ones still open move here.

From task 7.3 of openspec/changes/archive/2026-11-19-video-screen/tasks.md:

  • Open an upcoming video and see the "isn't available" message. Search found none to open.
  • Open an age-restricted video, such as the saved set VIDEO_AGE_RESTRICTED's, and see the "isn't available" message. A search for its ID found other videos.
  • Open a video whose channel name starts with a flag or a family emoji, and see the whole emoji in the emblem, as openspec/specs/player/spec.md's "A name that starts with an emoji" scenario says. The unit tests can't cover it, because JDK 17 splits emoji sequences. Moved to Check the channel emblem with a flag and a family emoji in an emulator test #213: search finds no such channel, so an emulator test checks it instead.
  • Check the video screen on Android 17 (API 37). A session checked it in part on the maintainer's tablet on November 21, 2026, as its results say: the title, publish line, channel and description, and playback, in full screen landscape, split screen and pop-up view, in the dark theme. Still open: the light theme, a large font, the network message, a live stream, process death and copying a link. The emulator test (test: search then play on an emulator #209) also opens and plays a video on Android 17, with made-up content, but doesn't look at the screen.

The split screen check and every headphone and Bluetooth check from #42 and #43 passed on November 21, 2026, and are ticked on #46.

None of these needs a real phone: an emulator reaches YouTube from a home network. On the Apple silicon Mac where the emulator checks run, boot the Android 17 emulator with -feature -HardwareDecoder, because its emulated hardware video decoders fail at decode time, as docs/testing.md says.

Activity

  1. j0ker70 commented on Nov 22, 2026

    @j0ker70
    ContributorAuthor

    Results of the hand checks, November 22, 2026. Debug build from main at f0aa199, after #206 (the mini player and fullscreen) merged. Emulator: Dewfall_Pixel_6_API_37, Android 17 (API 37), booted with -feature -HardwareDecoder. Android 10 and 12L weren't needed: no item asks for them, and #44's checks covered the changed video screen on both.

    Passed

    • An upcoming video: "SpaceX Launches NROL-136 Mission from California", tagged "Upcoming" in a search for "launch live". The screen says the video isn't available, that YouTube didn't say why, and names removal, age restriction and a start still to come. No "Try again". logcat: VIDEO_DETAILS and STREAM_LINKS failed with UNAVAILABLE.
    • The saved set VIDEO_AGE_RESTRICTED's video, rwcfPqbAx-0. A search for its title, "Russian Daft Punk", by DAN TV, found it. Same message, no "Try again", UNAVAILABLE in logcat.
    • Android 17, the rest of the list:
      • The light theme: the video screen, the controls and the mini player.
      • A large font, with font scale 2.0: the title, the publish line, the channel and the description wrap. Nothing sits under the system bars.
      • A live stream, Lofi Girl's "lofi hip hop radio": it plays, the controls say "Live", and the publish line says "Live now".
      • The network message: with the network off while the live stream played, the video area said "YouTube can't be reached. Check your connection." with "Try again", and the details stayed. With the network on, "Try again" played it again. Opening a video with the network off from a fresh start showed one message with one "Try again", which loaded the details and played the video.
      • Process death: pause, go home, end the process with kill -9 after adb root, come back from Recents. The same video's details showed, and it waited at its paused position, 0:08. Play went on from there.
      • Copying a link: a long press on a link in the description selected it, and Copy put the whole address on the clipboard. Pasting it into the search field gave the same address.

    Moved

    Bug found

    Noticed, not filed

    • The video area's disabled play button is named "Play again" for screen readers while a video that never played shows a failure at 0:00. Both the age-restricted and the network failure showed it.
    • Lofi Girl's description shows "https://lnk.to/lofi-hiphop-beats-to-r..." shortened, while the other links show whole. The spec keeps the shortened text in some cases, such as when the address doesn't start with the text. Whether this is one of them wasn't checked, because the link's address couldn't be read from outside the app.
    • Android 10: the video screen's background and minimize button vanish while a video plays #211, the Android 10 background bug, wasn't seen, because these checks ran on Android 17 only.

    The emulator was restored and stopped afterwards: font scale 1.0, stay awake 1, Wi-Fi and data on, the app uninstalled.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions