Repository navigation
Conversation
[Medium impact] The PR appears safe to merge; this documentation-only update introduces no new actionable issues. SummaryAdds Text to the LocalSend Share menu and CLI, with a translated multiline composer, error notifications, and a private-file fallback for large messages.
|
|
Nice addition, and good that the text is passed as a literal argument rather than through the shell. One privacy nit: without systemd-run --user --quiet --collect --expand-environment=no \
--description="Share text with LocalSend" /bin/bash -c '…' omarchy-share-text " $text"(LocalSend's own argv will still contain it, but that's unavoidable with Also related: #6979 switches the Clipboard entry to LocalSend's native |
Adapt guilhermetk's independently authored clipboard sharing and launch-failure handling from omacom#6979 (05213b6). Route clipboard text through the existing protected text launcher, preserving fixed service descriptions, literal arguments, flag protection, and detached error notifications. Keep file/folder selection unchanged and report scheduling failures. Add focused clipboard and file-picker regressions and update the manual. Focused suite: 19 passed, one GTK/GDK import check skipped; menu assertion, Bash syntax and whitespace checks passed. Full CLI/shell suites, ShellCheck, real systemd/journal and Omarchy desktop acceptance were unavailable in this environment. Co-authored-by: Guilherme Tiscoski <github@guilhermetiscoski.com>
Test multiline Unicode output, button sensitivity, Ctrl+Enter, Cancel, Escape and rejection of blank Ctrl+Enter input against real GTK widgets. Run each scenario in a fresh process with a timeout and report an explicit skip when GTK or a display is unavailable. Validated all four scenarios on GTK 3 under Xvfb. The existing 20 sharing tests also pass without skips with GI installed; ShellCheck and Bash syntax checks pass.
Bring the contribution branch up to quattro at 4e059ac without rewriting history. Add the Text menu label and sharing error strings to the English catalogs, route notifications through omarchy-i18n, and cover language-specific clipboard errors with the real catalog lookup helper. Validation: 21 sharing tests without skips, four real GTK scenarios under Xvfb, the complete CLI suite with GNU awk, ShellCheck, Bash syntax, catalog structure/number checks, and extract-scan --check. LocalSend 1.18.2 stages the synthetic flag-like Unicode text in its GUI (31 bytes after trimming). The complete i18n shell test reaches an unrelated root-only locale-generator failure in this container; its catalog structure and extraction checks pass. Real systemd/journal and installed Omarchy desktop acceptance still require a systemd-backed Omarchy host. Neither pull request is merged.
Document the focused, GTK, CLI, translation and real LocalSend checks, the complete pre-sync shell comparison, and remaining live-systemd, desktop and upstream workflow approval requirements.
|
The oversized-clipboard issue in review r4305015851 is fixed in a777fa8, with focused regression coverage and the live validation report updated in Could an upstream maintainer approve the pending Check translation structure workflow for this contribution? Run https://github.com/omacom/omarchy/actions/runs/39084738026 is |
|
Want your agent to iterate on Greptile's feedback? Try greploops. |
|
Follow-up on validation and the pending upstream workflow:
The previous graphical aggregate remains 7/10, with the menu, Apps-grid and Weather OCR failures documented rather than claimed fixed here. Those test changes are being consolidated into #15550, #15465 and #12828; superseded #16028 is closed. #16095's bar-reveal fix and draft #16182's panel timing tests remain separate. No full-green graphical acceptance claim or merge request is made by this comment. |
Add Text to the Share menu and
omarchy share text [message]to the CLI. Text opens a multiline composer; direct arguments skip it. Cancel, Escape, and whitespace-only input do not launch LocalSend. The composer's title, buttons, prompt, and shortcut hint useomarchy-i18n, with English fallback for missing or empty translations.Text and clipboard sharing use LocalSend's native
--textroute below 64 KiB. Larger messages use a privatemessage.txtfile through LocalSend's existing file route, preserving oversized clipboard sharing. The directory/file modes are 0700/0600, with normal-exit and scheduling-failure cleanup. Flag-like messages and literal shell-like text remain data. File/folder selection remains unchanged. The independently authored native-clipboard contribution in #6979 is credited in the reconciliation commit; its branch is unchanged.The detached user service reports scheduling and LocalSend failures through desktop notifications. A fixed text-service description keeps payloads out of command-derived manager messages, and environment expansion is disabled. Native text still appears in process arguments and can appear in application journal
_CMDLINE; private temporary-file cleanup is not secure erasure.The composer uses system Python and pins GTK/GDK 3, using existing default dependencies. Menu/CLI wiring, catalogs, manual updates, regression tests, and a detailed validation report are included.
Validation at
dc2ff87b11ba458a059d14233e6698b86ecc22bc, October 19, 2026 EDT:menu-test.shfailedmenu bar position changes to left;shell-surfaces-test.shfailedapps menu opens. These retain stale upstream navigation expectations.panels-test.shadditionally timed out waiting for Weather'sSAN FRANCISCO, although its failure screenshot visibly contains that text and native-resolution OCR reads it. That file remains failed; the scaled-OCR mismatch was not isolated. The acceptance runner/files were unchanged.Historical October 17 installed-VM evidence comprised two complete 8/10 graphical runs and passing targeted LocalSend probes. Those results remain separately identified in the validation report, which records exact commits, commands, versions, all current failing files, screenshots/log locations, cleanup, and limitations. This replaces the earlier incorrect statement that the graphical suite was never run.
Current-head CI follow-up, October 22, 2026 EDT: translation workflow 39352459082 exists at
a509021d2a745e01ab89e2db2950d0cb31b1fe60and is completed with conclusionaction_required, with zero jobs. The earlier comment saying this head had no workflow runs is now stale. Upstream contribution approval remains required; no successful translation-CI execution is claimed. Keep open and unmerged.