Powertoys: Issue with Greenshot screen capture software and PowerToys

Created on 18 Jun 2020  路  14Comments  路  Source: microsoft/PowerToys

Environment

Windows build number: Microsoft Windows [Version 10.0.17763.1039]
PowerToys version: 0.18.2
PowerToy module for which you are reporting the bug (if applicable):
Unsure

Steps to reproduce

Video available at https://youtu.be/tnYiMYnK3_I

When both PowerToys and Greenshot are installed, triggering Greenshot screen capture causes the entire screen to "shift" right. You can still see the original image to the left, with what appears to be a completely new screen overlayed and shifted to the right. If you mouse off to the left, it almost seems as if the mouse stops interacting with the "virtual" overlaid screen. You will also notice there is a mismatch between mouse position and Greenshot crosshairs.

Expected behavior

As per video, expect the screen to not shift. This is only possible if I exit powerToys. When I restart PowerToys the first capture works fine. Then the second capture causes the issue to resurface.

Actual behavior

The screen is shifting whenever I try to screen grab anything.

Screenshots

https://youtu.be/tnYiMYnK3_I

Area-App Compat FancyZones-App Compat Issue-Bug Product-FancyZones

All 14 comments

hi @pitbullraven, thanks for the issue and video! I downloaded Greenshot and tried to repro this and couldn't. Is this happening every time (after the first capture works)?

Yes. Every single time.

@PitbullRaven
do you use a shortcut key to start Greenshot ?
Can you try to turn OFF just FancyZones instead of quitting PowerToys and verify if the problem still occurs?

Enrico, you are correct. On both counts. I use Fn+Print Screen to trigger
the screen capture.
And when I toggle FancyZones off, it works. As soon as I turn FancyZones
on, it fails again.

Best regards
Pitbull Raven

@PitbullRaven
in the video you posted, it looks like a new copy of Word is created, I guess that is not actually what happens. As soon as you close the capturing tool, things go back to normal right?

Exactly. It seems to create a capture of the screen and superimposed it
onto the real image, then shifts right. After capture, everything is peaches.

This problem goes away for me if I disable the FancyZones feature "Move newly created windows to the current active monitor". I also noticed that this shift does not happen on my primary monitor, just if I capture with Greenshot on the secondary monitor.

@golden-spiral
thank you for the information.

If it's helpful, I had a similar issue with Greenshot recently, where it seems FZ is trying to move the capture overlay (which I assume is a "window" as far as FZ is concerned) into one of the zones. I worked around it by adding greenshot to the list of excluded apps for FZ. I'm wondering if there's some characteristic/property of this special "window" that FZ could identify and ignore by default.

Here you can see the Greenshot capture overlay (which should be positioned directly above the Notepad window) is actually moved to the monitor on the right, positioned within a defined zone on that screen.
image

@PitbullRaven @schumatt-msft @golden-spiral
can you try adding Greenshot to the excluded app list in the FancyZones Settings?
You need to add the name of the Greenshot executable as it appears in the Task Manager Details tab.
Thanks.

@enricogior - Yes, adding greenshot to the excluded app list does resolve this.

@schumatt-msft
thanks!
Info added to the wiki https://github.com/microsoft/PowerToys/wiki/Application-Compatibility

I can't confirm or deny as after I had the issue I installed a newer version of Greenshot and the problem went away, so I have been using without issue for a while now.

@PitbullRaven
thanks for the info. Closing the issue.

Was this page helpful?
0 / 5 - 0 ratings