workbenchdev / workbenchdev/Workbench

DBus interface is always present, and inspecting it auto-starts the app

Open
#1,019 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
844
Forks
91
Avg merge
7h 12m
Merged PRs (30d)
1

Description

I was inspecting the DBus interface of another app, and i misclicked in d-feet. When the interface details got expanded, the Workbench app (installed from Flathub) immediately launched. I’m not exactly sure this is a bug or not, but i know i couldn’t reproduce it with any other apps/interfaces.

To reproduce

  1. make sure the app is closed
  2. open d-feet (or any other DBus introspection tool)
  3. inspect the re.sonny.Workbench bus

or, if you don’t have a graphical introspection tool,

dbus-send --session \
          --dest=re.sonny.Workbench \
          --type=method_call \
          --print-reply \
          / org.freedesktop.DBus.ObjectManager.GetManagedObject

(note that this will return an error, but the app opens nevertheless).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the launch with d-feet and the provided dbus-send call while the Workbench app is closed. Investigate how the re.sonny.Workbench bus is registered and determine why introspection starts the app; done means inspecting the interface no longer launches Workbench while the intended DBus behavior remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, linux
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.