Open Bug 1041677 Opened 10 years ago Updated 3 years ago

reposition the global webrtc sharing indicator if the screen resolution changes

Categories

(Firefox :: Site Permissions, defect, P3)

Desktop
Linux
defect

Tracking

()

People

(Reporter: florian, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

I suspect the global sharing indicator that landed in bug 1037408 may end up displayed at the wrong position if the user plugs/unplugs an external screen, or if the screen resolution is changed.

This is kind of an edge case, but it would be nice to verify how bad the current behavior is there, and if there are easy ways to improve it (I'm not aware of any event or notification fired when the screen resolution changes, but that doesn't mean there isn't one).
Flags: firefox-backlog+
Blocks: 1040061
Whiteboard: [sceensharing-uplift]
Points: --- → 5
QA Whiteboard: [qa+]
I'm not sure this is a significant enough concern that we should prioritize it right now.

Anyway, as best I can tell, stuff disappears offscreen (bad), but equally, there are no events that tell you about resolution changes. Any such code would probably want to live in nsScreenManager, and be platform-specific.

We could possibly hack around by just checking every 5-10 seconds or so that we were still inside the screen rect?
Whiteboard: [sceensharing-uplift]
Depends on: 1055617
QA Whiteboard: [qa+]
Flags: qe-verify+
QA Contact: bogdan.maris
Gavin, this isn't really actionable until bug 1055617 is fixed - can we remove it from the backlog, please, and/or add that one? Thanks!
Flags: needinfo?(gavin.sharp)
I'll mark it as blocked.
Flags: needinfo?(gavin.sharp)
Component: General → Device Permissions
Blocks: Screensharing
No longer blocks: 1040061

We no longer show the legacy WebRTC indicator on Windows or macOS, but this still affects Linux.

Severity: normal → S3
Points: 5 → ---
OS: Windows 7 → Linux
Priority: -- → P3
Hardware: All → Desktop
You need to log in before you can comment on or make changes to this bug.