PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

VisualStudio 2022 dialog-windows are taking same size as parent window.

Open DirkDeclercq opened this issue 2 years ago • 12 comments

Microsoft PowerToys version

0.74.1

Installation method

PowerToys auto-update

Running as admin

None

Area(s) with issue?

FancyZones

Steps to reproduce

When opening in VisualStudio-2022 'License status'-dialog (from out of the About-dialog) the License-window is shown as a dialog with the same size as VisualStudio itself. When I exit PowerToys, this license window is shown as a little dialog on top of Visual-Studio.

I have it sometimes also with other windows of VisualStudio, like the 'Find and Replace'-dialog, or when I'm working with a tabbed-window not docked in the Document-window.

✔️ Expected Behavior

License window should not take same size as it's parent window.

❌ Actual Behavior

No response

Other Software

No response

DirkDeclercq avatar Oct 11 '23 08:10 DirkDeclercq

Can you share what Fancyzones settings you have set? Specifically here: image

Or attach a bug report so we can look at what possible options could be causing this. /needinfo

TheJoeFin avatar Oct 11 '23 14:10 TheJoeFin

These were my settings. After unchecking 'Move newly created windows to their last known zone' the problem with the License-window went away. And I have the feeling that the problem with the 'Find and Replace'-dialog also went away.

image

DirkDeclercq avatar Oct 12 '23 10:10 DirkDeclercq

Can you verify the issue is gone for the "find and replace" and close this issue if all looks to be working well? /needinfo

TheJoeFin avatar Oct 12 '23 13:10 TheJoeFin

@TheJoeFin

I also raised an issue with the same problem, but it was closed due to the dup issue. The issue I posted is this : #29029 The dup issue is this: #18814

I think these two issues are different. (#29029, #18814) Also, #29029 issue I posted and #29145 issue here seem to be the same.

I believe that the popup window should not follow the size of the parent window even if the "Move newly created windows to the last known zone" option is enabled.

Even before version 0.74, pop-up windows did not follow the size of the parent window.

I would appreciate it if you could check the issue one more time. Thank you.

p.s. Currently, I have downgraded to version 0.73 because of this issue.

doseonfairsutdios avatar Oct 16 '23 14:10 doseonfairsutdios

@TheJoeFin Apologize for the ping. Is there any news on this issue? Even if I wanted to update a version, I can't because of this issue.

doseonfairsutdios avatar Nov 30 '23 03:11 doseonfairsutdios

Hi @DirkDeclercq and @doseonfairsutdios! When you open Visual Studio dialogs, they're automatically resized to fit the zone where Visual Studio is snapped. This behavior is controlled by two options: Move newly created windows to their last known zone and Allow child windows snapping. The Move newly created windows to their last known zone option ensures that all allowed to snap windows are moved to their zones. The Allow child windows snapping option allows you to move child windows, like dialogs, to the zones. So, if both options are enabled, this behavior is expected.

Do you use the Allow child windows snapping option for snapping child windows in other apps? /needinfo

SeraphimaZykova avatar Dec 04 '23 13:12 SeraphimaZykova

@SeraphimaZykova

Only the Move newly created windows to their last known zone option is Enabled.

In my case, like the previously posted issue #29029 , all windows in godot game engine editor are aligned with the parent window. For example, Project Settings, Editor Settings, Add Child Node, and even the windows created during game play all snap to the parent window.

It's strange because I didn't close the issue I posted before, but there was no problem until version 0.73, but it's been happening since version 0.74.

[Edit] Please refer to the video below. The power toys version is 0.75.1.

https://github.com/microsoft/PowerToys/assets/74888932/2d6a8c22-98f6-44f9-a70d-b884c6cc2f46

doseonfairsutdios avatar Dec 04 '23 14:12 doseonfairsutdios

@SeraphimaZykova Please do not close this issue! There is still a problem.

doseonfairsutdios avatar Dec 09 '23 19:12 doseonfairsutdios

@SeraphimaZykova

Sorry to mention it again, but the same thing is still happening in 0.76.2.

I would like to know if you are tracking this issue.

doseonfairsutdios avatar Jan 07 '24 10:01 doseonfairsutdios

Hi @DirkDeclercq and @doseonfairsutdios! When you open Visual Studio dialogs, they're automatically resized to fit the zone where Visual Studio is snapped. This behavior is controlled by two options: Move newly created windows to their last known zone and Allow child windows snapping. The Move newly created windows to their last known zone option ensures that all allowed to snap windows are moved to their zones. The Allow child windows snapping option allows you to move child windows, like dialogs, to the zones. So, if both options are enabled, this behavior is expected.

Do you use the Allow child windows snapping option for snapping child windows in other apps? /needinfo

Sorry for being a little bit late, but for me on version 0.76.2 it's working as expected with the following settings : image

Opening eg. 'Find and Replace'-dialog in Visual-Studio shows no snapped dialog, while I'm still able to snap eg. a Tabbed-document out of the document-well too a snapped region.

DirkDeclercq avatar Jan 08 '24 16:01 DirkDeclercq

@SeraphimaZykova

As DirkDeclercq mentioned, Visual Studio seems to have resolved the issue, but the issue has not been resolved in Godot Game Engine, as shown in the video I attached.

Of course, the Move newly created windows to their last known zone option must be activated. Typically, I want the parent program window to snap to the last known zone when I run the program again. The problem is that the child window follows the parent window.

In the version I'm using, 0.73, it works as I expected. However, the issue still occurs in versions starting from 0.74 to 0.76.2.

Should I create a new thread?

doseonfairsutdios avatar Jan 08 '24 17:01 doseonfairsutdios

The issue I mentioned is still happening in 0.77...

doseonfairsutdios avatar Jan 10 '24 13:01 doseonfairsutdios