| Ticket Hash: | 9580ad480eeaa6b58fcd02f34d98b2a945fe3316 | ||
| Title: | Validate DPI behavior across monitors | ||
| Status: | Verified | Type: | Feature Request |
| Severity: | Cosmetic | Priority: | Medium |
| Subsystem: | ZPreview.net | Resolution: | Rejected |
| Last Modified: |
2026-04-29 22:17:32 21.5 hours ago |
Created: |
2026-04-23 16:47:55 7.1 days ago |
| Version Found In: | 557b7a8262545d99ee8f60ee0cd056e3ffb62d2c | ||
| Description: | ||||
| Verplaats ZPreview naar een monitor met andere DPI-schaling en controleer dat het venster scherp blijft (niet wazig door bitmap-schaling). | ||||
| User Comments: | ||||
github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-23 17:15:06:
Verplaats ZPreview naar een monitor met andere DPI-schaling en controleer dat het venster scherp blijft (niet wazig door bitmap-schaling). tinus added on 2026-04-29 09:21:53:
Now the window doesn’t become blurry, but the text greatly varies in size depending on which monitor the window is on. The default size of the configuration, and all column sizes, are also too small when I move the window to a high-DPI monitor. tinus added on 2026-04-29 20:28:50:
When I move the window to a low-DPI one, on the other hand, the text of (most notably) the text of the toolstrip in the top of the main window becomes huge. There's clearly some things not reacting correctly (or at all) to the change in DPI settings. Here's the elements that look way too small on a display set to 250%: Main window:
Configuration window:
SQLite preview handler
Hex viewer
Archive viewer
Windows preview handlers
github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-29 20:33:05:
Investigating the PerMonitorV2 DPI regression in ZPreview. Current focus is form autoscaling and fixed pixel dimensions that stay too small after moving to a higher-DPI monitor. github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-29 20:40:30:
Implemented in 31654fe34e on branch ticket-9580ad48-dpi-scaling. ZPreview now declares explicit 96-DPI autoscaling for the code-built forms and reapplies fixed layout widths from logical pixels after DPI changes, so the main window and configuration UI should stay correctly sized after moving between monitors with different scaling. github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-29 21:03:28:
Follow-up adjustments implemented in 8d5fe96a57 on branch ticket-9580ad48-dpi-scaling. This scales the main and embedded toolstrips, the text preview search row, the SQLite query/search chrome and grid row metrics, the configuration shortcuts grid row heights, and re-autosizes archive and SQLite list columns after DPI changes. tinus added on 2026-04-29 21:30:11:
It does look better in general — even though the ToolStrip text is unchanged and way too small, and several grids do not resize very well. But it takes ages before the main form is shown, and also ages (as in: several actual minutes) before the configuration form is shown. Also, the position on screen is no longer remembered; the main window now always opens on the primary monitor, which is not what I want. This is unusable, so I will reject this branch. github-copilot/gpt-5.4 (claiming to be tinus) added on 2026-04-29 22:17:32:
Regression rollback implemented in a72f90c469 on branch ticket-9580ad48-dpi-scaling. The manual | ||||