Skip to content

Add pinned clipboard items support#54

Open
EricBlanquer wants to merge 2 commits intodiodon-dev:masterfrom
EricBlanquer:feature/pinned-items
Open

Add pinned clipboard items support#54
EricBlanquer wants to merge 2 commits intodiodon-dev:masterfrom
EricBlanquer:feature/pinned-items

Conversation

@EricBlanquer
Copy link

Summary

  • Pinned items always appear at the top of the clipboard menu, separated by a divider
  • Pinned items are preserved when clearing history
  • Right-click on a menu item shows a "Pin"/"Unpin" context menu; the menu reopens at the same position after the action
  • Press p key to toggle pin on the selected item (vi-style navigation)
  • New "Pinned" tab in Preferences to manage pinned items: drag-and-drop reordering, up/down buttons, unpin, add text, image preview on hover
  • Pinned checksums stored in GSettings (pinned-items key)

Note: This PR depends on #53 (image preview tooltip) as it reuses the preview infrastructure for the Pinned preferences tab.

Show a scaled preview popup when hovering over image clipboard items
in the menu. Preview is clamped to screen bounds and framed with a
visible border.
Items can be pinned to always appear at the top of the clipboard menu.
Pinned items are preserved when clearing history.

Features:
- Right-click on menu item to pin/unpin
- Press 'p' key to toggle pin on selected item
- Pinned items section separated by divider in menu
- Preferences tab to manage pinned items with drag-and-drop
  reordering, up/down buttons, add text, and image preview on hover
- Menu reopens at same position after pin/unpin
- Pinned checksums stored in GSettings
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.

1 participant