Closed
Bug 935342
Opened 11 years ago
Closed 11 years ago
[Permission] video&Mic icon for prompt window
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:-)
RESOLVED
FIXED
blocking-b2g | - |
People
(Reporter: gasolin, Assigned: gasolin)
References
Details
(Whiteboard: [mentor=gasolin][mentor-lang=zh])
Attachments
(2 files)
Currently we use video icon to present video&Mic use case
https://github.com/mozilla-b2g/gaia/blob/master/apps/system/style/permission_manager/images/PermissionsDialogIcons_VideoRecorder.png
May need a separate icon to present video&Mic that similar to bug 917367
Assignee | ||
Updated•11 years ago
|
Updated•11 years ago
|
Blocks: b2g-getusermedia
Assignee | ||
Updated•11 years ago
|
Whiteboard: [good first bug][mentor=gasolin][mentor-lang=zh]
Updated•11 years ago
|
blocking-b2g: 1.3? → -
Assignee | ||
Updated•11 years ago
|
Whiteboard: [good first bug][mentor=gasolin][mentor-lang=zh] → [mentor=gasolin][mentor-lang=zh]
Comment 2•11 years ago
|
||
(In reply to Fred Lin [:gasolin] from comment #1)
> ni? UX to provide a image
The icons for this are already in the dupe here - https://bugzilla.mozilla.org/attachment.cgi?id=827432.
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 3•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #2)
> (In reply to Fred Lin [:gasolin] from comment #1)
> > ni? UX to provide a image
>
> The icons for this are already in the dupe here -
> https://bugzilla.mozilla.org/attachment.cgi?id=827432.
I mean not dupe - but the original bug where we worked on the notification icons.
Assignee | ||
Comment 4•11 years ago
|
||
The attachment provides `red` background icons, I think it's too strong and not follow the styles of permission dialogs icons. How do you think?
Comment 5•11 years ago
|
||
(In reply to Fred Lin [:gasolin] from comment #4)
> The attachment provides `red` background icons, I think it's too strong and
> not follow the styles of permission dialogs icons. How do you think?
Red was originally chosen to my understanding because the red color is a universal indicator of recording & matches the recording indicator (which is a red dot). The color strength is fine to be different here in the permission dialog vs. notifications because in the permission dialog, you are requesting access to your mic/camera instead of having recording active - that implies no red color in the icon. The notification indicator on the other hand is showing that recording is active, which adds a red color to match the universal indicator for recording.
Assignee | ||
Comment 6•11 years ago
|
||
Yes, in this issue we'd like to replace the `permission dialog icon` but not the status indicator icon.
The attachment mentioned above only contains icons for status indicator.
So we still need a new permission dialog icon (blue, no background) for this case.
Comment 7•11 years ago
|
||
(In reply to Fred Lin [:gasolin] from comment #6)
> Yes, in this issue we'd like to replace the `permission dialog icon` but not
> the status indicator icon.
> The attachment mentioned above only contains icons for status indicator.
> So we still need a new permission dialog icon (blue, no background) for this
> case.
Oh. Right. Misread the bug. Yeah, we need image icon resources for this.
Flags: needinfo?(firefoxos-ux-bugzilla)
Comment 8•11 years ago
|
||
Flagging Peter for image icon and any necessary reassignment here.
Flags: needinfo?(firefoxos-ux-bugzilla) → needinfo?(pla)
Attached is an icon for Video & Microphone permissions, as well as a slightly revised Video permissions icon @1, @1.5, and @2 x resolution.
Source file:
https://mozilla.box.com/s/rtopo2zp5usuomerkc7h
Flags: needinfo?(pla)
Updated•11 years ago
|
Attachment #8377975 -
Flags: review?(alive) → review+
Assignee | ||
Comment 12•11 years ago
|
||
merged to gaia-master https://github.com/mozilla-b2g/gaia/commit/99b4f7aa20c3c1774976a0c25025eafeea272a76
thanks!
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 13•11 years ago
|
||
The PNG images that were landed as part of this bug were not properly compressed, please do so in a follow up using the script provided in the gaia tools directory (you will need the optipng and advancecomp packages installed):
./tools/png_recompress.sh -v \
apps/system/style/permission_manager/images/PermissionsDialogIcons_VideoAndMic.png \
apps/system/style/permission_manager/images/PermissionsDialogIcons_VideoAndMic@1.5x.png \
apps/system/style/permission_manager/images/PermissionsDialogIcons_VideoAndMic@2x.png \
apps/system/style/permission_manager/images/PermissionsDialogIcons_VideoRecorder.png \
apps/system/style/permission_manager/images/PermissionsDialogIcons_VideoRecorder@1.5x.png \
apps/system/style/permission_manager/images/PermissionsDialogIcons_VideoRecorder@2x.png
Doing so yields a 99.5% (!) reduction in size which has a very measurable impact on ZIP file size and memory footprint.
Assignee | ||
Comment 14•11 years ago
|
||
Thanks for remind, followup bug added.
You need to log in
before you can comment on or make changes to this bug.
Description
•