Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Snap 2.9.0 is held for manual review of the single-instance D-Bus slot

Open PathGao opened this issue 1 month ago • 5 comments

@alecdotdev the 2.9.0 snap upload is held by the Snap Store for manual review, so snap users are still on 2.8.4. You own the snap account, so this needs you.

The store's message: "human review required due to 'deny-connection' constraint (interface attributes)" (publish log). The cause is the D-Bus slot #1003 added to snapcraft.yaml. Without it, the snap cannot own the single-instance name, and opening several files from the file manager opens one window per file. The store only allows a dbus slot after a reviewer approves it, and reviewers act on a post in the forum's store-requests category. It is a one-time approval. Later releases pass automatically unless the app identifier changes.

Could you post this there? Text ready to paste:

Title: Request: dbus slot for markpad (com.alecdotdev.markpad.SingleInstance)

Hi, I maintain the markpad snap (a Markdown viewer and editor, https://github.com/sftwrdotdev/Markpad).

Revision 2.9.0 was held for manual review: "human review required due to 'deny-connection' constraint (interface attributes)". It adds one slot:

slots:
  single-instance:
    interface: dbus
    bus: session
    name: com.alecdotdev.markpad.SingleInstance

Why: the app uses tauri-plugin-single-instance. On Linux it owns <app identifier>.SingleInstance on the session bus, and a second launch hands its arguments to the first instance over that name. Under strict confinement the snap cannot own a name it has not declared, so today every launch opens its own window. Opening several files from the file manager gives one window per file instead of one window with a tab per file.

The name is derived from the app's identifier, com.alecdotdev.markpad, which the project has used since its first release. No plug is needed and nothing outside the snap connects to it. Only the snap's own instances talk to each other.

Could the slot be approved for markpad, and the held revision released? Thanks.

@review-team

Once it is approved, the held revision can be released from the snap's dashboard, or I can re-run Publish Packages for v2.9.0.

PathGao avatar Oct 29 '26 03:10 PathGao

@alecdotdev 2.9.0 had a bug (the window froze while resizing on Windows, #1048), so its release was deleted and 2.9.1 replaces it. The held 2.9.0 upload now blocks 2.9.1 from the store (log). Could you click "Reject and remove from review queue" on the 2.9.0 upload in the snap dashboard? I will then re-run the snap job for 2.9.1. The forum request above still applies, with 2.9.1 in place of 2.9.0.

PathGao avatar Oct 29 '26 12:10 PathGao

@PathGao rejected and removed from queue from 2.9.0. forum account created awaiting manual approval before able to post request

alecdotdev avatar Oct 29 '26 20:10 alecdotdev

Thanks. I re-ran the snap job for 2.9.1. It will likely be held for review again for the same dbus slot, which is expected. Once your forum account is approved and the request is granted, the held 2.9.1 revision can be released from the dashboard.

PathGao avatar Oct 30 '26 06:10 PathGao

@PathGao snapcraft request approved!

https://forum.snapcraft.io/t/request-dbus-slot-for-markpad-com-alecdotdev-markpad-singleinstance/53957/3

alecdotdev avatar Nov 03 '26 07:11 alecdotdev

Thanks. With the name granted, I re-ran the snap job for 2.9.2 and it passed review automatically, so the store now serves 2.9.2. Closing this.

PathGao avatar Nov 03 '26 07:11 PathGao