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

Latest Update Causes weird font behaviour #48

Closed EpicGamer007 closed 1 year ago

EpicGamer007 commented 1 year ago

Hi, a recent update from chaotic aur (105.0.3-1) has caused fonts to behave very weirdly such that they are extremely blurry. Can confirm this does not happen with firefox, librewolf, or tor browser so this appears to be a firedragon specific issue. image

Thanks

Edit: For clarification, fonts look pixelated. image

Technetium1 commented 1 year ago

Here's what I have as my defaults, what do you have? Settings -> General -> Fonts -> Advanced image

EpicGamer007 commented 1 year ago

image (Exact Same)

Is there possibly any way i can completely clear any and all cache/settings/config and then reinstall firedragon?

EpicGamer007 commented 1 year ago

https://user-images.githubusercontent.com/80220229/194741100-d6c892ed-ee4b-4d51-8577-23cff8fb1eef.mp4

After some experimenting, I found that the environment variable GTK_USE_PORTAL="1" was the cause for this issue. I am not sure what exactly it those but it was on by default in the KDE Application Command. Removing that solves this issue. Not sure why it happens though.

Edit: Cursor changes too

Technetium1 commented 1 year ago

That's incredibly strange. I wonder, does that happen for Librewolf?

EpicGamer007 commented 1 year ago

This issue isn't present in tor browser (but it uses firefox version 91)

https://user-images.githubusercontent.com/80220229/194776562-ab8d0a82-3b8d-40cf-abcc-a2937fc37de6.mp4

This appears to be an upstream issue though. Both Firefox and Librewolf have this issue (Video only shows firefox but it is applicable to both applications)

dr460nf1r3 commented 1 year ago

https://github.com/dr460nf1r3/firedragon-browser/commit/289067a9be122fd396db32ef0043796193946ffe the portals were enabled here in order to get rid of a patch that was required to achieve KDE Filepicker usage before.

What's the DE and hardware? I can't confirm this behavior on my local device.

EpicGamer007 commented 1 year ago

DE: KWin Hardware

In regards to the KDE Filepicker, I am able to achieve the native file picker with and without the environment variable.

dr460nf1r3 commented 1 year ago

As of the latest build, the file picker is enabled by this https://github.com/dr460nf1r3/firedragon-browser/commit/289067a9be122fd396db32ef0043796193946ffe#diff-3eb779079ad4346f8eade242846d429257510d13ca279c6f4a645258b5f327f3R544, no environment variable needed anymore!