Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
4.97k stars 144 forks source link

[Bug]: Rounded Corners add unnecessary padding #1197

Closed mysteryx93 closed 1 month ago

mysteryx93 commented 1 month ago

Pre-Submission Checklist

Bug Summary

I'm on a fresh new install of Garuda Linux. Floorp-based browser default to Rounded Corners, which add unnecessary padding.

This causes 2 issues.

First, if you move the mouse quickly to the right-side, you pass the scrollbar area and need to step back a few pixels to use the scrollbar.

Second, it's wasted real-estate. This extra padding brings no benefit whatsoever.

Reproduction Steps

Open the browser with default settings (with Rounded Corners enabled). Move the mouse completely to the right and see whether it hovers the scrollbar or it's on a useless padding.

Expected Behavior

Rounded Corners should only affect corners. With no useless padding.

Actual Behavior

View size is reduced with unnecessary padding that has no benefit.

Screenshots

Screenshot_20240530_170002

Browser Version

FireDragon 11.13.3, based on Floorp

Operating System

Garuda Linux

Additional Context

We're having the issue with FireDragon; they say it's a Floorp feature so I'm reporting it here instead. If you are not seeing the same behavior, then let me know and I'll pass it back to them. It's something really trivial but shouldn't be set as default with that padding.

surapunoyousei commented 1 month ago

This feature is inspired by Microsoft Edge, which is an influence to reproduce a similar design to Edge.

Not bug. You can modify via userChrome.css

mysteryx93 commented 1 month ago

lol answer inspired by Microsoft: "it's not a bug, it's by design" :)