Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rounding at the bottom of the window #144

Open
Zbergen-cli opened this issue Sep 12, 2021 · 19 comments
Open

Add rounding at the bottom of the window #144

Zbergen-cli opened this issue Sep 12, 2021 · 19 comments

Comments

@Zbergen-cli
Copy link

Hello.

In EOS Odin, all native applications have a rounding at the top and bottom of the window. It's worth adding this to the theme for better integration.

@Zonnev
Copy link
Owner

Zonnev commented Sep 12, 2021

Hi thanks for your feedback. I wish I could add rounded corners to Firefox just like the native windows in eOS have now but I don't have the knowledge to implement it. I think when eOS would see Firefox as a native app, things would be much easier ;) Although... even the native browser Web doesn't have all 4 corners rounded!

Search for "rounded" in this article and you will read a little about developing the rounded corners by the devs of eOS Odin.

So, yes I think too that it's definitely worth adding this but since Firefox devs and eOS devs aren't working together, I think Firefox will always look a little off...

Added: I even worry with every new version of Firefox that the rounded top corners will stay there or not, because even these existing corners look terrible to me! :(

@Zbergen-cli
Copy link
Author

I found some ancient references to this problem. I think it's worth reminding the developers about it, which is what I'll do now. I'll let them know if I can get through to them, but in the meantime I'll close the thread.

@ChildishGiant
Copy link

To my knowledge rounding Firefox corners would require forking and patching it, not just some CSS. As Elementary don't ship Firefox I highly doubt they themselves will ever do this.

@Zbergen-cli
Copy link
Author

Zbergen-cli commented Sep 16, 2021

For this reason, we contacted mozilla directly. Fingers crossed that they fix it.

I was reminded of how Canonical supported global menu patches in Unity for many applications. Perhaps a similar fate awaits EOS for rounding in other applications.

@Zonnev
Copy link
Owner

Zonnev commented Sep 16, 2021

@Zbergen-cli Maybe open a new bug at Mozilla for the rounded corners in eOS Odin?

The rounded corners in eOS Odin are written with the help of a new library called libhandy. Knowing it is now part of the Gnome app development platform and I think when it is used in more Linux distributions, it would have a chance Firefox developers will use it too. But for now I think only eOS Odin use it, so the chances are low, but I'm not sure about this.

@Zonnev Zonnev reopened this Sep 16, 2021
@Zonnev
Copy link
Owner

Zonnev commented Sep 16, 2021

Please keep this issue open so everyone will notice the lack of rounded corners in Firefox and follow or participate in the development towards a solution.

@Zbergen-cli
Copy link
Author

@Zonnev, I thought about opening up a new problem, but to be honest I was hesitant to do so and posted to an existing problem.

@Zonnev
Copy link
Owner

Zonnev commented Sep 22, 2021

I just watched a video about Gnome 41 and it has rounded bottom borders as eOS 6. This has to do with the successor of libhandy, libadwaita which does draw the 4 rounded corners in Gnome 41. This looks hopefull for us, since future Gnome and Firefox users will want 4 rounded corners on a Firefox window as well. I think soon I will try to install the new Gnome to see how Firefox looks in it. If it looks terrible, I will try to report this bug at Mozilla.

@Zonnev
Copy link
Owner

Zonnev commented Sep 24, 2021

Schermafdruk van 2021-09-24 15 54 49
Firefox looks okay on Gnome 41 but is not integrated with the new libadwaita making 4 rounded window corners. I guess I can ask the devs to look at it in the near future when Gnome 41 is more common.

By the way, notice how Gnome Boxes look on eOS Odin, it has square window corners! :(

@Zonnev
Copy link
Owner

Zonnev commented Oct 23, 2021

There is talk about rounded bottom corners here: https://bugzilla.mozilla.org/show_bug.cgi?id=1509931#c31

@Zonnev
Copy link
Owner

Zonnev commented Dec 3, 2021

It's reported that the 'ugly' rounded window corners on Linux and the missing rounded corners for the other theme modes dark, light and Alpenglow, will be fixed in Firefox 96 which will come to us in January 2022.

I think the rounded bottom borders will not make it this time but perhaps a little more complaining will be enough to make them work on that too. But first let's wait what they did when Firefox 96 comes out.

I will watch development on Nightly as well to report the changes made.

@Zonnev
Copy link
Owner

Zonnev commented Dec 6, 2021

I have the latest Firefox Nightly (96) running with the new CSS, styling the rounded corners, but the rounded corners are not there! I tested Nightly on Ubuntu 21.10 and the rounded corners are working there for all theme modes.

I'm very disappointed.... It seems that elementary OS Odin is rendering Firefox squared because Firefox can not trigger it's rounded window corners in Odin because it has a different window management system than other Linux distro's...

@Zonnev
Copy link
Owner

Zonnev commented Dec 6, 2021

I reported a bug about this: https://bugzilla.mozilla.org/show_bug.cgi?id=1744496

@Zonnev
Copy link
Owner

Zonnev commented Dec 11, 2021

Yay! At Bugzilla my bug has been fixed for Firefox 97, this means that in February we see the final result of how the rounded corners look. Only the upper rounded corners are fixed.

I will test this bug fix in Nightly when it's released.

@Zonnev
Copy link
Owner

Zonnev commented Dec 12, 2021

The bug fix works well, on top two beautiful rounded corners in latest Nightly.
Schermafdruk van 2021-12-13 00 03 03

@Zbergen-cli
Copy link
Author

Waiting for February)

@Zbergen-cli
Copy link
Author

After the release of Firefox 97, this problem is no longer relevant :) I think it can be closed.

@Zonnev
Copy link
Owner

Zonnev commented Feb 13, 2022

Yes, the top window corners are rounded now but the bottom corners aren't made rounded yet. It seems eOS does not make the bottom corners round on non eOS apps. If so, I'm afraid Firefox devs can not do anything. If eOS makes rounded bottom corners for all apps, then it would be easy for Firefox devs to make these corners.

So yes, I will close this issue since there is nothing to do about rounded bottom corners so far. Maybe in the future it will be an eOS feature, who knows...

@Zonnev Zonnev closed this as completed Feb 13, 2022
@Zonnev
Copy link
Owner

Zonnev commented Jun 26, 2024

Maybe it's already well known by Firefox users on eOS, but I just found out you can get rounded bottom corners by enabling widget.gtk.rounded-bottom-corners.enabled in about:config ;)

@Zonnev Zonnev reopened this Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants