Skip to content

Add theme preview and window options#1012

Merged
sabrogden merged 4 commits intosabrogden:masterfrom
schmurtzm:add-theme-preview-and-window-options
Dec 7, 2025
Merged

Add theme preview and window options#1012
sabrogden merged 4 commits intosabrogden:masterfrom
schmurtzm:add-theme-preview-and-window-options

Conversation

@schmurtzm
Copy link
Copy Markdown
Contributor

This pull request is covering point 1. and 2. of this Feature Request: #1009

  1. Easier and More Interactive Theme Selection
Theme.instant.preview.mp4
  1. Additional window behavior options (in Advanced Options)
    a. Option: Allow Ditto to stay visible when losing focus & b. Option: Do not hide Ditto after pasting
do.not.hide.window.mp4

c. Option: Hide taskbar icon when closing Ditto window

hide.in.taskbar.mp4

'Do not hide Ditto window on deactivate'  allows to keep the Ditto window visible when it loses focus, controlled via Options in "Advanced" window.
New setting 'Hide taskbar icon when Ditto window closes' in the advanced general options.
“Show in taskbar” is enabled firstly.
Closing Ditto with the “X” button or the Escape key will hide the taskbar icon. So the taskbar icon is visible only when the quick paste window is visible (similar behavior to keepass window).

Implements corresponding getter and setter in CGetSetOptions, and updates CQPasteWnd to respect this setting when hiding the main window.
A 'Preview' button next to the theme selection, allows to preview the selected theme in the Ditto window.
Also updates the Ditto window live when the dropdown theme selection changes.
Fix theme preview  & caption bar theme apply
Refactored the theme preview button to ensure the QPaste window is created and visible before applying the selected theme.
@schmurtzm schmurtzm mentioned this pull request Dec 6, 2025
@sabrogden sabrogden merged commit 400cc1a into sabrogden:master Dec 7, 2025
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