Skip to content

refactor: move Clipboard settings to dedicated tab. - #26

Open
matheus-inacio wants to merge 3 commits into
vicinaehq:mainfrom
matheus-inacio:refactor/settings-ui-clipboard
Open

refactor: move Clipboard settings to dedicated tab.#26
matheus-inacio wants to merge 3 commits into
vicinaehq:mainfrom
matheus-inacio:refactor/settings-ui-clipboard

Conversation

@matheus-inacio

@matheus-inacio matheus-inacio commented Aug 15, 2026

Copy link
Copy Markdown

Description

This PR makes the clipboard features a bit nicer to use and adds more privacy control.

Key updates:

A UI refresh for the settings page to make it easier to navigate.

A new toggle to completely disable clipboard monitoring.

image

Changes Included

1. Toggle to Disable Clipboard Monitoring

Added a new setting to completely disable clipboard monitoring.

  • Privacy-focused: Ideal for privacy-conscious users who prefer not to have their clipboard observed.
  • Performance: Disabling the monitoring helps reduce memory pressure and overall overhead on the GNOME Shell environment.
image

2. Dedicated Clipboard Settings Tab

  • Moved from General to its own tab: Previously, if a user had a large list of blocked applications, it would push all other "General" settings completely out of frame, giving the false impression that there were no other settings available without scrolling.
  • Moving this section to a dedicated "Clipboard" tab provides it with the necessary space and ensures it doesn't crowd out other configurations.
Before After
Before After

3. Restructured Settings Hierarchy

  • The "Blocked Applications" setting is now properly nested as a child under the "Clipboard settings" group.
  • Previously, it was a bespoke setting group in the "General" tab. This structural change (Clipboard settings -> Blocked Applications) makes it immediately clear what the blocklist pertains to.

4. Refactored Blocked Applications List

  • Improved Readability: In the old design, each blocked application row took up two lines, requiring the user to click to expand and reveal the window class that uniquely identified the row. This made the list cumbersome to scan.
  • Simplified Layout: Now, each row directly and concisely represents a unique, easily identifiable window class, making the entire list readable at a glance.

5. Added Helper for "Window Class"

  • Added a help button/tooltip explaining what a "Window class" is, including brief guidance on how a user might go about finding the window class of an application.
image

Note on Clipboard Monitoring Behavior:

When a user toggles the enable-clipboard-monitoring setting off, the extension immediately disconnects the event listener, meaning no new clipboard history will be collected from that point onward. However, the core clipboard reference is intentionally preserved under the hood. This ensures that the user can still open the Vicinae launcher and successfully paste any existing items that were captured before monitoring was paused.

@dagimg-dot

Copy link
Copy Markdown
Collaborator

lgtm code wise and and PR summary is really clean, but I don't think Alt + F2 works on wayland.

Thanks for the contribution.

@matheus-inacio

Copy link
Copy Markdown
Author

lgtm code wise and and PR summary is really clean, but I don't think Alt + F2 works on wayland.

Thanks for the contribution.

Thanks.

I'm testing this on GNOME 50 (Wayland only) and Alt + F2 is working just fine on my end.

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.

2 participants