terminal/src/cascadia
Don-Vito e3fcfccc52
Prevent resizing terminal to a lower-than-minimum width (#8066)
Until now, we relied on WM_SIZING to ensure that the island is not
downsized below minimal allowed dimensions. However, on some occasions
WM_WINDOWPOSCHANGED, e.g. when anchoring a window to the top/bottom of
the screen. This message will use dimensions obtained from
WM_GETMINMAXINFO. Until now we didn't override this value, falling back
to the defaults. As a result we got an inconsistent behavior (at least
when attaching the anchor).

I added logic very similar to the one we use in IslandWindow::_OnSizing
to the MINMAXINFO handler: snap the client area, add non client
exclusive are, consider DPI along the computation.

## Validation Steps Performed
* Manual testing of minimizing, maximizing, resizing, attaching
  different anchors, etc.

Closes #8026
2020-11-13 03:15:46 +00:00
..
CascadiaPackage Remove all our path antics; force native projects to bin/, obj/ (#8062) 2020-10-27 15:00:41 -07:00
inc Make Tab an unsealed runtimeclass (and rename it to TabBase) (#8153) 2020-11-04 10:15:05 -08:00
LocalTests_SettingsModel Fix test for desktopWallpaper (#8208) 2020-11-09 23:41:31 +00:00
LocalTests_TerminalApp 8185: do not sort commands by name in tabswitcher mode (#8188) 2020-11-09 18:37:19 +00:00
PublicTerminalCore wpf: Add AutoFill to control whether the connection/buffer resizes (#7853) 2020-10-09 22:25:18 +00:00
ShellExtension Shell extension: Use WT's icon as our icon (#8068) 2020-10-28 10:31:45 +00:00
TerminalApp Prevent resizing terminal to a lower-than-minimum width (#8066) 2020-11-13 03:15:46 +00:00
TerminalAzBridge Remove all our path antics; force native projects to bin/, obj/ (#8062) 2020-10-27 15:00:41 -07:00
TerminalConnection Azure: fall back to powershell when no preferred shell is set (#8197) 2020-11-09 14:55:45 -08:00
TerminalControl Warn when font isn't found and another is chosen (#8207) 2020-11-10 18:24:06 -08:00
TerminalCore Add support for autodetecting URLs and making hyperlinks (#7691) 2020-10-28 20:24:43 +00:00
TerminalSettingsModel Rework JsonUtils' optional handling to let Converters see null (#8175) 2020-11-09 15:13:02 -08:00
UnitTests_TerminalCore Fix SendInput handling (#7900) 2020-10-27 19:06:29 +00:00
ut_app Rework JsonUtils' optional handling to let Converters see null (#8175) 2020-11-09 15:13:02 -08:00
WindowsTerminal Prevent resizing terminal to a lower-than-minimum width (#8066) 2020-11-13 03:15:46 +00:00
WindowsTerminalUniversal Run all images through ImgBot (#8169) 2020-11-05 18:03:40 -08:00
WinRTUtils Remove all our path antics; force native projects to bin/, obj/ (#8062) 2020-10-27 15:00:41 -07:00
WpfTerminalControl wpf: add width/height checks when resizing the terminal (#7983) 2020-10-27 01:57:13 +00:00
WpfTerminalTestNetCore/WpfTerminalTestNetCore Fix 3 different bugs in the WPF control (#6464) 2020-06-11 18:05:43 +00:00
wt Build and ship an actual binary named wt that just launches WT (#6860) 2020-07-10 22:41:37 +00:00
CascadiaResources.build.items Introduce TerminalSettingsModel project (#7667) 2020-10-06 09:56:59 -07:00