Switching to PiP mode while displaying notifications doesn't display video #1034

Closed
opened 2020-10-15 22:47:20 +02:00 by ycohen-dev · 3 comments
ycohen-dev commented 2020-10-15 22:47:20 +02:00 (Migrated from github.com)

The Issue

When viewing a video on the app, while having the "Enable background playback" toggle on,
and then pressing the bell to view notification, and then pressing the home button
PiP window shows cropped version of the notifications view

Steps to reproduce

  1. Open LBRY app
  2. Open the navigation drawer
  3. Choose Settings
  4. Ensure that the "Enable background playback" toggle is on
  5. Go back to "Following"
  6. Watch a random video
  7. Press the bell to view notifications
  8. Press the home button to trigger Picture-In-Picture mode

Expected behaviour

PiP window should contain the video being played

Actual behaviour

PiP window shows cropped version of notifications view

System Configuration

  • Device: Xiaomi MI9
  • Android version: Android 10 (API 29)

Screenshots

lbry_pip

Internal Use

Acceptance Criteria

Definition of Done

  • Tested against acceptance criteria
  • Tested against the assumptions of the user story
  • The project builds without errors
  • Unit tests are written and passing
  • Tests on devices/browsers listed in the issue have passed
  • QA performed & issues resolved
  • Refactoring completed
  • Any configuration or build changes documented
  • Documentation updated
  • Peer Code Review performed
<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. We are also available on live chat at https://chat.lbry.com --> ## The Issue When viewing a video on the app, while having the "Enable background playback" toggle on, and then pressing the bell to view notification, and then pressing the home button PiP window shows cropped version of the notifications view ### Steps to reproduce 1. Open LBRY app 2. Open the navigation drawer 3. Choose Settings 4. Ensure that the "Enable background playback" toggle is on 5. Go back to "Following" 6. Watch a random video 7. Press the bell to view notifications 8. Press the home button to trigger Picture-In-Picture mode ### Expected behaviour PiP window should contain the video being played ### Actual behaviour PiP window shows cropped version of notifications view ## System Configuration - Device: Xiaomi MI9 - Android version: Android 10 (API 29) ## Screenshots ![lbry_pip](https://user-images.githubusercontent.com/33922624/96184118-aaa20300-0f40-11eb-9f75-135967ba097e.gif) ## Internal Use ### Acceptance Criteria 1. 2. 3. ### Definition of Done - [ ] Tested against acceptance criteria - [ ] Tested against the assumptions of the user story - [ ] The project builds without errors - [ ] Unit tests are written and passing - [ ] Tests on devices/browsers listed in the issue have passed - [ ] QA performed & issues resolved - [ ] Refactoring completed - [ ] Any configuration or build changes documented - [ ] Documentation updated - [ ] Peer Code Review performed
tzarebczan commented 2020-10-15 22:57:59 +02:00 (Migrated from github.com)

Thanks for filing! I've definitely seen this before... and I think it even happens with the Youtube App haha

Thanks for filing! I've definitely seen this before... and I think it even happens with the Youtube App haha
ycohen-dev commented 2020-10-15 22:59:45 +02:00 (Migrated from github.com)

Allready PR'd it. Really simple fix

Allready PR'd it. Really simple fix
ycohen-dev commented 2020-10-15 23:17:13 +02:00 (Migrated from github.com)

Sorry for the messy storyline - newest PR request contain 1 single commit

Sorry for the messy storyline - newest PR request contain 1 single commit
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#1034
No description provided.