Skip to content

Refactor AppWindow to remove showInTaskbar property and improve - #59

Merged
rgdevment merged 2 commits into
mainfrom
fix/paste-capture
Aug 10, 2026
Merged

Refactor AppWindow to remove showInTaskbar property and improve#59
rgdevment merged 2 commits into
mainfrom
fix/paste-capture

Conversation

@rgdevment

Copy link
Copy Markdown
Owner
  • Removed the showInTaskbar property from AppWindow class.
  • Updated window initialization to always skip taskbar on Windows and added visibility handling for macOS.
  • Refactored visibility logic in hide and exitGateMode methods.
  • Adjusted logging to reflect changes in taskbar behavior.

Enhance WindowFocusManager to improve focus handling and diagnostics

  • Introduced focus repair diagnostics in WindowFocusManager.
  • Added methods to track and verify keyboard focus before pasting.
  • Improved error handling for focus-related issues during paste operations.

Update WindowsHotkeyChannel to support focus and thread diagnostics

  • Modified sendPaste method to accept target window and focus parameters.
  • Enhanced response structure to include focus repair diagnostics.

Improve SQLite database management for security and performance

  • Changed auto_vacuum pragma to secure_delete for better data handling.
  • Implemented incremental vacuuming to maintain database performance.

Add permission restrictions for Linux storage directories

  • Implemented _restrictToOwner method to set directory permissions to 0700 on Linux.

Enhance ClipboardService to prevent overwriting stale entries

  • Added logic to check for the existence of stored images before reactivating clipboard items.

Refactor ListenerPlugin for better activation tracking on macOS

  • Implemented activation tracking to capture the last foreign application bundle ID.
  • Improved paste handling to ensure focus is correctly managed during paste operations.

Fix clipboard handling in Windows ListenerPlugin

  • Added retry logic for OpenClipboard to handle brief locks by other applications.

…w visibility handling

- Removed the showInTaskbar property from AppWindow class.
- Updated window initialization to always skip taskbar on Windows and added visibility handling for macOS.
- Refactored visibility logic in hide and exitGateMode methods.
- Adjusted logging to reflect changes in taskbar behavior.

Enhance WindowFocusManager to improve focus handling and diagnostics

- Introduced focus repair diagnostics in WindowFocusManager.
- Added methods to track and verify keyboard focus before pasting.
- Improved error handling for focus-related issues during paste operations.

Update WindowsHotkeyChannel to support focus and thread diagnostics

- Modified sendPaste method to accept target window and focus parameters.
- Enhanced response structure to include focus repair diagnostics.

Improve SQLite database management for security and performance

- Changed auto_vacuum pragma to secure_delete for better data handling.
- Implemented incremental vacuuming to maintain database performance.

Add permission restrictions for Linux storage directories

- Implemented _restrictToOwner method to set directory permissions to 0700 on Linux.

Enhance ClipboardService to prevent overwriting stale entries

- Added logic to check for the existence of stored images before reactivating clipboard items.

Refactor ListenerPlugin for better activation tracking on macOS

- Implemented activation tracking to capture the last foreign application bundle ID.
- Improved paste handling to ensure focus is correctly managed during paste operations.

Fix clipboard handling in Windows ListenerPlugin

- Added retry logic for OpenClipboard to handle brief locks by other applications.
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rgdevment
rgdevment merged commit 2f5148e into main Aug 10, 2026
9 checks passed
@rgdevment
rgdevment deleted the fix/paste-capture branch August 10, 2026 16:20
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