PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

FancyZones does no work correctly with Remote Desktop Connection Windows

Open Scimitar21 opened this issue 5 years ago • 25 comments

ℹ Computer information

  • PowerToys version: 0.29.3-x64
  • PowerToy Utility: Fancy Zones
  • Running PowerToys as Admin: Yes
  • Windows build number: [run "winver"] 10.0.19041 Build 19041

📝 Provide detailed reproduction steps (if any)

If you have a virtual desktop opened via Remote Desktop Connection (old preinstalled version not the app from the Microsoft Store) and put it in a fancyzone it stays there. But if you then go on fullscreen in this window and then you minimize it again, it is not minimized correctly into the assigned fancy zone but is larger and outside the zone. If you then go back to fullscreen in this windows and minimize again the window changes its shape completely (almost fullscreen). In previous versions of Fancy Zones you could do this without any problems. This was very useful to have local and remote desktop side by side on one screen.

This error only happens with Remote Desktop Connection-windows, with all other windows / programs it works perfectly fine.

I installed older versions of Powertoys but problem stayed with me. Happened first around November and I always hoped the next update of PowerToys would fix it.

Could not find anybody else having this problem, so i am sorry if you already know about this.

Thanks!

✔️ Expected result

_Window of Remote Desktop Connection that is assigned to a fancyzone stays in the zone after being maximized and then minimized again.

❌ Actual result

_Window jumps out of assigned FancyZone

📷 Screenshots

Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

Scimitar21 avatar Jan 11 '21 14:01 Scimitar21

@Scimitar21 which PowerToys version was working?

enricogior avatar Feb 06 '21 07:02 enricogior

As mentioned above: I installed various older versions of Powertoys but problem stayed with me. Happened first around November. But i now figured that in Windows something must have generally changed in an update around November regarding the window adjustment of the RDP-window, as the RDP-window shows this strange behaviour also when i do not use powertoys. Thus, I don't know if it is fixable by Fancy Zones or if this is more a Windows 10 issue.

Scimitar21 avatar Feb 07 '21 19:02 Scimitar21

I have a similar issue. I RDP to a desktop running FancyZones from my laptop using mRemoteNG as a max-sized window (not fullscreen). Whenever my systems auto-lock due to inactivity, after I log in again all my windows are rearranged and are no longer tied to the fancyzones.

This even occurs if I simply resize my mRemoteNG window (often accidentally) and return it back to the original size. Each time this happens RDP goes through a "reconnect" process to resize the desktop and all my windows are thrown out of whack. Would be great if something could be done about this to lock windows to a specific zone at specific resolutions.

mcdonamw avatar May 24 '21 21:05 mcdonamw

As mentioned above: I installed various older versions of Powertoys but problem stayed with me. Happened first around November. But i now figured that in Windows something must have generally changed in an update around November regarding the window adjustment of the RDP-window, as the RDP-window shows this strange behaviour also when i do not use powertoys. Thus, I don't know if it is fixable by Fancy Zones or if this is more a Windows 10 issue.

I actually installed PowerToys specifically for fancy zones to wrangle RDP sessions that were randomly resizing themselves after maximizing and restoring. Turns out they cannot be contained.

