I ran the test plan ("xdg-settings check default-web-browser firefox_firefox.desktop") in a fully up-to-date Kubuntu 22.04 VM, first without the update from jammy-proposed (xdg-utils 1.1.3-4.1ubuntu3~22.04.1), and then with it.
I can confirm that with the update, the extraneous output on stderr is gone. The functionality itself isn't impacted. ** Tags removed: verification-needed-jammy ** Tags added: verification-done-jammy -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xdg-utils in Ubuntu. https://bugs.launchpad.net/bugs/1967963 Title: Firefox snap cannot be set as default browser under KDE Status in firefox package in Ubuntu: Invalid Status in xdg-utils package in Ubuntu: Fix Released Status in firefox source package in Jammy: Invalid Status in xdg-utils source package in Jammy: Fix Committed 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_firefox.desktop 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_scheme_handler_kde), so in theory it shouldn't affect running xdg-utils in any other desktop environment. If the proposed patch is incorrect, it would affect the functionality of `xdg-settings check default-web-browser` and `xdg-settings check default-url-scheme-handler`, so this is what needs to be thoroughly tested in KDE. [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 ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27 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' CasperMD5CheckResult: pass CompositorRunning: None CurrentDesktop: KDE Date: Tue Apr 5 19:54:54 2022 DistUpgraded: Fresh install DistroCodename: jammy DistroVariant: ubuntu ExtraDebuggingInterest: No 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_DIR=<set> LANG=en_US.UTF-8 SHELL=/usr/bin/zsh ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.15.0-23-generic root=/dev/mapper/vgkubuntu-root ro quiet splash vt.handoff=7 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.asset.tag: Not Available dmi.board.name: 20L50067US dmi.board.vendor: LENOVO dmi.board.version: SDK0J40697 WIN dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.22 dmi.modalias: dmi:bvnLENOVO:bvrN24ET66W(1.41):bd10/20/2021:br1.41:efr1.22:svnLENOVO:pn20L50067US:pvrThinkPadT480:rvnLENOVO:rn20L50067US:rvrSDK0J40697WIN:cvnLENOVO:ct10:cvrNone:skuLENOVO_MT_20L5_BU_Think_FM_ThinkPadT480: dmi.product.family: ThinkPad T480 dmi.product.name: 20L50067US dmi.product.sku: LENOVO_MT_20L5_BU_Think_FM_ThinkPad T480 dmi.product.version: ThinkPad T480 dmi.sys.vendor: LENOVO version.compiz: compiz N/A version.libdrm2: libdrm2 2.4.110-1ubuntu1 version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.1-1ubuntu1 version.libgl1-mesa-glx: libgl1-mesa-glx N/A version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2build3 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1967963/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp