Content not clipped in auxiliary/dialog windows with rounded bottom corners
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox119 | --- | affected |
People
(Reporter: abrarsl2002, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(7 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15
Steps to reproduce:
Firefox Nightly 119.0a1 (2023-09-10) (64-bit) on Linux with newly added rounded corners.
Open any auxiliary/dialog window such as,
Browser Console,
Dev Tools Window,
About Window,
Profile Manager,
Library (Downloads, History, Bookmarks).
Actual results:
The contents of the windows have not been clipped.
Expected results:
The contents should be clipped at the window corners.
| Reporter | ||
Comment 1•2 years ago
|
||
Please ignore the UA in the report. I used a different browser to submit the bug.
I'm noticing the same issue in FF Dev. Edt. 118.0b8 (64-bit), both in pop ups/dialog windows and the main browser window.
Comment 3•2 years ago
|
||
Reproduced the issue with Firefox 119.0a1 (2023-09-10) on Ubuntu 22.04. Indeed when I opened one of the auxiliary/dialog window the content of the windows have not been clipped.
Marking issue as new for engineering input. Thank you.
Comment 4•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 6•2 years ago
|
||
Yeah this is kind of expected since we implemented the clipping using CSS on browser.css. We could just move it to somewhere shared, but we kinda need to come up with some better approach anyways to fix the performance issues.
Comment 7•2 years ago
|
||
Can someone that can reproduce this attach about:support information? In particular, are you on Wayland or X11? Any GTK theme that isn't the default?
I can't reproduce this on either GNOME nor KDE with either Wayland or X11, so I'm confused since comment 3 indicates it should repro there :)
Comment 8•2 years ago
|
||
| Reporter | ||
Comment 9•2 years ago
|
||
| Reporter | ||
Comment 10•2 years ago
|
||
I can't reproduce the clipping issue with xwayland. The corners are simply not rounded at all.
Comment 11•2 years ago
|
||
Comment 12•2 years ago
|
||
I have reverted to the default theme, can confirm what abrarsl2002 mentioned in the last comment: bottom borders not rounded at all.
I proceeded to install a gnome extension called Rounded window Corners (https://extensions.gnome.org/extension/5237/rounded-window-corners/) an relogged.
Result: FF bottom corners are rounded and content is properly clipped.
IDK what to make of it, but it looks like it's unrelated to FF's code in my case.
I've attached about:support output anyway, just in case.
Comment 13•2 years ago
|
||
(In reply to abrarsl2002 from comment #10)
I can't reproduce the clipping issue with xwayland. The corners are simply not rounded at all.
That's the expected behavior on Wayland too. It seems you have an adw-gtk3-dark theme. Does using plain Adwaita fix it? Do you have an extension like comment 12 or so?
| Reporter | ||
Comment 14•2 years ago
|
||
I tried again with plain Adwaita. The problem still occurs.
| Reporter | ||
Comment 15•2 years ago
|
||
| Reporter | ||
Comment 16•2 years ago
|
||
Comment 17•2 years ago
|
||
Any gnome extension or so? I can't reproduce that.
| Reporter | ||
Comment 18•2 years ago
|
||
Both of those images were taken with plain Adwaita. The buggy one was with native Wayland FF and the other one is Xwayland FF via setting MOZ_ENABLE_WAYLAND=0
| Reporter | ||
Comment 19•2 years ago
|
||
No GNOME extensions or anything weird being done server side as far as I know.
| Reporter | ||
Comment 20•2 years ago
|
||
I installed my FF from https://gitlab.com/projects261/firefox-nightly-flatpak
I'll test with a tarball straight from Mozilla once it's done downloading.
| Reporter | ||
Comment 21•2 years ago
|
||
Issue persists with the tarball and exhibits the same behaviour.
Updated•2 years ago
|
Description
•