Skip to content

Non-resizable DialogWindow can be resized using the context menu.

Notifications You must be signed in to change notification settings

deniskovalchuk/bug-report-vs-dialog-window

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Visual Studio Report

https://developercommunity.visualstudio.com/t/Non-resizable-DialogWindow-can-be-resize/10247555

Problem description

The Visual Studio WPF dialogs (Microsoft.VisualStudio.PlatformUI.DialogWindow) with the resize mode (System.Windows.ResizeMode) set to NoResize still allow users to resize using the context menu commands.

alt text

Steps to reproduce

  1. Download the project.
  2. Open the solution in Visual Studio.
  3. Debug -> Start Debugging (F5).
  4. In the opened experimental instance: Tools -> Show Non-Resizable Window.
  5. Right-click on the title bar to open the context menu. The Size, Minimize and Maximize commands are enabled and behave in the following way:
    • Clicking the Size command does not allow you to resize.
    • Clicking the Minimize command minimizes the window and minimizes Visual Studio.
    • Clicking the Maximize command maximizes the window so that it takes up the whole screen, including the taskbar.

Environment

Microsoft Visual Studio Professional 2022 Version 17.4.3
Windows 10 Version 21H2 OS Build 19044.2364

Notes

  1. This problem reproduces with the Help -> About Microsoft Visual Studio window.
  2. This problem does not reproduce with System.Windows.Window.
  3. HasMaximizeButton and HasMinimizeButton have no effect on this problem.

About

Non-resizable DialogWindow can be resized using the context menu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages