microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
107.01k stars 6.31k forks source link

Awake tray menu is not mixed DPI aware #16123

Open K900 opened 2 years ago

K900 commented 2 years ago

Microsoft PowerToys version

0.55.1

Running as admin

Area(s) with issue?

Awake

Steps to reproduce

  1. Launch Awake on a high-DPI display
  2. Right click the tray icon

✔️ Expected Behavior

The UI is rendered at native DPI.

❌ Actual Behavior

The UI is rendered at 96 DPI and upscaled, leading to blurry fonts:

image

Other Software

No response

dend commented 2 years ago

Yeah, so this is because I was using an old-school menu with the tool instead of the native system one. Surprisingly, there is a difference, and for the latter I need to be directly calling the Windows API. The good news is that the change is coming with #16903 - I hope to get that PR wrapped up before Monday.

crutkas commented 2 years ago

this should be done now with 0.57 /needinfo

K900 commented 2 years ago

It's still blurry - the executable itself needs to also be flagged DPI aware in the manifest.

dend commented 2 years ago

@K900 can you please provide a screenshot?

K900 commented 2 years ago

image

K900 commented 2 years ago

Looks like you just need to add this manifest flag: https://docs.microsoft.com/en-us/windows/win32/sbscs/application-manifests#dpiAware

Jay-o-Way commented 1 year ago

@dend haven't seen much from you lately. How are you doing? Still on board?

dend commented 1 year ago

@Jay-O-Way - I can tackle that, yes 😀 Been a hectic couple of months. Expect this change to roll-in with the latest set of changes to Awake.

andrewbraxton commented 9 months ago

bump

Surobaki commented 3 months ago

bump