A recent change within the firefox packaging (https://src.fedoraproject.org/rpms/firefox/c/85de885472621621af497b204a2f45f7122e8a23?branch=86e26c4189a0192cd1185839e03a9ffcb4fbde75) set DBusActivatable=true within the .desktop file of Firefox. However, the other package contents do not follow the specification (https://wiki.gnome.org/HowDoI/DBusApplicationLaunching). I have no prior experience in this topic, but if I understand it correctly, the problems are: 1. The GApplication application ID used by firefox (which is just "firefox") is invalid. A valid ID would be something like org.mozilla.firefox. 2. There is no D-Bus service file for firefox itself, but only for it's search provider. When launching firefox in the current configuration with a launcher that is DBusActivatable-Aware, the application launch fails. The error message is something like this: Invalid bus name 'firefox': must contain '.' Reproducible: Always Steps to Reproduce: I noticed the issue while using Qubes OS, which makes reproducing it maybe a little bit difficult. However, here are the stepts to reproduce: 1. Install Qubes OS 2. Install fedora-38 template 3. Attempt to launch firefox via the application launcher Actual Results: Nothing happens. The following error message can be found within the journal: Traceback (most recent call last): File "/etc/qubes-rpc/qubes.StartApp", line 39, in <module> main(sys.argv) File "/etc/qubes-rpc/qubes.StartApp", line 33, in main launch(os.path.join(raw_volume, f)) File "/usr/lib/python3.11/site-packages/qubesagent/xdg.py", line 106, in launch proxy = bus.get_object(service_id, object_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/dbus/bus.py", line 237, in get_object return self.ProxyObjectClass(self, bus_name, object_path, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/dbus/proxies.py", line 241, in __init__ _dbus_bindings.validate_bus_name(bus_name) ValueError: Invalid bus name 'firefox': must contain '.' Expected Results: Firefox should start without any issues. We also created a pull request in Qubes to prevent this behvaior: https://github.com/QubesOS/qubes-core-agent-linux/pull/463 However, we believe that the actual bug is the incorrect packaging of firefox.
Yes, you're right. firefox.desktop instead of org.mozilla.firefox.desktop is used as desktop file name change breaks recent Fedora release / Gnome shell default applications. We may not rename application desktop file for live release. I'd like to switch firefox desktop name for future Fedoras.
There's a workaround in Plasma: https://invent.kde.org/frameworks/kio/-/merge_requests/1440 However the root cause is in the packaging as described. That said I find it rather questionable that upstream Firefox does not ship a desktop file itself and Fedora has to patch one in
Proposed as a Blocker for 39-final by Fedora user aleasto using the blocker tracking app because: It's not possible to start Firefox from the application menu in the KDE spin
Given that this makes Plasma crash when launching Firefox on Fedora 38 I'd suggest to revert the DBusActivatable=true change ASAP
Does Firefox even implement the org.freedesktop.Application interface required for DBus activation? I don't think so, and that would be another way this is broken
*** Bug 2242495 has been marked as a duplicate of this bug. ***
*** Bug 2242480 has been marked as a duplicate of this bug. ***
*** Bug 2242473 has been marked as a duplicate of this bug. ***
DBusActivatable is removed from desktop file in firefox-118.0.1-6 builds.
Martin, when you create updates for this, can you mark *only* the F39 update as 'close bugs on stable'? As it's proposed as an F39 blocker (and will likely be accepted) we don't want the F38 update push (which will likely happen very quickly) to close it. Thanks!
FEDORA-2023-045b111fad has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-045b111fad
Please include this in the update https://src.fedoraproject.org/rpms/firefox/pull-request/62
+3 in https://pagure.io/fedora-qa/blocker-review/issue/1389 , marking accepted.
FEDORA-2023-045b111fad has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-045b111fad` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-045b111fad See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-05eff15d4a has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-05eff15d4a
FEDORA-2023-05eff15d4a has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
Not fixed for F39 yet.
FEDORA-2023-6eb5ff1964 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6eb5ff1964
FEDORA-2023-09ec498a2a has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-09ec498a2a
FEDORA-2023-72f64210a2 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-72f64210a2
FEDORA-2023-72f64210a2 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-09ec498a2a has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-09ec498a2a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-09ec498a2a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-6eb5ff1964 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-6eb5ff1964` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6eb5ff1964 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Bodhi feedback is good, setting as verified.
FEDORA-2023-045b111fad has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-6eb5ff1964 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-09ec498a2a has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.