Launchpad has imported 6 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1509931.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-11-26T18:22:11+00:00 5-greg wrote:

Created attachment 9027623
firefox-wayland-corner.png

(continuing from bug 1507608)

When GL compositing is used on the Wayland backend, the GL subsurface
that actual Firefox content is rendered to does not have rounded
corners. It overdraws the parent GTK surface that contains the border
and shadow.

The Default Firefox theme actually draws the Adwaita rounded corner, but
the surface is still not transparent in the corners, so there's an ugly
gray corner.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1871644/comments/0

------------------------------------------------------------------------
On 2018-12-20T11:22:25+00:00 89c51 wrote:

The same thing happens on linux also.

https://www.enlightenment.org/ss/display.php?image=e-5c1b7b13e6d7e3.27335093.png

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1871644/comments/1

------------------------------------------------------------------------
On 2019-11-11T09:37:46+00:00 Stransky wrote:

I'm not sure how to fix that on Wayland as it does not support XShape
mask which we use on X11.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1871644/comments/2

------------------------------------------------------------------------
On 2019-11-11T20:02:34+00:00 5-greg wrote:

huh, the corners were just masked out? But who draws the non-transparent
gray pixels there in the first place?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1871644/comments/3

------------------------------------------------------------------------
On 2020-01-16T12:34:54+00:00 Jan Steffens wrote:

Created attachment 9121264
Default and Light theme corners, GNOME Shell window screenshots, scale 2, on 
striped background

This almost works for me, and the behavior is the same whether basic
layers or WR is used.

As I understand, the way CSD works here is that the window uses a GTK
window style which only draws the shadow around an inner widget drawn by
Firefox. Adwaita gives us a soft shadow and a 1px semitransparent
outline.

The Default theme has a slight glitch where the corners are not as
transparent as they should be. I think the tab bar's "headerbar" styling
is trying to draw a window shadow here which gets overlaid with the
shadow drawn by the window. We need to either somehow remove the shadow
from the headerbar style applied to the tab bar, or somehow mask out the
drawing of the window shadow so that it only draws outside the inner
widget.

The Light and Dark themes have no "headerbar" styling, so the tab bar
has sharp corners which clash with the rounded outline from the window's
Adwaita theme.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1871644/comments/4

------------------------------------------------------------------------
On 2020-03-16T21:04:38+00:00 Limpid-mazarine wrote:

Hi, the issue still exists on Firefox 74.0 on Fedora (Wayland). Any idea
how to fix this?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1871644/comments/5


** Changed in: firefox
       Status: Unknown => New

** Changed in: firefox
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/1871644

Title:
  Top corners of Firefox windows have weird black protrusions from the
  rounded edges

Status in Mozilla Firefox:
  New
Status in firefox package in Ubuntu:
  Confirmed

Bug description:
  Image to illustrate the problem is attached. All firefox windows on
  Wayland (EDIT: and X11) have a weird black protrusion from the top-
  left and top-right corners where yaru has curved the window corners,
  but something from Firefox appears to not be being clipped by the
  theme. I need to double check whether this appears on X11, but for now
  consider it Wayland only until I report back, although oSoMoN has
  checked their system and they don't see the behaviour (on X11).

  EDIT: I have now checked X11 on my system and I see the same behaviour
  as described above, so this is affecting BOTH Wayland AND X11 for me.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: firefox 75.0+build3-0ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
  Uname: Linux 5.4.0-21-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu25
  Architecture: amd64
  BuildID: 20200403170909
  CurrentDesktop: ubuntu:GNOME
  Date: Wed Apr  8 14:48:56 2020
  InstallationDate: Installed on 2020-03-03 (35 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200303)
  SourcePackage: firefox
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/1871644/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to