microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.52k stars 6.56k forks source link

[FancyZones] Loosing transparency after monitor sleep mode. #3613

Closed tryptichon closed 4 years ago

tryptichon commented 4 years ago

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.836]
PowerToys version: Release v0.18.1
PowerToy module for which you are reporting the bug (if applicable): FancyZones
GeForce 1070 with driver Nvidia 445.87 (German)

Steps to reproduce

Setup FancyZones (I have a multi-monitor-setup with three monitors of different resolutions each). Leave your PC and wait for your Screens to go into sleep mode. Reactivate the system.

Expected behavior

The drop zones remain transparent and you can see the background through them when moving windows with pressed [Shift].

Actual behavior

The tiles representing the zones where you can drop windows into loose their transparency. In rare cases even the whole background is set to black.

Screenshots

Example Video 2020-05-23 18-08-20.zip

enricogior commented 4 years ago

Hi @tryptichon only the screens go into sleep mode or also the PC? Does it happen all the times? The problem is effecting all the monitors? How are the monitors connected (HDMI, DisplayPort, etc.)? If you exit and restart PowerToys the problem is still present? Thank you.

tryptichon commented 4 years ago

Hi @enricogior I tried to recreate this error but it does not want to appear now. I tried using [Windows]-L to lock the screen and re-login after the monitors went to sleep. It does also not happen when I just wait until my monitors go to sleep without my PC going into sleep mode too. Even sending my PC to sleep via the start menu option does not seem to trigger the error all the time. It's really elusive.

When it happens though, the problem affects all monitors.

My PC is a Ryzen 3600 on an ASUS Prime X470 Pro with 16 GB RAM and an NVidia GTX 1070 from EVGA.

My monitor setup is:

Restarting PowerToys seems to resolve all issues.

I'm afraid this is a problem that might occur only with my special combination of hard- and software. Since the PowerToys still work and restarting them fixes the problem, don't give this issue a high priority. I will experiment a bit more and come back when I found something that helps. I assume the issue that the OS reshuffles all applications-windows to the main screen when you wake your pc is part of the problem.

At the moment the problem is just hiding, chuckling wily in its corner. (-_-)

enricogior commented 4 years ago

@tryptichon thank you for the detailed information. If you don't mind I'll close the issue for now and you can always reopen it if the problem happens again. Thank you.

tryptichon commented 4 years ago

Hi.

I think I got the issue to reappear reliably. I'm on PowerToys v0.18.2 right now, running it without Administrator Privileges.

Steps to reproduce: 1) Have multiple monitors attached with the desktop extended across them and FancyZones running. 2) Drag a Window to a Zone. The transparent boxes should be displayed as intended for now. 3) Use [Windows Key]+[P] to open the Easy Display Switcher in the Notification Bar. 4) Select "Computer only", wait until the reshuffling ends, then select "Extend" and wait until that finishes as well. 5) Drag a Window to a Zone again. This time the transparency should be almost invisible and you might even see the numbers in the zones multiple times.

The issue is, that FancyZones stacks multiple layers of these transparent zone boxes on top of each other when the screen resolutions or monitor orientations change. Als before, restarting PowerTools resolves this problem.

Kind regards, tryptichon

Screen recording: 2020-06-10 15-36-49.zip

tryptichon commented 4 years ago

@enricogior Updated the issue, but it seems that I cannot re-open it. ;)

koppor commented 4 years ago

It happened when: 1. duplicating the display 2. locking the laptop 3. unlocking the laptop 4. setting the display to "extended".

When starting dragging on the monitor, the zones appear on the monitor. Then suddenly, they disappear, the monitor gets black and two zones appear on the laptop display.

Windows 10.0.17763 Build 17763; PowerToys Version v0.18.2

koppor commented 4 years ago

@tryptichon In the comment https://github.com/microsoft/PowerToys/issues/1685#issuecomment-604945553 @DavidGretzschel recommended me to use Loom for sharing screen recordings. Maybe for an update, you could also post a loom video? (The other tool hint was Carnac Keystroke visualizer, which is not applicable in this case; but a very good tool hint I wanted to share, too)

tryptichon commented 4 years ago

@tryptichon In the comment #1685 (comment) @DavidGretzschel recommended me to use Loom for sharing screen recordings. Maybe for an update, you could also post a loom video? (The other tool hint was Carnac Keystroke visualizer, which is not applicable in this case; but a very good tool hint I wanted to share, too)

What are the improvements over the screen recordings I did before? I am using OBS which works just fine IMHO. :)

DavidGretzschel commented 4 years ago

@tryptichon In the comment #1685 (comment) @DavidGretzschel recommended me to use Loom for sharing screen recordings. Maybe for an update, you could also post a loom video? (The other tool hint was Carnac Keystroke visualizer, which is not applicable in this case; but a very good tool hint I wanted to share, too)

What are the improvements over the screen recordings I did before? I am using OBS which works just fine IMHO. :)

Dunno, if you are happy with OBS, that's great. I recommend it though for anyone not familiar with screen recording yet. The workflow is very quick. You just record and when done, it'll be immediately online. Recording = Uploading. You can just share the url and people can stream the video immediately, even on a phone. (wouldn't know what to do with the zip) On a PC it's also less effort, of course. I use Bandicam when I need to record something with >30 fps or when it's suppposed to show high res, but for bug reporting, I always use Loom. I have made hundreds of videos with it over the last six months. Also the videos will be accessible forever (as long as I stay Premium, which is free for students and I'll happily pay afterwards). I really dislike finding discussions about something interesting from years ago and all the posted uploads are broken.

Blueric commented 4 years ago

I wanted to say that this sounds like the same/related issues in #2070 and #2377 which I can confirm still happens in v0.19.0. I can reliably reproduce the problem, as outlined in the comments in that issue.

tryptichon commented 4 years ago

The issue seems to be resolved in Version v0.19.2.