microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.16k stars 6.49k forks source link

When opening/re-starting Power Toys with the "Color Picker" module enabled, a white window belonging to the "Color Picker UI" flashes for split second at the mouse cursor's position #33526

Open Codrax opened 3 months ago

Codrax commented 3 months ago

Microsoft PowerToys version

0.81.1

Installation method

GitHub, PowerToys auto-update, Microsoft Store, WinGet

Running as admin

Occurs both with or without administration

Area(s) with issue?

ColorPicker

Steps to reproduce

The steps to reproduce this bug are as follows:

  1. Open the Power Toys settings form
  2. Click the Color Picker menu in the sidebar image
  3. Enable the color picker module image
  4. Quit PowerToys from the system tray (or restart the computer) image
  5. Re-open PowerToys from the start menu (or started in any other way) image
  6. The flashing window will appear for a very short time at the location of the mouse pointer on the screen image

Additional notes

I identified that the white window belongs to the Color Picker UI with a custom software developed by me, which shows the following information about the window: image This identifies the Process of the active window via the following functions: GetForegroundWindow, GetWindowThreadProcessId, OpenProcess and GetModuleFileNameEx

✔️ Expected Behavior

The UI of the Color Picker not to be show unless called unless called by It's Activation Keyboard Shortcut

❌ Actual Behavior

The Color Picker UI show during the startup of the PowerToys application at Windows Startup or when re-opened after the application was closed from the system tray.

github-actions[bot] commented 3 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.