PowerToys
PowerToys copied to clipboard
VisualStudio 2022 dialog-windows are taking same size as parent window.
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
Can you share what Fancyzones settings you have set? Specifically here:
Or attach a bug report so we can look at what possible options could be causing this. /needinfo
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.
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
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.
@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.
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
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
@SeraphimaZykova Please do not close this issue! There is still a problem.
@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.
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 zoneandAllow child windows snapping.TheMove newly created windows to their last known zoneoption ensures that all allowed to snap windows are moved to their zones. TheAllow child windows snappingoption 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 snappingoption 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 :
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.
@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?
The issue I mentioned is still happening in 0.77...