Closed Bug 957071 Opened 11 years ago Closed 6 years ago

[Flatfish]Dimension of "Volume Warning" on Flatfish not fit to the preview pane or the entire video apps

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ericcc, Assigned: mikev370, Mentored)

References

Details

(Whiteboard: [flatfish][TCP=polish][good first bug][mentor-lang=zh][lang=css])

Attachments

(1 file)

Attached image VolumeWarning.png
Gaia      56958810b8c51a513b6ef3263a362da7c9922d7f  │  
Gecko     55280696b85f2fb71aef1ec9f65546e2a264ea51  │  
BuildID   20140107064521             
Version   29.0a1                     
ro.build.version.incremental=20140107               │  
ro.build.date=Tue Jan  7 06:51:44 CST 2014

1. Plug in a headphone to Flatfish.
2. Open "Video" and start playing a video clip.
3. <ISSUE> a warning pops up that covers partially the preview pane, and the thumbnail one. See VolumeWarning.png
Flags: needinfo?(frlee)
+ Fred
Flags: needinfo?(frlee)
Blocks: 935816
Summary: Dimension of "Volume Warning" on Flatfish not fit to the preview pane or the entire video apps → [Flatfish]Dimension of "Volume Warning" on Flatfish not fit to the preview pane or the entire video apps
It's mostly CSS change, I'd glad to mentor this issue
Whiteboard: [Flatfish only][developer+] → [Flatfish only][developer+][good first bug][mentor=gasolin][mentor-lang=zh][lang=css]
I would be interested in giving this a shot
Nice! 

To solve this bug, You could check slides about developing FirefoxOS (gaia) to know the overall develop flow first
http://www.slideshare.net/gasolin/develop-firefox-os1-28348187


here are some checkpoints that can help you and me to spot the current step you are on

1. fork gaia from github, clone your gaia repository to local machine
2. run gaia with nightly browser
3. scale the responsive view to tablet layout
(change the responsive view size to '1312x831' in nighly browser, which fix the correct mapping to 1280x768)


Then you have everything settled to solve this bug.


please refer bug 935816 and bug 938518 to find how similar dialogs CSS style works
You can use `inspector` in browser developer tools to help investigate and manipulate styles.

my irc is: gasolin , feel free to ping me if you have any question.
Assignee: nobody → mikev370
after you have done the first 3 steps, the last one is to reproduce the bug

go to apps/system/js/sound_manager.js replace the 

`window.addEventListener('volumeup', function()` {}

content with 

{
  showCEWarningDialog(null);
});


refresh the nightly browser, press volume up button in left side near top of responsive view (there's 2 black button). The dialog is shown there.


BTW, you may need to add a div wrapper in shared/js/custom_dialog to support transparent background
Hi Fred,

I ran that command again and this is the output I got. At the end its saying [b2g|firefox] -profile /Users/michaelveis/Documents/gaia/gaia/profile-debug , do I run that? 

The whole output I get can be seen here: http://pastebin.mozilla.org/4092225
It seems alright. Now you can run gaia via command

`/Application/FirefoxNightly.app/Contents/MacOS/firefox -profile /Users/michaelveis/Documents/gaia/gaia/profile-debug`
thanks, It's running now
One more question, should the volume warning fit the entire screen for 1312 X 831?
The UI should looks like in https://bug929369.bugzilla.mozilla.org/attachment.cgi?id=8337483
in bug 929369

So the dialog it self should not change the size, but you need add an a div wrapper(overlay) to support the transparent background
Hi
i want to solve this bug.Please assign this to me
Michael, are you still working on this issue?
Flags: needinfo?(mikev370)
Hi Fred,

Yes I am still working on this issue.
Flags: needinfo?(mikev370)
Mentor: gasolin
Whiteboard: [Flatfish only][developer+][good first bug][mentor=gasolin][mentor-lang=zh][lang=css] → [Flatfish only][developer+][good first bug][mentor-lang=zh][lang=css]
Whiteboard: [Flatfish only][developer+][good first bug][mentor-lang=zh][lang=css] → [flatfish][TCP][good first bug][mentor-lang=zh][lang=css]
Whiteboard: [flatfish][TCP][good first bug][mentor-lang=zh][lang=css] → [flatfish][TCP=polish][good first bug][mentor-lang=zh][lang=css]
I'm a student from coventry university studying an opensource module, I would like to be assigned this as my first bug! Could you please point me in the right direction of how to start
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: