Bug 507635

Summary: xdg-desktop-portal-kde wrongly launches System Settings when Chrome extension registers commands
Product: [Plasma] xdg-desktop-portal-kde Reporter: andyrobbins001
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: aleixpol, kde
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4
Sentry Crash Report:

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