doc/devdocs/modules/fancyzones-tools.md
FancyZones has several specialized debugging tools to help diagnose issues with window management, zone detection, and rendering. These tools are designed to isolate and test specific components of the FancyZones functionality.
| Tool | Purpose | Key Functionality |
|---|---|---|
| FancyZones_HitTest | Tests zone hit detection | Shows which zone is under cursor with detailed metrics |
| FancyZones_DrawLayoutTest | Tests layout drawing | Renders zone layouts to debug display issues |
| FancyZones_zonable_tester | Tests window zonability | Determines if windows can be placed in zones |
| StylesReportTool | Analyzes window properties | Generates window style reports for debugging |
Tests the FancyZones layout selection logic by displaying a window with zones and highlighting the zone under the mouse cursor.
Debug issues related to the drawing of zone layouts on screen.
The application is DPI unaware, meaning it doesn't scale for DPI changes and always assumes a scale factor of 100% (96 DPI). Scaling is automatically performed by the system.
Tests if the window under the mouse cursor is "zonable" (can be placed in a FancyZones zone).
Note that this tool may not be fully up-to-date with the latest zonable logic in the main FancyZones codebase.
Generates detailed reports about window styles that affect zonability.
For most effective debugging of FancyZones issues:
When testing FancyZones with these tools, consider:
If encountering JSON token errors on first run: