Closed Bug 1041679 Opened 10 years ago Closed 4 years ago

implement the shadow behind the global webrtc sharing indicator

Categories

(Firefox :: Site Permissions, defect)

All
Windows 7
defect
Not set
normal
Points:
5

Tracking

()

RESOLVED WONTFIX

People

(Reporter: florian, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

I don't think we are currently displaying the shadow that was part of the UX mockups.

I wouldn't necessarily be against wontfixing this bug if we decide what we currently have is good enough; but the reason why it's currently not implemented was purely lack of time when finishing bug 1037408 that had to land before the Firefox 33 string freeze.
Flags: firefox-backlog+
Blocks: 1040061
Whiteboard: [sceensharing-uplift]
Where's the mockup for this?
Philipp, I remember we discussed a shadow behind the global indicator and Gijs was reluctant to implement it immediately, but I can't find any mockup showing how the shadow is expected to look. Do you remember if there was one?
Flags: needinfo?(philipp)
Attached image Mockup with shadow
Here's the mockup. The shadow is the equivalent of
> box-shadow: 0 3px 13px rgba(0,0,0,0.35);
Flags: needinfo?(philipp)
Florian, I am also looking on this bug and currently now trying to add shadow behind the sharing indicator, but with no success.
I've tried it to do in webrtc\indicator.css by adding next code:
#webrtcIndicator {
  -webkit-box-shadow: 0 3px 13px rgba(0,0,0,0.35);
  -moz-box-shadow:    0 3px 13px rgba(0,0,0,0.35);
  box-shadow:         0 3px 13px rgba(0,0,0,0.35);
}
and also inside content\wertcindicator.xul by changing style of window.
So, should it be implemented some where else or by other way, or if you prefer to fix this bug, I can live it :) ?
Flags: needinfo?(florian)
We just discussed this a little bit in the #fx-team channel: http://logs.glob.uno/?c=mozilla%23fx-team#c156199

I don't have a good solution to offer, unfortunately. Someone suggested tweaking the list of window features at http://mxr.mozilla.org/mozilla-central/source/browser/modules/webrtcUI.jsm#422
This may help, but I'm not sure.
Flags: needinfo?(florian)
Points: --- → 3
QA Whiteboard: [qa+]
Just small note. I've tried solution which provided Gijs "one option would be to add a container inside the window, make the window fully transparent, and add shadow to the container", but with no luck. It displays some shadow, only on the right side of control and also we need to re-draw the border of control, because even if we can draw shadow it will be inside border.
Points: 3 → 5
Whiteboard: [sceensharing-uplift]
Assignee: nobody → dao
Status: NEW → ASSIGNED
Iteration: --- → 34.3
QA Whiteboard: [qa+]
Flags: qe-verify+
QA Contact: florin.mezei
Dao, any status updates here?
Flags: needinfo?(dao)
I couldn't figure out how to do this. It might be easier if the indicator was a panel rather than a window, but that might have other drawbacks like the fact that panels can't exist independently but are technically tied to a window. We probably don't want to go down that road just for a drop shadow.
Assignee: dao → nobody
Status: ASSIGNED → NEW
Flags: needinfo?(dao)
Iteration: 34.3 → ---
Neil, is there some way to get the same panel-y shadows on a window, that you know of? :-)
Flags: needinfo?(enndeakin)
Panel dropshadows are drawn manually using box-shadow. If you can't get the transparency to work, it's possible that it isn't supported with windows opened with the popup flag, or there is some specific combination of window style flags used here that doesn't handle transparency.
Flags: needinfo?(enndeakin)
Component: General → Device Permissions
Blocks: Screensharing
No longer blocks: 1040061
Attached image new-gUM-indicator.png

¡Hola!

The new gUM indicator on 79 is very plain looking so perhaps shadows won't be needed anymore.

I looked a bit and couldn't find the designs so I can't definitively tell.

Hope this is a helpful comment.

¡Gracias!
Alex

I'll close this out; if we want shadows around the other indicator I'm sure the new indicator bug tree will have something on file about that.

Status: NEW → RESOLVED
Closed: 4 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: