The .deb's multi-line store description lands in idss.desktop's Comment= — the launcher entry is unparseable and the app is absent from GNOME's app grid #1799
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1799
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Proven (cold install of the
ff4a5263build, laptop, 2026-09-23 18:5x NZST)sudo apt-get install ~/idss-app/idss_0.1.0_amd64.deb(1,824,251,598 B, sha2563e6d6a61…) printed, from the desktop-file-utils trigger:The installed entry:
desktop-file-validate /usr/share/applications/idss.desktop→ 11 ×error: file contains line "…", which is not a comment, a group or an entry.Gio.DesktopAppInfo.new('idss.desktop')→TypeError: constructor returned NULL. GLib's key-file parser rejects the whole file, so GNOME Shell has no entry for the app: it is not in the app grid or search after a clean install. (/usr/bin/idssfrom the command line is unaffected.)The previous build (
528697e9, this morning) installed without the warning. The text was added today inb6e1969d— "app: the .deb says what a community gets, and points at matou.nz" — asdeb.description: |(a synopsis line plus two paragraphs) inapp/electron-builder.yml:76-87. That commit's intent (the store copy a person reads before installing) is right and the copy itself is right; the defect is only that the same string is also being written where a multi-line value is illegal.Inferred (not read from electron-builder's source this session)
electron-builder 25's Linux target helper sets the desktop entry's
Commentfrom the target'sdescriptionand writes it verbatim; it does not fold newlines. The Desktop Entry spec allows exactly one line per key. The deb control file tolerates the paragraphs (fpm indents continuation lines), which is why the package installs fine and only the launcher entry breaks.Fix
Keep the store copy where it is, and give the launcher its own one-liner. electron-builder's
linux.desktop(ordeb.desktop) map overrides generated keys, so:(
desktop.entry.Commenton electron-builder ≥ 26 — check the pinned major,^25.1.8, before choosing the shape.) TheCommentshould be the synopsis, not a truncation of the description.Guard it: extend
app/tests/unit/debStoreCopy.test.ts(added inb6e1969d) with an assertion that the desktopCommentis a single line and equalsdeb.synopsis— the test already readselectron-builder.ymlas text, so no YAML dependency. And adddesktop-file-validateof the built.desktoptopackage-layout-check.sh(or the ADR 0168 install proof, #471/#490) so the next multi-line value cannot land silently.Why it matters
ADR 0168's install proof is "a person double-clicks the .deb and finds IDSS in their apps". After
b6e1969dthey don't. This is the first thing a cold operator hits, before founding starts.Relates to:
b6e1969d, ADR 0168, #471, #490.swarm-claim host=bens-mac-04 run=30978
(automated multi-host claim — lowest live claim id works this ticket)
Ruled by agent under ADR 0174 — veto anytime
The decision: the ticket's proposed fix (
linux.desktop.Comment: …) does not work in the pinned electron-builder (^25.1.8) — the ticket flagged "check the pinned major before choosing the shape", and it turns out the shape is not available here. Empirically (app-builder-libLinuxTargetHelper.computeDesktopEntry, ran against 25.1.8): the desktop entry spreads...linux.desktopand then unconditionally setsComment = getDescription()(=deb.description), so anylinux.desktop.Commentis overwritten. Probe output with adesktop.Commentset AND a multi-line description:i.e. the override is ignored and the multi-line value still lands.
desktop.entry.Commentis an electron-builder ≥ 26 feature; we are on 25.So in v25 the desktop
Commentand the deb controlDescriptionare the same field (bothgetDescription()), and it cannot be both a rich multi-line paragraph and a valid single-line launcher tooltip.The ruling: collapse
deb.descriptionto a single line ==deb.synopsis, so the generatedCommentis one valid line ("Set up and run your community's own cloud"). This restores ADR 0168's install proof (the app reappears in GNOME's grid) — the severe half of the ticket. The three-paragraph store page (b6e1969d's deliberate copy) is re-homed to #1800 as an AppStream metainfo file, which is what GNOME Software actually renders on the ADR 0168 reference target (the deb control Description never was).Why this is a two-way door: fully revertible by a later commit (restore the block, or take the metainfo/electron-builder-26 path in #1800), not on the one-way-door list (no credentials, security posture, member trust, data destruction, or spend). Provable now:
app/tests/unit/debStoreCopy.test.ts— the generatedComment(=deb.descriptionin v25) is a single line with no newline and equalsdeb.synopsis.scripts/package-layout-check.sh— extractsidss.desktopfrom the built .deb and asserts every non-blank line is a group/comment/key=valuepair (catches a multi-line value directly), then runsdesktop-file-validatewhen present. So the next multi-line value cannot land silently.Copy for the follow-up (the exact paragraphs) is preserved in
b6e1969dand referenced from #1800.close-report for #1799 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope