dotnet/winforms

ToolStrip position changed after minimize and restore of form

Open

#4,359 opened on Dec 11, 2020

View on GitHub
 (7 comments) (0 reactions) (0 assignees)C# (922 forks)batch import
area-Layoutarea-controls-StripControlshelp wanted

Repository metrics

Stars
 (4,100 stars)
PR merge metrics
 (Avg merge 14d 22h) (56 merged PRs in 30d)

Description

Hi,

all WinForms toolstrip's will move to the upper left corner when the form is minimized and restored.

The ToolBarBug.zip is a very simple WinForms solution to reproduce this beavior.

ToolBarBug.zip

a) Run the WinForm application with the two toolstips on the form. b) Remember the location of the two strips c) Mnimize the form to the task-bar of windows d) Re-show the form from task-bar

--> ToolStrip positions moved.

I think this is not the expected behavior of the toolstrips.

Kind regards Sylko

Contributor guide