Closed Bug 1645466 Opened 5 years ago Closed 5 years ago

The new WebRTC indicator is resizable on Linux

Categories

(Firefox :: Site Permissions, defect, P2)

Unspecified
Linux
defect

Tracking

()

VERIFIED FIXED
Firefox 79
Tracking Status
firefox79 --- verified

People

(Reporter: mconley, Assigned: mconley)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

It shouldn't be resizable. Not sure if this should actually be under Widget::Gtk.

Hey mstransky. The WebRTC indicator is not supposed to be resizable. The Picture-in-Picture window is (it has a "resizable" feature set on it), but the resizable feature isn't set on the WebRTC indicator.

What's the right place to hook into gtk/nsWindow.cpp to express that this window should not be resizable?

Flags: needinfo?(stransky)

I see Windows already use that:

https://searchfox.org/mozilla-central/rev/0e09b9191c02097034e46b193930f91c45b7885d/widget/windows/nsWindow.cpp#357

co we can copy the logic somehow to Gtk. I'll look at it.

Assignee: nobody → stransky
Flags: needinfo?(stransky)

Mike, may we set size constrains to the indicator window? We should sey both min/max size to the same values. I don't know how to disable the resize on gtk level without regression.

Flags: needinfo?(mconley)

Yep, I think we can do that on the front-end. Thanks for looking into this!

Assignee: stransky → mconley
Flags: needinfo?(mconley)
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/21f12164b249 Prevent the WebRTC indicator from being resized manually on Linux GTK. r=pbz
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
QA Whiteboard: [qa-79b-p2]

Hello! I have managed to reproduce the issue on Linux 18.04 LTS with Firefox Nightly 79.0a1 (2020-06-10). I can confirm that the issue is fixed on Fx Nightly 79.0a1 (2020-06-17), Firefox 79.0 and on Fx Nightly 81.0a1 (2020-08-14).

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: