IMatch Clipboard: Copy All and Assign not working

Started by axel.hennig, October 20, 2025, 05:02:27 PM

Previous topic - Next topic

axel.hennig

The title more or less says everything.

I've drag&drop several files to the IMatch Clipboard. Created a new folder and clicked "Copy All". Nothing happened. Created a new Category and clicked "Assign". Nothing happened.

When clicking "Result Window", it works as expected.

Additionally: I've closed IMatch. Removed the folder "C:\ProgramData\photools.com\imatch6\browser\Cache". Re-opened IMatch and hit several times Ctrl+F5 within the IMatch Clipboard. Did not solve the problem.

Mario

I see. That's an unexpected side-effect of a change I made to File Windows.
They intercepted Ctrl+C, Ctrl+X, Ctrl+V when active, preventing other features and apps from using the clipboard with shortcuts.
So I changed the handling to process the clipboard commands only when the file window (or one of its child windows) has the input focus. This makes things safer.

The IMatch Clipboard uses a IMWS endpoint that performs a paste operation with a set of file oids. And, when you click the button in the clipboard app, it becomes the active window and gets the input focus. So the File Window ignores the paste operation.

A possible workaround is maybe forcing the focus to the File Window, doing the paste, and then focusing the original window again. But many windows and apps "do stuff" when the lose or receive the input focus, so that won't probably work all to well.

I think I need to add an extension to file windows to allow for a unconditional paste op to deal with the clipboard app. Sigh.

Mario