dr460nf1r3 / firedragon-browser

A Floorp fork with custom branding 🐉 (mirrored from GitLab)
https://forum.garudalinux.org/t/5018
Mozilla Public License 2.0
244 stars 12 forks source link

UI Scaling Issues #88

Open alkaris2 opened 1 month ago

alkaris2 commented 1 month ago

I notice there is a UI scaling issue with FireDragon when I compare it to Firefox, because all the buttons, and text are not properly scaling to my monitors resolution, so it makes everything look huge when you compare it to how Firefox UI scaling renders the browser. But this could be Floorp issue since it's taking what Firefox already had and made its own changes here and there. Also doesn't seem to integrate to my desktop too well either being unable to combine title bar and toolbar, or tab bar in tool bar, it just makes it disappear completely.

I've had to resort to scaling on pages by 80% and choosing smaller font sizes, but this doesn't mitigate the issue, because everything else is still oversized and huge like when you open extension popups, you'll notice its not scaled to the right size also, because they don't follow Page Zoom or Font Scaling for pages, only by whatever UI scaling it's been given by the browser. I've used and enabled Compact mode but this doesn't fix that issue when browser.uidensity is set to 1 I don't know what UI backend FireDragon is with Floorp, unsure if it's QT or GTK or something else otherwise applying fractional scaling would be pretty straight forward fix

Here's side-by-side comparison of FireDragon on the left and Firefox on the Right, you can see the clear UI scaling difference, both windows opened and scaled in same size of half my screen. They're both scaled at their defaults of 100% and both using Compact UI, I have to scale pages by 80% to make them look like they do in Firefox.

image

If I open up both browsers to https://arkenfox.github.io/TZP/tzp.html you can also see they don't match up. Both windows are properly scaled and sized to the screen by snapping them to the screen edges so they each take half the screen and they should be showing the same numbers when you look at the Viewport section but they don't when at their defaults with 100% scaling. image

dr460nf1r3 commented 1 month ago

Would you be so kind to test whether this is happening on Floorp too?

alkaris2 commented 1 month ago

I tested out in Floorp and found it to do the same as FireDragon also, both don't scale properly like Firefox despite using same settings. You still have to Zoom Page by 80% to get a size near what Firefox can display when Firefox is default on Zoom Page 100%.