Firefox snap cannot be set as default browser under KDE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox (Ubuntu) |
Invalid
|
Low
|
Olivier Tilloy | ||
Jammy |
Invalid
|
Low
|
Olivier Tilloy | ||
xdg-utils (Ubuntu) |
Fix Released
|
Low
|
Olivier Tilloy | ||
Jammy |
Fix Released
|
Low
|
Olivier Tilloy |
Bug Description
[Impact]
Minor.
This is a follow-up to bug #1970594. The original upstream merge request did fix the problem, but a misleading error message would be printed on stderr (which wasn't impacting firefox's ability to check whether it is the default browser). The upstream merge request has been updated to address this problem, and this SRU updates the corresponding patch to match the upstream MR (and what's in kinetic).
[Test Plan]
In Kubuntu 22.04, run the following command:
xdg-settings check default-web-browser firefox_
The only output should be "yes" (or "no" depending on your default browser setting) on stdout, and nothing on stderr. One can redirect stderr to a file to verify that.
The exit code of the command should be 0.
[Where problems could occur]
The patch is changing KDE-specific functions (check_browser_kde and check_url_
If the proposed patch is incorrect, it would affect the functionality of `xdg-settings check default-
[Original description]
I was unable to set Firefox as the default browser by going to Settings -> Applications -> Default Applications -> Web browser. It was set to Other... and web links opened in Kate.
In addition, I was unable to report a bug against Firefox because "it is provided by a snap provided by Mozilla."
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSign
Uname: Linux 5.15.0-23-generic x86_64
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckR
CompositorRunning: None
CurrentDesktop: KDE
Date: Tue Apr 5 19:54:54 2022
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA controller])
Subsystem: Lenovo UHD Graphics 620 [17aa:225d]
InstallationDate: Installed on 2022-03-30 (6 days ago)
InstallationMedia: Kubuntu 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
Lsusb:
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. Card Reader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 13d3:56a6 IMC Networks Integrated Camera
Bus 001 Device 002: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20L50067US
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/usr/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/20/2021
dmi.bios.release: 1.41
dmi.bios.vendor: LENOVO
dmi.bios.version: N24ET66W (1.41 )
dmi.board.
dmi.board.name: 20L50067US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad T480
dmi.product.name: 20L50067US
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.
version.
version.
version.
version.
version.
version.
affects: | xorg (Ubuntu) → firefox (Ubuntu) |
Changed in firefox (Ubuntu): | |
status: | Incomplete → Fix Released |
assignee: | nobody → Olivier Tilloy (osomon) |
Changed in firefox (Ubuntu Jammy): | |
assignee: | nobody → Olivier Tilloy (osomon) |
status: | New → In Progress |
importance: | Undecided → Low |
description: | updated |
Changed in xdg-utils (Ubuntu): | |
assignee: | nobody → Olivier Tilloy (osomon) |
Changed in xdg-utils (Ubuntu Jammy): | |
assignee: | nobody → Olivier Tilloy (osomon) |
Changed in xdg-utils (Ubuntu): | |
importance: | Undecided → Low |
Changed in xdg-utils (Ubuntu Jammy): | |
importance: | Undecided → Low |
status: | In Progress → Fix Committed |
The report suggests the desktop environment used is KDE. Under GNOME the settings correctly list firefox as a choice