Closed Bug 1522774 Opened 5 years ago Closed 1 year ago

Rounded titlebar corners are not anti-aliased with basic compositor

Categories

(Core :: Widget: Gtk, defect, P3)

66 Branch
Unspecified
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox-esr60 --- unaffected
firefox64 --- unaffected
firefox65 --- unaffected
firefox66 --- wontfix
firefox67 --- fix-optional
firefox68 --- wontfix

People

(Reporter: ke5trel, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image aliased-corner.png

On Ubuntu 18.10 (X & Wayland) the rounded titlebar corners have noticeable aliasing with the default basic compositor. Does not occur with layers acceleration, WebRender or Wayland backend.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=1c227ac918eb1ab0b702d4424603faeb836f2b1c&tochange=64d38928ff5a59fb8214a0ee2472dccd6f16705d

Regressed by Bug 1521012.

Martin, can you take a look here?

Flags: needinfo?(stransky)

Yes, it's because we can't use ARGB visual for the toplevel window due to Bug 1516224 for Basic compositor. There's no fix for that unless the video playback is fixed.

Flags: needinfo?(stransky)

(In reply to Martin Stránský [:stransky] from comment #3)

Yes, it's because we can't use ARGB visual for the toplevel window due to
Bug 1516224 for Basic compositor. There's no fix for that unless the video
playback is fixed.

To be correct here this happens with X11 SHM backend only. It may be possible to fix WindowSurfaceX11Image (Bug 1521908) but it's slower than the SHM backend.

:jimm - this one needs a priority?

Flags: needinfo?(jmathies)
Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(jmathies)
Resolution: --- → DUPLICATE

Maybe that wasn't right.

Status: RESOLVED → REOPENED
Priority: -- → P3
Resolution: DUPLICATE → ---

Note: Bug 1525874 allow to override the shape mask for toplevel window, but that introduces back Bug 1516224.

See Also: → 1521022

Bulk change of P3 carryover bugs to wontfix for 68.

Severity: normal → S3

Basic Compositor was removed in bug 1727876. Can you still reproduce this?

Flags: needinfo?(ke5trel)

I cannot reproduce it on Ubuntu 22.10 with MOZ_ENABLE_WAYLAND=0 and SW-WR.

Status: REOPENED → RESOLVED
Closed: 5 years ago1 year ago
Flags: needinfo?(ke5trel)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: