Bug 507635 - xdg-desktop-portal-kde wrongly launches System Settings when Chrome extension registers commands
Summary: xdg-desktop-portal-kde wrongly launches System Settings when Chrome extension...
Status: RESOLVED FIXED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-29 15:22 UTC by andyrobbins001
Modified: 2025-07-30 10:54 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andyrobbins001 2025-07-29 15:22:18 UTC
Title:
xdg-desktop-portal-kde wrongly launches System Settings when Chrome extension registers commands

Summary:
When launching Google Chrome (v139+) with the uBlock Origin Lite extension (updated 28 July 2025), KDE Plasma opens System Settings → Shortcuts unexpectedly.

This is triggered by the extension’s use of the Manifest V3 commands API. Even though no global shortcuts are defined, KDE’s xdg-desktop-portal-kde responds to BindShortcuts with an unintended QDesktopServices::openUrl("kcm:keys") or equivalent.

Steps to Reproduce:

Install Chrome (v139+) under KDE Plasma (Debian 12)

Install uBlock Origin Lite (https://chromewebstore.google.com/detail/ddkjiahejlhfcafbddmgiahcphecmpfh)

Launch Chrome with a fresh profile

Observe System Settings open automatically

Expected Behavior:
Chrome should silently register shortcuts; System Settings must not open.

Actual Behavior:
KDE opens System Settings → Shortcuts pane every time Chrome launches with that extension active.

Reproducible: Always
Comment 1 David Redondo 2025-07-30 10:54:55 UTC
Fixed in 6.4