Bug 2152524 - Firefox not auto-focusing when clicking link on other app
Summary: Firefox not auto-focusing when clicking link on other app
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: firefox
Version: 39
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-12 08:44 UTC by Yajo
Modified: 2023-11-23 09:17 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Yajo 2022-12-12 08:44:38 UTC
Description of problem: 
Since some recent update, Firefox stopped focusing automatically when I clicked a link in another app. Instead, it now shows a notification. This requires more user interaction (clicking on the notification) to actually get to the page I clicked, and is less productive.


Version-Release number of selected component (if applicable):
firefox-107.0.1-1.fc37.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Ensure Firefox is your default browser.
2. Click a link in another app. For example, Geary.

Actual results:
A notification tells you the new tab is ready in Firefox. Click on it to get to it.

Expected results:
Firefox opened and focused, automatically. Just like it did some weeks ago.

Additional info:
Fedora Silverblue 37.

Comment 1 Martin Stransky 2023-01-09 08:32:13 UTC
Can you check which update did that? I expect mutter/gnome-shell is the cause here. Do you mind to downgrade the components to find out?
Thanks.

Comment 2 Yajo 2023-01-10 09:20:33 UTC
Could you please tell me the command(s) needed to do that in Fedora Silverblue 37? That's the flavour I'm using.

Comment 3 Mihai Harpau 2023-01-11 14:20:39 UTC
I believe this issue started with gtk3 update to gtk3-3.24.35-1.fc37(https://bodhi.fedoraproject.org/updates/FEDORA-2022-66a42eef4c).
There are a few upstream bugs opened: https://gitlab.gnome.org/GNOME/gtk/-/issues/5386, https://gitlab.gnome.org/GNOME/gtk/-/issues/5389.
A short term workaround would be downgrade to gtk3-3.24.34-2.fc37.

Comment 4 Yajo 2023-01-12 10:48:37 UTC
I'm running this command:

    ➤ rpm-ostree override replace https://kojipkgs.fedoraproject.org//packages/gtk3/3.24.34/1.fc37/x86_64/gtk3-3.24.34-1.fc37.x86_64.rpm

However, it doesn't finish because I'm hitting this issue: https://github.com/coreos/rpm-ostree/issues/4150

Any other ideas on how to proceed? 🤔

Comment 5 Mihai Harpau 2023-01-12 16:49:55 UTC
For me it works.
[user@fedora ~]$ rpm-ostree status
State: idle
Deployments:
● fedora:fedora/37/x86_64/silverblue
                  Version: 37.20230112.0 (2023-01-12T00:54:45Z)
               BaseCommit: a5869898d41033de7390e1bea7ed30349656aa78bf2670e12cd1d6c59c1fdb7e
             GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
           LocalOverrides: gtk-update-icon-cache gtk3 3.24.36-1.fc37 -> 3.24.34-2.fc37

  fedora:fedora/37/x86_64/silverblue
                  Version: 37.20230112.0 (2023-01-12T00:54:45Z)
                   Commit: a5869898d41033de7390e1bea7ed30349656aa78bf2670e12cd1d6c59c1fdb7e
             GPGSignature: Valid signature by ACB5EE4E831C74BB7C168D27F55AD3FB5323552A
[user@fedora ~]$ rpm -q gtk3 gtk-update-icon-cache
gtk3-3.24.34-2.fc37.x86_64
gtk-update-icon-cache-3.24.34-2.fc37.x86_64
[user@fedora ~]$

Comment 6 Yajo 2023-01-13 07:39:59 UTC
What command did you ran for that?

Comment 7 Mihai Harpau 2023-01-13 11:25:09 UTC
I ran just the usual commands:
$ rpm-ostree override replace https://kojipkgs.fedoraproject.org//packages/gtk3/3.24.34/2.fc37/x86_64/gtk3-3.24.34-2.fc37.x86_64.rpm
$ rpm-ostree override replace https://kojipkgs.fedoraproject.org//packages/gtk3/3.24.34/2.fc37/x86_64/gtk-update-icon-cache-3.24.34-2.fc37.x86_64.rpm
$ systemctl reboot
$ rpm-ostree status

Comment 8 Yajo 2023-01-16 08:42:55 UTC
I finally managed to workaround the issue.

I can confirm that, with those overrides, the issue disappears.

Comment 9 Aoife Moloney 2023-11-23 00:45:17 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.


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