Skip to content

Show the clipboard panel's empty and no-match messages - #17562

Merged
dhh merged 2 commits into
quattrofrom
fix/clipboard-empty-state
Nov 4, 2026
Merged

dhh merged 2 commits into
quattrofrom
fix/clipboard-empty-state

Conversation

@dhh

@dhh dhh commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Carries over #17492 by @ThePrimeagen, whose commit is kept as is with his authorship, plus a fix for the long-search overflow Greptile flagged there.

The clipboard panel (Super+Ctrl+V) shows a completely blank card when it has nothing to list: after the history is deleted, and when the filter matches nothing. The icon and the Clipboard is empty / No matches for “…” message never draw.

  • The empty-state Column is only anchors.centerIn its parent, so its width comes from its children, and both Text children set width: parent.width. The width resolves to 0 and nothing is drawn. (ThePrimeagen's commit centers each Text on its implicit width instead.)
  • On top of that, the Column now takes the available width minus the panel padding and the message elides, so a long search stays inside the card instead of spilling past its edges and offscreen.

The emoji picker had the same bug; that's #17558.

Screenshots

Before/after captures of the empty and no-match states are in #17492. The overflow fix was verified with an offscreen Qt render of the same layout: a long filter elides inside the margins, and short messages stay centered.

🤖 Generated with Claude Code

ThePrimeagen and others added 2 commits November 4, 2026 07:12
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dhh
dhh merged commit 1d88086 into quattro Nov 4, 2026
4 checks passed
@dhh
dhh deleted the fix/clipboard-empty-state branch November 4, 2026 15:13
@greptile-apps

greptile-apps Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

Fixes the clipboard panel’s empty and no-match messages.

  • Clipboard empty-state messages stay centered inside the card.

No actionable issues found. UI rendering was not run because Qt and Hyprland tools are unavailable.

Reviews (1) · Last reviewed commit: "Keep long clipboard no-match messages in..." · Reviewed by Greptile

cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 4, 2026
* Show the clipboard panel's empty and no-match messages

Co-authored-by: Cursor <cursoragent@cursor.com>

* Keep long clipboard no-match messages inside the card

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: ThePrimeagen <the.primeagen@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@emirb emirb added this to the 4.5.1 milestone Nov 5, 2026
cursor Bot pushed a commit to mark-groves/omarchy that referenced this pull request Nov 5, 2026
* Show the clipboard panel's empty and no-match messages

Co-authored-by: Cursor <cursoragent@cursor.com>

* Keep long clipboard no-match messages inside the card

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: ThePrimeagen <the.primeagen@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants