Closed Bug 1789376 Opened 2 years ago Closed 2 years ago

Firefox on Ubuntu Jammy looses focus

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

Firefox 104
defect

Tracking

()

RESOLVED DUPLICATE of bug 1774531

People

(Reporter: c.corvino81, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

I just upgraded my ubuntu 20.04 to 22.04 (jammy) with Gnome 3 and Wayland, I switched to Firefox snap instead of repo package.
Some details:
snap 2.56.2+22.04ubuntu1
snapd 2.56.2+22.04ubuntu1
series 16
ubuntu 22.04
kernel 5.14.0-1050-oem
Gnome version 42.4
Wayland

Actual results:

Suddenly I noticed an issue: sometimes when I hover with mouse on a link on a web page, I lose focus, links are not recognized by the pointer until I click on the page.
Even the focus on the "X" to close the tab is not active, but if I click on the "X" it will work and close the tab.

Expected results:

Just tried to reset, reinstall and cleaning Firefox boot cache, nothing works.
So I switched back again to FF repo package version and problem gone.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core
Blocks: snap
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(c.corvino81)
Resolution: --- → DUPLICATE

Can you give a test to MOZ_ENABLE_WAYLAND snap run firefox, to verify ?

(In reply to Alexandre LISSY :gerard-majax from comment #3)

Can you give a test to MOZ_ENABLE_WAYLAND snap run firefox, to verify ?

yep!
I put into /etc/environment:
MOZ_ENABLE_WAYLAND=1
and just run Firefox, the problem for now is not present, but I have a new issue, hand pointer has disappeared, here are the errors I can view from terminal:
(firefox:117448): Gtk-WARNING **: 15:11:09.553: Could not find the icon 'application-x-pem-file'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases

Gdk-Message: 15:16:01.828: Unable to load sb_h_double_arrow from the cursor theme

Gdk-Message: 15:16:22.177: Unable to load hand2 from the cursor theme

Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs

[2022-09-06T13:16:25Z ERROR viaduct::backend::ffi] Missing HTTP status

Flags: needinfo?(c.corvino81)

That's probably some distro-level issue, I can't tell more. What is important is that it confirms this is related to XWayland

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