16 Commits

Author SHA1 Message Date
Beingpax
d1fe77f2aa Remove verbose logging from cleanup and capture services 2026-01-12 08:48:50 +05:45
Nico Duldhardt
d25ae52333 Fix OCR capturing VoiceInk status overlay instead of frontmost app window
The screen capture service was selecting the first layer-0 window, which
during recording was VoiceInk's own status indicator overlay. This caused
OCR to always return 'No text detected' since the overlay has no readable
content.

Changes:
- Filter out windows owned by VoiceInk's process
- Prioritize windows belonging to NSWorkspace.frontmostApplication
- Refactor WindowCandidate struct to class scope
2025-12-07 01:05:00 +01:00
Nico Duldhardt
df2a8d9901 remove check for windows < 120x120 2025-12-07 00:52:52 +01:00
Nico Duldhardt
3b043f4da9 Fix OCR capturing VoiceInk status overlay instead of frontmost app window
The screen capture service was selecting the first layer-0 window, which
during recording was VoiceInk's own status indicator overlay. This caused
OCR to always return 'No text detected' since the overlay has no readable
content.

Changes:
- Filter out windows owned by VoiceInk's process
- Prioritize windows belonging to NSWorkspace.frontmostApplication
- Filter out tiny windows (<120x120) to avoid tooltips/overlays
- Move CGWindowListCopyWindowInfo off main thread for better UI responsiveness
- Refactor WindowCandidate struct to class scope
2025-12-07 00:23:04 +01:00
Beingpax
14d52a9c08 Fix screen capture crash by isolating services 2025-10-18 22:07:48 +05:45
Beingpax
40f955db36 Migrate to ScreenCaptureKit from deprecated API 2025-10-09 19:43:20 +05:45
Beingpax
69d6e9c139 Fixed ScreenCapture to handle languages automatically 2025-10-09 12:47:19 +05:45
Beingpax
febd75cc39 Unified logging + fluidAudio's logging 2025-10-08 11:30:50 +05:45
Beingpax
cba11cdc55 Capture clipboard context and screen context at the beginning of the recording. 2025-10-07 09:06:30 +05:45
Beingpax
4b0da10ed5 Clear screen capture before each recording 2025-10-06 17:52:01 +05:45
Beingpax
8abc8a3ddd Remove VoiceInk exclusion in screen capture guard 2025-09-24 20:42:23 +05:45
Beingpax
0f06d99c3d Simplified Screen Capture Service 2025-05-15 18:20:30 +05:45
Beingpax
611e443dd2 simple fix 2025-03-07 19:06:41 +05:45
Beingpax
ce3ac6d449 Enhance screen capture reliability with fallback mechanisms 2025-03-07 18:48:30 +05:45
Beingpax
214d71c29d Added debugging for screen capture services 2025-03-06 22:02:44 +05:45
Beingpax
76a154706c Initial commit: Open-sourcing VoiceInk 2025-02-22 11:52:41 +05:45