PuTTY bug bare-wm-size-missing-conf-update

This is a mirror. Follow this link to find the primary PuTTY web site.

Home | FAQ | Feedback | Licence | Updates | Mirrors | Keys | Links | Team
Download: Stable · Pre-release · Snapshot | Docs | Privacy | Changes | Wishlist

summary: Windows: Change Settings didn't reflect window resizes from a bare WM_SIZE (e.g. FancyZones)
class: bug: This is clearly an actual problem we want fixed.
present-in: 0.82
fixed-in: 1fc5f4afd1b554b498f470749237d4fea7a9a405 (0.83)

In the PuTTY GUI, if you resize the terminal window (in the default mode which changes the number of rows and columns in the terminal), and then select Change Settings from the system menu, the width and height fields in the Window configuration pane should reflect the current window size.

In most cases this already worked. But one case where it fails is if another application resizes the PuTTY window automatically, so that PuTTY receives a single WM_SIZE window message without any of the other messages that normally surround WM_SIZE during an interactive window resizing operation, such as WM_ENTERSIZEMOVE.

In particular, bare WM_SIZE events of this kind are sent by the 'FancyZones' tool included in Microsoft PowerToys. With FancyZones enabled, you can Shift+drag a window to automatically resize it to one of your configured 'zones' (regions of your screen that you set up in a layout of your choice). This automated resize operation would trigger the bug: the next time you selected Change Settings, the window size would still reflect what it was before FancyZones resized it, leading to confusion when applying the changed settings.


If you want to comment on this web site, see the Feedback page.
Audit trail for this bug.
(last revision of this bug record was at 2024-12-20 13:20:02 +0000)