mirror of
https://github.com/Clipy/Clipy.git
synced 2026-04-26 01:25:58 +03:00
[GH-ISSUE #579] [feature implement sharing]Fix system screenshots missing & add support for PNG/JPG formats #390
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Clipy#390
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pokocat on GitHub (Jan 7, 2026).
Original GitHub issue: https://github.com/Clipy/Clipy/issues/579
I forked and did some updates as following... https://github.com/pokocat/Clipy/releases/tag/2.0.0
Title:
Fix system screenshots missing & add support for PNG/JPG formats
Description:
Summary
This PR restores the missing system screenshot monitoring functionality and significantly improves image clipboard support for modern applications (e.g., WeChat, Lark/Feishu, Web Browsers). It also resolves stability issues caused by overly aggressive clipboard polling.
Key Changes
1. Restore System Screenshot Monitoring
ScreenShotObserverDelegateinAppDelegate.swift.RxScreeendependency with a native delegate implementation, ensuring system screenshots (Cmd+Shift+3/4) are automatically detected and saved to history.2. Enhanced Image Format Support
public.png,public.jpeg, andpublic.tiffpasteboard types.NSTIFFPboardType. This caused it to ignore images copied from apps that write modern standard formats (like Chrome "Copy Image" or IM apps).CPYClipData,MenuManager, andClipServiceto recognize these types as valid images and generate thumbnails/titles correctly.3. Stability & Performance Improvements
ClipServicepolling interval from750 microsecondsto750 milliseconds.CPYClipData.hashto include image dimensions (width^height).NSImage+Resize.swiftto add a fallback drawing mechanism whenNSBitmapImageRepis nil, ensuring thumbnails are generated for all image types.Verification
@kumarav1nash commented on GitHub (Feb 16, 2026):
i don't think this project is actively managed, we can start separate fork if we found couple of active contributer @pokocat