Open Bug 1984638 Opened 4 months ago Updated 4 months ago

[Ubuntu] Permission Panel UI glitch when showing/hiding camera preview

Categories

(Core :: Widget: Gtk, defect)

Firefox 143
Desktop
Linux
defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox142 --- unaffected
firefox143 --- affected
firefox144 --- affected

People

(Reporter: bhidecuti, Unassigned)

Details

Attachments

(1 file)

Found in

  • 143.0b2

Affected versions

  • 144.0a1
  • 143.0b2

Tested platforms

  • Affected platforms: Ubuntu 22.04 (x11)
  • Unaffected platforms: macOS 13, Windows 11

Steps to reproduce

  1. Go to https://mozilla.github.io/webrtc-landing/gum_test.html
  2. Click on the "Camera" button
  3. Click on the " Show preview" button from the permission panel and observe the behavior
  4. Click on the "Hide preview" button from the permission panel and observe the behavior

Expected result

  • No UI issues should be observed on the permission panel when showing/hiding the preview

Actual result

  • When clicking the "Show preview" button, the preview is inserted with an extra offset, creating a duplicate-looking top section. This misplacement causes the preview to overlap the "Hide preview"
  • When clicking the "Hide preview" button, the top section of the panel is duplicated and the preview is not hidden smoothly

Regression range

  • Not a regression as this is reproducing since enhancement 799415 was implemented

Additional notes

  • The issue is resolved after hovering the permission panel
  • Not reproducing on Windows and macOS
Flags: needinfo?(emz)

I can't reproduce on my Ubuntu VM running wayland. I wonder if the rendering glitches are related to x11?

Component: Site Permissions → Widget: Gtk
Flags: needinfo?(emz)
Product: Firefox → Core

(In reply to Emma Zühlcke [:emz] from comment #1)

I can't reproduce on my Ubuntu VM running wayland. I wonder if the rendering glitches are related to x11?

Hi!
I can also confirm that the issue does not occur on Wayland and only occurs on X11.

Severity: -- → S3

Could you try mozregression to identify the range of regression?

Flags: needinfo?(bhidecuti)

(In reply to Thinker Li [:sinker] from comment #3)

Could you try mozregression to identify the range of regression?

Hi. This has been reproducible since the camera preview was introduced in the permission panel as part of bug 799415.

Flags: needinfo?(bhidecuti)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: