Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DirkDeclercq opened this issue Oct 11, 2023 · 12 comments
Open
Labels
Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy

Comments

@DirkDeclercq
Copy link

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 DirkDeclercq added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Oct 11, 2023
@TheJoeFin
Copy link
Collaborator

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

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Oct 11, 2023
@DirkDeclercq
Copy link
Author

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

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Oct 12, 2023
@TheJoeFin
Copy link
Collaborator

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

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Oct 12, 2023
@doseonfairsutdios
Copy link

doseonfairsutdios commented Oct 16, 2023

@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 TheJoeFin added Product-FancyZones Refers to the FancyZones PowerToy and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Oct 16, 2023
@doseonfairsutdios
Copy link

@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.

@SeraphimaZykova
Copy link
Collaborator

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

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Dec 4, 2023
@doseonfairsutdios
Copy link

doseonfairsutdios commented Dec 4, 2023

@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.

_2023_12_04_23_14_45_904.mp4

@microsoft-github-policy-service microsoft-github-policy-service bot added the Status-No recent activity no activity in the past 5 days when follow up's are needed label Dec 9, 2023
@doseonfairsutdios
Copy link

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

@microsoft-github-policy-service microsoft-github-policy-service bot removed the Status-No recent activity no activity in the past 5 days when follow up's are needed label Dec 9, 2023
@SeraphimaZykova SeraphimaZykova removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Dec 11, 2023
@doseonfairsutdios
Copy link

@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.

@DirkDeclercq
Copy link
Author

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.

@doseonfairsutdios
Copy link

doseonfairsutdios commented Jan 8, 2024

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Product-FancyZones Refers to the FancyZones PowerToy
Projects
Status: No status
Development

No branches or pull requests

4 participants