Skip to content

Popup restores bad size #4296

Open
Open

Description

@TobiGr

Version

Steps to reproduce the bug

  1. Open a video in popup mode while being in portrait mode
  2. Rotate device to get in landscape and enlarge the popup to have a bigger height than the device width
    3.1. Rotate to get back in landscape -> you'll have black bars at the top and bottom of the popup
    3.2. [OR] Close the popup
    3.2.1. rotate back to portrait mode -> player starts to play
    3.2.2. Stop the player
    3.2.3. Start the popup -> popup has the size from 2. and is only partly on the screen.

Expected behavior

3.1. No black bars
3.2.1. Player does not start
3.2.3. Popup is not wider than the device width

Screenshots/Screen recordings

popup.m4v.zip

Activity

  1. added
    bugIssue is related to a bug
    playerIssues related to any player (main, popup and background)
    on Sep 20, 2020
  2. avently commented on Sep 20, 2020

    @avently
    Contributor

    Why did you marked the issue [Unified] if the same situation happens in 0.19.8?

  3. changed the title [-][Unified] Popup restores bad size[/-] [+]Popup restores bad size[/+] on Sep 20, 2020
  4. DoaaIkzamia commented on Nov 13, 2020

    @DoaaIkzamia

    Good afternoon all,

    I need to join you to fixed this bug, Can I ?

  5. opusforlife2 commented on Nov 13, 2020

    @opusforlife2
    Collaborator

    @DoaaIkzamia You're welcome to open a PR. :D

  6. DoaaIkzamia commented on Jan 12, 2021

    @DoaaIkzamia

    Dear @opusforlife2 and @TobiGr ,

    About those bugs which you mention in this job issue, I studied the code (version 19.8) and tried to solve them one by one and I started with this issue (3.2.1) it seems simplest than others.

    I wanna to ask you if you make paused for this video before closed pop up mode ? or without paused?

    Thanks.

  7. added a commit that references this issue on Jan 14, 2021
  8. DoaaIkzamia commented on Jan 14, 2021

    @DoaaIkzamia

    Dears,

    About this bugs, You now that the version 19.8 is not available right now ((That exact version can't be run anymore because of YouTube changes. ))

    • About bug 3.2.1 It fixed in the new version (20.8)
    • About bug 3.2.3 It still appear in the new version(20.8) and I fixed it in this commit c4f21c9
    • About bug 3.1 I will try to fixed it as soon as possible

    Attached the video show you how it fixed it.
    https://drive.google.com/file/d/1qDF-UjBEIDHosgxiLaTtMyX7BVMg9fGV/view?usp=sharing
    Regards,
    Doaa

  9. rancidfrog commented on Jun 11, 2021

    @rancidfrog

    Pop-up does not always keep the same size and position if you pause video and switch screen off and on. If you pause video into lockscreen and reopen player, no rotation, many times the screen size and position resets.
    Size and position should be persistent

    Version 0.21.3

  10. AudricV commented on Feb 8, 2024

    @AudricV
    Member

    Is it still an issue on 0.26.1?

  11. added
    waiting for authorIf the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed.
    on Feb 8, 2024
  12. github-actions commented on Feb 23, 2024

    @github-actions
    Contributor

    This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

  13. removed
    waiting for authorIf the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed.
    on Feb 23, 2024
  14. ShareASmile commented on Oct 27, 2026

    @ShareASmile
    Collaborator
    1. Open a video in popup mode while being in portrait mode
    1. Rotate device to get in landscape and enlarge the popup to have a bigger height than the device width
      3.1. Rotate to get back in landscape -> you'll have black bars at the top and bottom of the popup
      3.2. [OR] Close the popup
      3.2.1. rotate back to portrait mode -> player starts to play
      3.2.2. Stop the player
      3.2.3. Start the popup -> popup has the size from 2. and is only partly on the screen.

    Reopening as 3.1 and 3.2.3 still happens but on each alternate try.

  15. added
    good first issueEasy/simple issues perfect for newcomers to get involved in the project
    on Oct 27, 2026
  16. SAMPATH00247 commented on Oct 28, 2026

    @SAMPATH00247

    Hi! I'd like to work on the remaining popup sizing issue as my first contribution to NewPipe. I noticed the earlier fix in commit c4f21c9. I'll reproduce the remaining issue on the current version and check the existing implementation first. Is there a particular part you'd recommend investigating?

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

    bugIssue is related to a buggood first issueEasy/simple issues perfect for newcomers to get involved in the projectplayerIssues related to any player (main, popup and background)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions