Collective-Software / ClickPaste

Windows 10 notification area app in C# that can paste clipboard contents as keystrokes to whatever location you click.
BSD 3-Clause "New" or "Revised" License
432 stars 31 forks source link

Works in Win7, but tray icon is invisible #14

Closed Atario closed 1 year ago

Atario commented 1 year ago

What it looks like:

f3rrix commented 1 year ago

Glad you find it useful, but I don't have any plans to work on it personally for support with Windows 7, which is itself not supported by MS any more.

Atario commented 1 year ago

I should add that the problem is possible in the supported versions of Windows as well.

It seems the issue is that the icon is white-on-transparent, so if the background is also white (or close to it), it disappears. So this could happen in Win10/Win11 if you set your accent color to white (or close to it).

f3rrix commented 1 year ago

It's supposed to only be white when the background is dark. It uses:

Software\Microsoft\Windows\CurrentVersion\Themes\Personalize\SystemUsesLightTheme

to know this and flip the icon to black on transparent otherwise.