Open Bug 1977167 Opened 8 months ago Updated 3 months ago

No text shown in address bar, tabs and menus (using Wayland)

Categories

(Core :: Widget: Gtk, defect)

Firefox 140
defect

Tracking

()

UNCONFIRMED

People

(Reporter: will-3pa4pecs, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(5 files)

Steps to reproduce:

After a fresh install of Firefox: Open Firefox.

Agent string: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0"

This happened on XUbuntu 25.04 with Regolith 3.3 after I had switched from X11 to Wayland by installing Snap package regolith-session-sway.
This problem did not occur when I was using X11. (Snap package regolith-session-flashback)

Actual results:

The Firefox window is opened, but when I type something in the address bar, no text is visible. (Nevertheless, after typing a URL and pressing Enter, Firefox opens the URL.)
Also, no text is visible in tabs and menus.
Also, no icons are visible in some menus.

Expected results:

Text should be visible.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Flags: needinfo?(will-3pa4pecs)

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

Can you please try plain Mozilla binaries?
https://fedoraproject.org/wiki/How_to_debug_Firefox_problems#Testing_Mozilla_binaries
Thanks.

The problem did not occur with these binaries.
(The version number of the downloaded binaries and the ones I installed via Snap is the same: 140.0.4)

What do you recommend as a more lasting solution?

Flags: needinfo?(will-3pa4pecs)

Looks like snap issue then. You may also install deb Firefox package for Ubuntu.

Blocks: snap

Thanks a lot, Martin!

Installed Firefox again using apt but had the same problem again. So, apparently it's not a Snap issue.

(In reply to Will6834 from comment #7)

Installed Firefox again using apt but had the same problem again. So, apparently it's not a Snap issue.

Do I understand correctly that you see the issue with Snap/APT and it works fine with stock Mozilla binaries?
If so, can you please attach about:support from working (mozilla ones) and broken (abt) versions?
Thanks.

Flags: needinfo?(will-3pa4pecs)
Flags: needinfo?(will-3pa4pecs)

(In reply to Martin Stránský [:stransky] (ni? me) from comment #8)

(In reply to Will6834 from comment #7)

Installed Firefox again using apt but had the same problem again. So, apparently it's not a Snap issue.

Do I understand correctly that you see the issue with Snap/APT and it works fine with stock Mozilla binaries?
If so, can you please attach about:support from working (mozilla ones) and broken (abt) versions?
Thanks.

Yes, that is correct.

For your (dis)information, there is a related discussion here

Thanks, I see you use the same config on both sway/apt/mozilla.

Flags: needinfo?(thinker.li)
Flags: needinfo?(nathan.teodosio)

I suspect there may be informations in journalctl ? Some fonts loading being somehow blocked or failing ? Reminds me a bit of https://bugzilla.mozilla.org/show_bug.cgi?id=1861270 but I dont know how much it relates (it may not)

Flags: needinfo?(will-3pa4pecs)

Yes and if possible please run Firefox from the terminal too, one nevers knows what stderr may reveal. (: Any log that might contain useful information.

You can use snappy-debug to see denials associated with a running snap.

Flags: needinfo?(nathan.teodosio)

Could you create a new profile to perform a test?
For example, there is a new profile called desktop_test.
Please set the preference gfx.webrender.debug.dl.dump-parent to true.
After setting it, close Firefox. Run following command to collect display list dump.

    timeout 10s firefox -P desktop_test > dl.log 2>&1

Wait for 10 seconds! It will close automatically. Please attach dl.log here.

Display list is about what was drew on layers. Hope this can help to identify if this is a graphics (GPU) issue or a rendering issue (or even earlier).

Flags: needinfo?(thinker.li)
Attached file dl.log

i have now two versions of firefox installed, snap and apt-get.

apt-get repository version is working fine, without an issue.

snap version is causing troubles, and i generated the dl.log as requested, maybe this helps (i can regenerate it all the time).

First time debugging firefox, maybe i have not set the property correctly, etc. i am more than happy to support on this topic anytime

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

Attachment

General

Creator:
Created:
Updated:
Size: