Closed Bug 796790 Opened 13 years ago Closed 13 years ago

Video app gives me a black screen

Categories

(Firefox OS Graveyard :: Gaia, defect, P1)

defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
blocking-basecamp +

People

(Reporter: ghtobz, Assigned: daleharvey)

References

Details

(Keywords: reproducible, Whiteboard: [label:video])

Attachments

(2 files)

[GitHub issue by dmandelin on 2012-09-28T21:41:06Z, https://github.com/mozilla-b2g/gaia/issues/5461] STR: 1. Set up new phone with no videos. 2. Start video app. Actual result: Black screen. Notification bar still visible. Home button still works. Expected result: Not a black screen.
[GitHub comment by nhirata on 2012-09-28T22:54:45Z] Hi dmandelin, just trying to understand the situation : - Do you have any videos on your SDcard? - Also how long did you want for it to show anything? First time loading, I find I have to wait up to 15 seconds or so before anything shows... (that in itself should be a perf bug)
[GitHub comment by dmandelin on 2012-09-28T22:58:02Z] 1. No, I don't have any videos on my SD card. 2. I tried again, and this time waited for about a minute and still nothing had showed.
[mass adding reproducible keyword for any open Gaia bug with the word "STR:" in comments]
Keywords: reproducible
Blocking+. We can't ship an app that has an empty black screen as it's default view.
blocking-basecamp: ? → +
Piotr, can you summarize your approach in solving this, preferably with screenshot? Offhand I'd say it should match the Music message. Ben, can you review?
The text was there before - see https://github.com/mozilla-b2g/gaia/blob/master/apps/video/locales/video.en-US.properties#L3 As of the method, if there is no video in the videodb it doesn't enumerate even once so hasVideo stays false. In this case I showOverlay with 'empty' message. This is the way how 'nocard' and 'pluggedin' messages are presented to the user.
There is a new comment in the pull request - I'll change the code and create a new pull request
Priority: -- → P1
Priority: -- → P1
I'm still waiting for the device - until then I will not be able to fix that bug
Assignee: zaloon → nobody
Yeh this is definitely fiddly to code without a device, I will steal it and base it on your patches, Cheers
Assignee: nobody → dale
Attachment #676599 - Flags: review?(dflanagan)
Attachment #676599 - Flags: feedback?(zaloon)
Comment on attachment 676599 [details] Show dialog if there are no videos to display Thanks together for the work. Let's kill all blocking-basecamp!
Attachment #676599 - Flags: review?(dflanagan)
Attachment #676599 - Flags: review+
Attachment #676599 - Flags: feedback?(zaloon)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: