Files
PowerToys/src/dsc/PowerToys.Settings.DSC.Schema.Generator/app.manifest

22 lines
937 B
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="PowerToys.Settings.app"/>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<!-- The combination of below two tags have the following effect:
1) Per-Monitor for >= Windows 10 Anniversary Update
2) System < Windows 10 Anniversary Update
-->
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware>
User/yeelam/dpi fix (#40079) <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request This PR updates all application manifest files across the PowerToys codebase to use **PerMonitorV2** DPI awareness, ensuring optimal high-DPI display support on modern Windows systems. ## Changes Made Updated **12 manifest files** to include proper PerMonitorV2 DPI awareness: ### Files with New DPI Support Added: - `src/runner/PowerToys.exe.manifest` - Added complete DPI awareness section - `src/modules/awake/Awake/app.manifest` - Upgraded from basic `dpiAware` to PerMonitorV2 ### Files Upgraded from PerMonitor to PerMonitorV2: - `src/modules/colorPicker/ColorPickerUI/App.manifest` - `src/modules/MouseWithoutBorders/App/MouseWithoutBorders.exe.manifest` ### Files Enhanced for Consistency: - `src/modules/ShortcutGuide/ShortcutGuide/ShortcutGuide.exe.manifest` - `src/modules/ZoomIt/ZoomIt/Zoomit.exe.manifest` - All 5 cmdpal extension manifests ## Technical Implementation All manifests now use the standardized format that provides: 1. **PerMonitorV2** as the primary DPI awareness mode for Windows 10 Anniversary Update and later 3. **`true/PM`** for backward compatibility with pre-Windows 10 systems ```xml <application xmlns="urn:schemas-microsoft-com:asm.v3"> <windowsSettings> <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/PM</dpiAware> <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness> </windowsSettings> </application> ``` ## Screenshot for comparision: Before: ![image](https://github.com/user-attachments/assets/ec621b21-d696-400a-8408-65da4ebdca95) After: ![image](https://github.com/user-attachments/assets/77ead0fe-1e8d-4e28-b71e-c6004ba53593) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-06-18 00:08:54 -07:00
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
</windowsSettings>
</application>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!-- Windows 10 -->
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
</application>
</compatibility>
</assembly>