-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Fancyzones locks up every morning #2070
Comments
@enricogior could the elevated detect code maybe do this? |
@crutkas that code is pretty simple. We need more detailed steps. @bigjohn99999
Application windows are not supposed to move if you put the PC to sleep and then wake it up. |
Do you put your PC to sleep, right? No my PC does not sleep.
go to move any window that is not where it was when I locked my PC
Application windows are not supposed to move if you put the PC to sleep and then wake it up.
Which windows are moving? new MS edge browser Does it happen even if PowerToys is not running? no
When you snap the windows again, does it lock right away as soon as you start dragging the first window? No that’s when it freezes and Zone highlight color does change and the Zone inactive color is there and I can’t click on anything while it is frozen.
|
OK, so to make sure I have the full picture:
correct?
|
It seems like only in he morning when it has been locked over night , it works fine all day long usually, but again I did not see this when on 15
|
maybe sleep? hybrid? |
@bigjohn99999 Beside PowerToys, do you have other utilities running? Next time can you take a screenshot of the desktop before locking the PC and the next date take another screenshot right after unlocking the PR and before using FZ? |
[cid:image001.png@01D6116B.50E70AA0]
[cid:image002.png@01D6116B.50E70AA0]
…_________________________________________
John Spencer
Manager of IT Services
Natural Networks, Inc.
10225 Barnes Canyon Rd. Suite A105
San Diego, CA 92121
john@naturalnetworks.com<mailto:john@naturalnetworks.com>
http://www.naturalnetworks.com<http://www.naturalnetworks.com/>
(619) 222-3232, ext. 111 office
(858) 202-0301 fax
[TorchAwards_Winner_Logo_White175x113]
From: Enrico Giordani <notifications@github.com>
Sent: Saturday, April 11, 2020 12:03 AM
To: microsoft/PowerToys <PowerToys@noreply.github.com>
Cc: John Spencer <John@naturalnetworks.com>; Mention <mention@noreply.github.com>
Subject: Re: [microsoft/PowerToys] Fancyzones loks up every morning (#2070)
@bigjohn99999<https://github.com/bigjohn99999>
I tried to reproduce the problem letting two PCs run overnight without success.
Can you upload a screenshot of the FancyZones settings? I'm interested in these values:
[image]<https://user-images.githubusercontent.com/3206696/79037562-974d5e00-7bd2-11ea-9941-62d843ed7643.png>
Beside PowerToys, do you have other utilities running?
Do you have one or multiple monitors?
Are you using Virtual Desktops?
Next time can you take a screenshot of the desktop before locking the PC and the next date take another screenshot right after unlocking the PR and before using FZ?
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#2070 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APEFR7RY2WNPKRDRPVAIDMLRMAIZHANCNFSM4MFPWEQA>.
|
@bigjohn99999 |
I will guarantee that the problem is DisplayPort. When a DP device goes to sleep, it appears to Windows as if the device were physically removed. This causes Windows to rebuild the desktop (window positions, are all restored to the default 'virtual display device' that exists when no real device is connected) when Windows awakens and the devices reappear as new. |
Hi @dacowan |
Yes, or at least something very similar. |
@dacowan |
Gimme a second and I'll try it. |
@enricogior - Yes, confirmed. You can hear Windows doing the device disconnect/reconnect noise and when I move a window around with SHIFT held down, it takes maybe 2 seconds to show the zone helpers on screen, and they're duplicated (as described above) on the primary display. I also just noticed - the zones defined for the Virtual Desktop 1 and displayed on top of the zones for Virtual Desktop 2 After the sleep event, I switch to VD2 and move a window -- the 4 zones from VD1 appear overlaid over the VD2 zones. It's all very odd. This is on 0.18.2 now |
@dacowan |
It's a corporate PC, but we're not as restricted as far as I'm aware, compared to other teams (I'm in the games studios group, so we run a lot of unsigned stuff). I can certainly give it a go if you want |
@dacowan |
Just wanted to confirm that this is still an issue with v0.19.0. Anything that causes the displays to disconnect/reconnect followed by an attempt to zone a window puts PowerToys into a semi-hung state. Sometimes I can kill the process, but other times it gets hung so hard that I can't even use a mouse or CNTRL-ALT-DEL and I have to resort to a hard power off. Because of how Windows handles thunderbolt/display port on wake, this means PowerToys is hosed every single time my PC wakes from sleep. Plus my open windows always end up being pushed to the primary display rather than staying where they were prior to sleep. I can also confirm that the actual process of sleeping doesn't seem to be the issue - I suspect it's the display connect/reconfiguration process. Both of my monitors have a switch built into them to allow PIP, PBP, and source input swapping. If I switch modes, it disconnects/reconnects the displays and I get the same hung-state issues. The workaround I've been using is to shut down and restart PowerToys first-thing after a wake. My PC sleeps after 10 minutes, so this is getting old, but FancyZones is the primary reason I use PowerToys and so I stick with it. |
I have not tried the new version I went back to 15 because fancy zones works perfect and it is the only feature that I use anyway.
[cid:image001.png@01D3F2A9.C8658E90]
…_________________________________________
John Spencer
Manager of IT Services
Natural Networks, Inc.
10225 Barnes Canyon Rd. Suite A105
San Diego, CA 92121
john@naturalnetworks.com<mailto:john@naturalnetworks.com>
http://www.naturalnetworks.com<http://www.naturalnetworks.com/>
(619) 222-3232, ext. 111 office
(858) 202-0301 fax
[TorchAwards_Winner_Logo_White175x113]
From: Eric Hoffman <notifications@github.com>
Sent: Wednesday, July 1, 2020 9:05 AM
To: microsoft/PowerToys <PowerToys@noreply.github.com>
Cc: John Spencer <john@naturalnetworks.com>; Mention <mention@noreply.github.com>
Subject: Re: [microsoft/PowerToys] Fancyzones locks up every morning (#2070)
Just wanted to confirm that this is still an issue with v0.19.0.
I have a dual monitor setup on an Intel 10th gen NUC. Primary display is a Samsung CJ89 connected via thunderbolt port and secondary display is a Dell U2412M connected via HDMI.
Anything that causes the displays to disconnect/reconnect followed by an attempt to zone a window puts PowerToys into a semi-hung state. Sometimes I can kill the process, but other times it gets hung so hard that I can't even use a mouse or CNTRL-ALT-DEL and I have to resort to a hard power off.
Because of how Windows handles thunderbolt/display port on wake, this means PowerToys is hosed every single time my PC wakes from sleep. Plus my open windows always end up being pushed to the primary display rather than staying where they were prior to sleep.
I can also confirm that the actual process of sleeping doesn't seem to be the issue - I suspect it's the display connect/reconfiguration process. Both of my monitors have a switch built into them to allow PIP, PBP, and source input swapping. If I switch modes, it disconnects/reconnects the displays and I get the same hung-state issues.
The workaround I've been using is to shut down and restart PowerToys first-thing after a wake. My PC sleeps after 10 minutes, so this is getting old, but FancyZones is the primary reason I use PowerToys and so I stick with it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#2070 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/APEFR7SN2WZJRC4ADFJ4FD3RZNNCLANCNFSM4MFPWEQA>.
|
@bigjohn99999 I think this is the same/related issue as #2377. I see that one has been slotted for v0.20, so hopefully it will be addressed soon. In the mean time, I may try v15 and see how it works, since I pretty much only use FancyZones. I've tried some of the others out of curiosity, but don't use them much IRL. |
@Blueric - while that issue #2377 is certainly ONE aspect of the sleep issue -- I am in total agreement with you that this is absolutely down to the way in which Windows handles displayport/thunderbolt device disconnection (i.e. DP/TB signals a device disconnection when the monitor goes into power saving mode or is physically turned off with the power switch). Windows removes the display device, and resizes the desktop to a default "virtual" one. This is a very well known issue, and has been prevalent since the advent of DisplayPort. A quick Google shows a number of threads on both NVidia and AMD forums with discussions and workarounds:
One fix that I'm currently sporting is to use "NVidia Surround" mode -- i.e. span both monitors as a single display device (7680x2160) (i,e 2 x 4K displays side by side). This appears to prevent the desktop from resizing, and since enabling it - I haven't seen any issues with either device disconnections or FancyZones hangs/overlapping zones. The downside is that it's one big display - so hitting "fullscreen" on apps like Youtube, etc - maximizes across both monitors, which sucks when you're trying to watch video. |
@dacowan One big display is no good for me (even if I did have NVidia graphics). In addition to the issues you described, I do software dev on an app that makes use of full screen mode all the time. I put the app on my secondary display so it can be fullscreen while I have my dev environment in multiple zones on the primary display. |
Fair enough -- I have the opposite problem. I use Visual Studio, so the advantage for me during development is that I can finally maximize VS to a single, multi-display zone and have lots of code windows open. |
@dacowan I agree RE the VS tool window issue. I frequently have multiple instances of VS open, SSMS, virtual machines, and a bunch of other stuff. I've been playing with using VS window configurations that span my primary 43" monitor vs. using zones with specific code windows pulled out - it's 32:10 and the equivalent of 2 1920x1200 monitors side-by-side. I'd love to be able to put the test runner, output window, source tree, git tree, etc into zones. What works best seems to be dependent on what I'm doing at the moment. I also have a second pc connected to the Samsung via HDMI and sometimes use the PBP feature to reconfigure the display into what functions as two separate monitors. The TB port reconfigures from 3840x1200 to 1920x1200 and then the other half of the monitor becomes available on a second input (HDMI) as another 1920x1200 display. The USB ports for mouse and keyboard are also switched by the monitor, which lets me select which computer I'm controlling, effectively, on a 3-monitor setup. It's this PBP reconfiguration that also breaks PowerToys, just like when waking from sleep. |
@bigjohn99999 @Blueric |
It appears to be working. I only installed 0.23 yesterday, but for the most part - it appears to be working across multiple discrete displays (docking areas spread across displays too), supporting Microsoft Virtual Desktop and not losing window positions when switching off Display Port monitors or sleeping. By Jove, I think they've got it! |
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. |
every morning since I upgraded to v0.16.0 and even on v0.16.1, when I unlock my PC and then go to move any window that is not where it was when I locked my PC the fancyzone grid shows then freezes the screen with gris overlay on top of everything for about 60 seconds or more and I can't do any thing
The text was updated successfully, but these errors were encountered: