Skip to content

Conversation

@diegoavarela
Copy link

@diegoavarela diegoavarela commented Jan 9, 2026

Summary

This PR adds several new features and fixes to enhance ScreenCapture:

New Features

  • Window capture (Cmd+Shift+6) - Select and capture individual windows
  • Window capture with shadow (Cmd+Shift+7) - Capture windows including macOS shadow
  • Blur tool (B key or 5) - Brush-based blur annotation with adjustable intensity
  • Screenshot sound - Plays the macOS screenshot sound on successful capture
  • Drag & drop with file URL - Now works with terminal apps (not just image data)
  • RecentCapturesGallery - New sidebar component for recent captures

Bug Fixes

  • Region capture quality - Fixed pixel-perfect captures using CGImage cropping instead of sourceRect scaling
  • Selection overlay first click - Fixed first click not registering (was absorbed as focus event)
  • DisplaySelector race condition - Fixed menuDidClose firing before displaySelected
  • WindowCaptureService filter - Changed windowLayer <= 0 to windowLayer < 0 to include normal windows
  • Default shortcuts conflict - Changed from Cmd+Shift+3/4 to Cmd+Ctrl+3/4 to avoid macOS conflict

Improvements

  • Blur tool UI - Intensity slider (5-30) in floating style panel, color picker hidden for blur
  • Settings UI - Modernized with tabs (General, Shortcuts, About)
  • All 4 shortcuts configurable - Full screen, selection, window, window+shadow
  • Menu width - Set minimum 250px for better readability
  • Sandbox disabled - Required for Carbon global hotkeys (RegisterEventHotKey)

Test Plan

  • Cmd+Ctrl+3 captures full screen with display selector
  • Cmd+Ctrl+4 captures selection region (first click works)
  • Cmd+Shift+6 captures selected window
  • Cmd+Shift+7 captures window with shadow
  • Region capture quality matches window capture quality
  • Blur tool works with B key or 5
  • Blur intensity slider adjusts blur strength
  • Blur exports correctly to PNG/JPEG and clipboard
  • Screenshot sound plays on capture
  • Drag & drop works with Terminal/iTerm
  • Settings shows all 4 shortcuts

🤖 Generated with Claude Code

diegoavarela and others added 5 commits January 8, 2026 21:31
- Add WindowCaptureService actor for capturing specific windows
- Add WindowSelector overlay UI for selecting windows visually
- Fix multi-monitor coordinate conversion in SelectionOverlayWindow
- Add high quality interpolation for image display
- Integrate window capture into MenuBarController and AppDelegate

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Window capture (Cmd+Shift+6) and window with shadow (Cmd+Shift+7)
- Screenshot sound on capture
- Drag & drop with file URL support (works with terminals)
- Fix DisplaySelector race condition (menuDidClose vs displaySelected)
- Fix WindowCaptureService filter (windowLayer < 0)
- Change default shortcuts to Cmd+Ctrl+3/4 (avoid macOS conflict)
- Disable sandbox for global hotkeys
- Modernized Settings UI with tabs
- Menu width 250px minimum
- All 4 shortcuts configurable in Settings
- NSLog debugging (can be removed later)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ovements

- Add auto-save on close setting (default: true) with toggle in Settings
- Replace inline toolbar style options with floating panel over image
- Recent captures in menu now open in editor instead of Finder
- Recent captures in sidebar gallery now load into current editor
- Crop no longer resizes the window, only the image
- Recent captures menu reloads from UserDefaults when opened
- Increase Settings window height to 640px

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Update keyboard shortcuts from Cmd+Shift to Cmd+Ctrl throughout
- Add window capture documentation (Cmd+Ctrl+6/7)
- Document auto-save on close feature and setting
- Add gallery sidebar documentation (G key)
- Document floating style panel behavior
- Update Recent Captures section to explain editor re-editing
- Add Quick Window Capture and Re-edit tips

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add brush-based blur tool (B key or 5) with adjustable intensity
- Fix region capture quality - now pixel-perfect using CGImage cropping
  instead of ScreenCaptureKit's sourceRect which caused scaling artifacts
- Fix first click not registering in region selection overlay
- Hide color picker when blur tool is selected (blur doesn't use color)
- Add blur rendering to clipboard copy and file export
- Add blur radius slider (5-30) in floating style panel

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@diegoavarela diegoavarela changed the title feat: Add window capture, screenshot sound, and multiple improvements feat: Add window capture, blur tool, and multiple improvements Jan 9, 2026
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