UI glitch after accessing a video without enough credits #605

Closed
opened 2017-09-22 15:11:54 +02:00 by mirgee · 10 comments
mirgee commented 2017-09-22 15:11:54 +02:00 (Migrated from github.com)

The Issue

A UI glitch (see screenshot below) appears after trying to play a searched video without enough credits.

Steps to reproduce

  1. Make sure you don't have much credits
  2. Search for a video
  3. Click on a search result you don't have enough credits for
  4. Try to play the video
  5. Click on Not now

Expected behaviour

Page of the video, like this:
screenshot from 2017-09-22 10-28-29

Actual behaviour

Black dot, like this:
screenshot from 2017-09-22 10-26-10

System Configuration

screenshot from 2017-09-22 15-03-37

{
"build": "dev",
"installation_id": "6QapiUUrkTfiks6jiQnecv8pXixxm1LncbgGB32x6nXpQ1aipjikPboVJM4UxsXruR",
"lbrynet_version": "0.16.1-2-g875d512",
"lbryschema_version": "0.0.11rc1",
"lbryum_version": "3.1.7rc5",
"os_release": "4.10.0-35-generic",
"os_system": "Linux",
"platform": "Linux-4.10.0-35-generic-x86_64-with-Ubuntu-16.04-xenial",
"processor": "x86_64",
"python_version": "2.7.12"
}

Anything Else

This doesn't happen to a video accessed or accessible from feature page, only to other videos found through search.

<!-- 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. - App releases: https://github.com/lbryio/lbry-app/releases - Standalone daemon: https://github.com/lbryio/lbry/releases We are also available on Slack at https://slack.lbry.io --> ## The Issue A UI glitch (see screenshot below) appears after trying to play a searched video without enough credits. ### Steps to reproduce 1. Make sure you don't have much credits 2. Search for a video 2. Click on a search result you don't have enough credits for 3. Try to play the video 3. Click on Not now ### Expected behaviour Page of the video, like this: ![screenshot from 2017-09-22 10-28-29](https://user-images.githubusercontent.com/11699479/30745707-8863e6f2-9fa7-11e7-96ac-e388636afbb1.png) ### Actual behaviour Black dot, like this: ![screenshot from 2017-09-22 10-26-10](https://user-images.githubusercontent.com/11699479/30746896-b1bc9716-9fab-11e7-8c0c-bdbac573227d.png) ## System Configuration ![screenshot from 2017-09-22 15-03-37](https://user-images.githubusercontent.com/11699479/30746924-c3127e40-9fab-11e7-9ec9-39cd7cbbd956.png) { "build": "dev", "installation_id": "6QapiUUrkTfiks6jiQnecv8pXixxm1LncbgGB32x6nXpQ1aipjikPboVJM4UxsXruR", "lbrynet_version": "0.16.1-2-g875d512", "lbryschema_version": "0.0.11rc1", "lbryum_version": "3.1.7rc5", "os_release": "4.10.0-35-generic", "os_system": "Linux", "platform": "Linux-4.10.0-35-generic-x86_64-with-Ubuntu-16.04-xenial", "processor": "x86_64", "python_version": "2.7.12" } ## Anything Else This doesn't happen to a video accessed or accessible from feature page, only to other videos found through search.
tzarebczan commented 2017-09-22 15:22:41 +02:00 (Migrated from github.com)

So the video spins and the play button disappears? I'll try to reproduce later.

Anything in the console or network logs?

So the video spins and the play button disappears? I'll try to reproduce later. Anything in the console or network logs?
mirgee commented 2017-09-22 15:41:05 +02:00 (Migrated from github.com)

@tzarebczan The screenshot didn't upload for some reason, hope it's better now. Spinning and play button disappearing is what happens on videos through featured. This is probably intended and acceptable. The actual behavior after search is not.

@tzarebczan The screenshot didn't upload for some reason, hope it's better now. Spinning and play button disappearing is what happens on videos through featured. This is probably intended and acceptable. The actual behavior after search is not.
tzarebczan commented 2017-09-27 22:16:55 +02:00 (Migrated from github.com)

@btzr-io thanks for looking at this. Did you get it to stop spinning in the case of not enough funds too?

@btzr-io thanks for looking at this. Did you get it to stop spinning in the case of not enough funds too?
btzr-io commented 2017-09-29 04:51:08 +02:00 (Migrated from github.com)

@tzarebczan nope, not a css bug,
I guess the video component needs refactoring,
also It shouldn't show the player instead an empty state or something else...

This was my initial idea but I hope someone make something better 😛

@tzarebczan nope, not a css bug, I guess the video component needs refactoring, also It shouldn't show the player instead an empty state or something else... This was my initial idea but I hope someone make something better :stuck_out_tongue: <img width=420 src="https://spee.ch/f/silly-face.jpeg" />
btzr-io commented 2017-10-01 05:06:10 +02:00 (Migrated from github.com)

@mirgee could you provide the link of the video ?
you can also test this branch: https://github.com/lbryio/lbry-app/tree/fix-play

@mirgee could you provide the link of the video ? you can also test this branch: https://github.com/lbryio/lbry-app/tree/fix-play
btzr-io commented 2017-10-01 05:14:25 +02:00 (Migrated from github.com)

@tzarebczan I'm not able to recreate the background glitch,
but I was able to stop the spinning ^^

@tzarebczan I'm not able to recreate the background glitch, but I was able to stop the spinning ^^
MSFTserver commented 2017-10-01 06:20:59 +02:00 (Migrated from github.com)

@btzr-io i noticed this also happens when videos fail to download you could try some videos you know wont work

@btzr-io i noticed this also happens when videos fail to download you could try some videos you know wont work
btzr-io commented 2017-10-01 06:26:40 +02:00 (Migrated from github.com)

@MSFTserver Do you have any example ( link ) to test it ?

@MSFTserver Do you have any example ( link ) to test it ?
btzr-io commented 2017-10-01 06:54:02 +02:00 (Migrated from github.com)

@tzarebczan the UI glitch isn't limited to videos and looks like is a different issue...

@tzarebczan the `UI` glitch isn't limited to videos and looks like is a different issue...
tzarebczan commented 2017-10-12 00:08:00 +02:00 (Migrated from github.com)

@mirgee - please take a look at https://lbry.io/faq/tips :)

@mirgee - please take a look at https://lbry.io/faq/tips :)
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-desktop#605
No description provided.