New preview doesn't update when images are selected sequentially
bug
### Before Submitting Your Bug Report
- [x] I have verified that there isn't already an issue reporting the same bug to prevent duplication.
- [x] I have seen the [FAQ](https://github.com/p0deje/Maccy?tab=readme-ov-file#faq).
### Maccy Version (see 'About' window)
Built from master@4cd1f97
### macOS Version
15.7.2
### Maccy Settings
```Shell
{
"KeyboardShortcuts_delete" = "{\\"carbonModifiers\\":2048,\\"carbonKeyCode\\":51}";
"KeyboardShortcuts_pin" = "{\\"carbonKeyCode\\":35,\\"carbonModifiers\\":2048}";
"KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":8}";
"KeyboardShortcuts_togglePreview" = "{\\"carbonModifiers\\":4096,\\"carbonKeyCode\\":49}";
"LaunchAtLogin__hasMigrated" = 1;
"NSStatusItem Preferred Position Item-0" = 194;
"NSStatusItem Visible Item-0" = 1;
"NSStatusItem Visible Item-1" = 0;
"NSWindow Frame SUUpdateAlert" = "970 762 620 398 0 0 2560 1415 ";
"NSWindow Frame com.sindresorhus.Settings.FrameAutosaveName" = "1025 889 482 314 0 0 2560 1415 ";
SUAutomaticallyUpdate = 0;
SUEnableAutomaticChecks = 0;
SUHasLaunchedBefore = 1;
SULastCheckTime = "2026-02-08 22:19:38 +0000";
SUSendProfileInfo = 0;
avoidTakingFocus = 1;
clearOnQuit = 0;
displayLinkDetected = 0;
enabledPasteboardTypes = (
"public.tiff",
"public.png",
"public.rtf",
"public.utf8-plain-text",
"public.html",
"public.file-url"
);
highlightMatch = bold;
historySize = 200;
ignoreAllAppsExceptListed = 0;
ignoreEvents = 0;
ignoreOnlyNextEvent = 0;
ignoredApps = (
);
ignoredPasteboardTypes = (
"net.antelle.keeweb",
"de.petermaurer.TransientPasteboardType",
"com.agilebits.onepassword",
"Pasteboard generator type",
"com.typeit4me.clipping"
);
imageMaxHeight = 40;
maxMenuItemLength = 50;
maxMenuItems = 0;
menuIcon = maccy;
migrations = {
"2024-07-01-version-2" = 1;
};
pasteByDefault = 0;
pinTo = top;
popupPosition = window;
popupScreen = 0;
previewDelay = 200;
previewWidth = 534;
privacyMode = 1;
privacySensitiveMode = 0;
removeFormattingByDefault = 0;
searchMode = exact;
showFooter = 1;
showInStatusBar = 1;
showRecentCopyInMenuBar = 0;
showSearch = 1;
showTitle = 1;
suppressClearAlert = 0;
windowPosition = "[0.544921875,0.8706713780918728]";
windowSize = "[316,714]";
}
```
### Description
I know this feature isn't released yet, but, as I was developing #1149, I accidentally ran into this issue. It looks like the preview won't update when selecting an image, if the previous item is also an image.
### Steps to Reproduce
1. Have Maccy with changes introduced at #1296
2. Add multiple screenshots in your history
3. Scroll or hover with mouse without changing to non-image item on your history
关闭于 2026-07-28 2 条评论