https://bugs.kde.org/show_bug.cgi?id=523291

            Bug ID: 523291
           Summary: Global shortcuts fail when using dbus-broker due to
                    hardcoded dbus-send dependency in .desktop files
    Classification: Plasma
           Product: KScreen
      Version First 6.7.3
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Summary / Title:
Global shortcuts fail when using dbus-broker due to hardcoded dbus-send
dependency in .desktop files

Component:
general

Description:
In systems using dbus-broker as the D-Bus daemon (or lightweight/minimal setups
where Recommends packages are not installed), shortcuts defined in
/usr/share/kglobalaccel/ fail because they depend on dbus-send being available
in $PATH.

When triggered via kglobalaccel, these calls fail with KIO/Wayland errors:
kwin_wayland_wrapper[...]: kf.kio.gui: "dbus-send" "Command not found"

Affected files identified (examples):

KScreen:
/usr/share/kglobalaccel/org.kde.kscreen.desktop (Exec uses dbus-send ...)

Plasma Desktop / Touchpad:
/usr/share/kglobalaccel/org.kde.touchpadshortcuts.desktop (Exec uses dbus-send
...)

Expected behavior:
Global shortcuts should use native D-Bus integration, C++ helper logic, or
qdbus instead of assuming the external dbus-send binary (from legacy dbus
utilities / dbus-bin) is present on the host system.

Actual behavior:
Shortcuts fail to execute if dbus-send is missing from the host environment.

Additional Information / Context:
Downstream Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+bug/2161278

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to