Closed Bug 1649978 Opened 2 years ago Closed 2 years ago

Bad font rendering when using the XDG desktop portal with Wayland backend

Categories

(Core :: Widget: Gtk, defect, P3)

78 Branch
defect

Tracking

()

RESOLVED MOVED

People

(Reporter: u589248, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Set the environment variables: GTK_USE_PORTAL=1 and MOZ_ENABLE_WAYLAND=1

Actual results:

All the font becomes very grainy. Look at the attached picture.

Expected results:

Font rendering should be crisp and smooth like usual.

I forgot to add that my desktop environment is KDE, and so I'm using "xdg-desktop-portal-kde" (version 5.19.2).

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Do you see any difference when you remove GTK_USE_PORTAL=1 ?

Flags: needinfo?(vishnugb)

(In reply to Martin Stránský [:stransky] from comment #3)

Do you see any difference when you remove GTK_USE_PORTAL=1 ?

Yes, I should have make that clearer. When not using that environment variable (but still using the Wayland back-end), fonts render properly, and are readable.

Flags: needinfo?(vishnugb)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → MOVED

Should this maybe also block Bug #1609115, because this specifically affects non-gnome DEs?

You need to log in before you can comment on or make changes to this bug.