hluk/CopyQ
Voir sur GitHubInconsistent Image Preview Sizes and Duplicated Entries for Screenshots
Open
#3 129 ouverte le 16 août 2025
Windowsbughelp wanted
Métriques du dépôt
- Stars
- (7 372 stars)
- Métriques de merge PR
- (Merge moyen 17h 35m) (13 PRs mergées en 30 j)
Description
Describe the bug
- Large Previews for Copied Image Files: When copying an image file directly from the file explorer, the preview displayed in the main history window does not respect the "Maximum height" and "Maximum width" setting in the application's preferences. This results in overly large thumbnails that disrupt the history list layout.
- Duplicated Entries for Screenshots: When copying a screenshot from a tool (e.g., the built-in PrtScn or a third-party application like PixPin), CopyQ creates two separate, redundant entries in the history for the same operation. One entry is the original image data, while the other is a preview, leading to a cluttered and confusing history list.
To Reproduce
- Copy a large image file (e.g., a .png or .jpg) from your file manager.
- Open the CopyQ main window and observe the preview in the history list. It will likely exceed the specified maximum height.
- Use a screenshot tool to capture a portion of your screen.
- Open the CopyQ main window again and observe the history list. Two separate entries for the same screenshot will be visible.
Expected behavior I expect CopyQ to handle image previews consistently and efficiently:
- Unified Preview Sizing: The preview for all images in the history list, regardless of whether they were copied from a file or a screenshot tool, should strictly adhere to the user-defined "Maximum height" setting.
- Single Entry for Screenshots: For screenshots, the history should only show a single item. This item should retain the full, original image data for pasting, while displaying a small, correctly-sized preview in the history list for easy browsing. This would eliminate the redundant entries and declutter the history.
Screenshots
Version, OS and Environment
- copyq-10.0.0.37
- Windows 11
- Windows installer