Just a hunch that this is related to this issue: [EDIT 10/05/2021: This link no longer works as they have apparently deleted their user voice forum. I'll leave it here as reference in case they restore the data to some new platform (maybe windows integrated feedback)] https://remotedesktop.uservoice.com/forums/266795-remote-desktop-services/suggestions/41740267-rdp-window-growing-toggling-between-fullscreen-an

If that is the case it would be nice to get some more support behind that fix request. I literally drag multiple RDP sessions back into their zone 10+ times a day to keep them organized.

DHobart avatar Jun 04 '21 04:06 DHobart

Could be possibly solved by https://github.com/microsoft/PowerToys/pull/11776

yuyoyuppe avatar Jun 16 '21 14:06 yuyoyuppe

Same issue here. I have PowerToys both on, my home workstation and my remote work desktop. Using RDP in full screen mode. Fancy zones on the remote desktop work perfectly until the connection goes down. Whenever I need to initiate a new connection, all the windows are all over the place and need to be assigned to their zones. It's not a huge issue, but somewhat time consuming. As I have multiple windows open on the remote desktop and Ultra Wide screen.

JayValkyr avatar Jun 30 '21 11:06 JayValkyr

@Scimitar21, @JayValkyr, @mcdonamw Cloud you check if this is still an issue on the latest version (v0.47) of PowerToys? This cloud be resolved by #11776.

franky920920 avatar Oct 05 '21 10:10 franky920920

@Scimitar21, @JayValkyr, @mcdonamw Cloud you check if this is still an issue on the latest version (v0.47) of PowerToys? This cloud be resolved by #11776.

I just tested with the latest version (v0.47.0) and the windows still seem to pop out of their zones and gradually increase in size as you subsequently maximize and restore down.

DHobart avatar Oct 05 '21 17:10 DHobart

@Scimitar21, @JayValkyr, @mcdonamw Cloud you check if this is still an issue on the latest version (v0.47) of PowerToys? This cloud be resolved by #11776.

I think it was better in v0,45. The windows were aligning back to their "previous" zones when reconnecting with RDP. But since v0.47 it seems the grid layout is always defaulted to Priority Grid. The windows do align to that, but you need to switch the layout every single time (edit: seems to be #13664).

JayValkyr avatar Oct 07 '21 07:10 JayValkyr

@JayValkyr Yes, that is a known issue now. Tracking in #13625

franky920920 avatar Oct 07 '21 09:10 franky920920

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

ghost avatar Oct 12 '21 14:10 ghost

https://github.com/microsoft/PowerToys/issues/13625#issuecomment-942988941

@JayValkyr , The RDP full screen issue isn't yet resolved for me even with the latest version. While maximizing an RDP window it still goes outside its zone and takes the whole screen.

Ayanmullick avatar Oct 14 '21 10:10 Ayanmullick

#13625 (comment)

@JayValkyr , The RDP full screen issue isn't yet resolved for me even with the latest version. While maximizing an RDP window it still goes outside its zone and takes the whole screen.

That's a different issue. I have the same if running RDP inside a zone. But this particular issue, which was fixed in .1 was related to zones (layout) reverting back to Priority Grid when reconnecting to a workstation running PowerToys.

JayValkyr avatar Oct 14 '21 11:10 JayValkyr

#13625 (comment)

@JayValkyr , The RDP full screen issue isn't yet resolved for me even with the latest version. While maximizing an RDP window it still goes outside its zone and takes the whole screen.

That's a different issue. I have the same if running RDP inside a zone. But this particular issue, which was fixed in .1 was related to zones (layout) reverting back to Priority Grid when reconnecting to a workstation running PowerToys.

Ok, so this issue isn't fixed yet right?

image

Ayanmullick avatar Oct 14 '21 12:10 Ayanmullick

#13625 (comment)

@JayValkyr , The RDP full screen issue isn't yet resolved for me even with the latest version. While maximizing an RDP window it still goes outside its zone and takes the whole screen.

That's a different issue. I have the same if running RDP inside a zone. But this particular issue, which was fixed in .1 was related to zones (layout) reverting back to Priority Grid when reconnecting to a workstation running PowerToys.

Ok, so this issue isn't fixed yet right?

image

Yeah, seems i'm mixing it up. But yes, that issue isn't fixed.

JayValkyr avatar Oct 14 '21 15:10 JayValkyr

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

ghost avatar Nov 03 '21 02:11 ghost

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

@JayValkyr, is the bot configured to close this without resolution?

Ayanmullick avatar Nov 03 '21 03:11 Ayanmullick

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.

ghost avatar Nov 08 '21 08:11 ghost

This is still a problem. Adding a comment so that hopefully it gets some attention

bclrk avatar Mar 22 '22 20:03 bclrk

Pretty annoying to see this, just got a DQHD display, so i need to split the panel. Found the nice powertoys and need to see that RDP app are not working with FancyZones. 😕

viceice avatar Mar 29 '22 12:03 viceice