greenshot / greenshot

Greenshot for Windows - Report bugs & features go here: https://greenshot.atlassian.net or look for information on:
https://getgreenshot.org
GNU General Public License v3.0
3.98k stars 572 forks source link

Greenshot does not always capture the selected image (clipboard is emptly) on Windows 10/64 bit #172

Open bmotoc opened 4 years ago

bmotoc commented 4 years ago

This GitHub repository is for developers, if you want to report a bug for Greenshot as a user please do so in our JIRA issue system here: https://greenshot.atlassian.net/projects/BUGS/issues/filter=allopenissues

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

bmotoc commented 4 years ago

With powerpoint and word open, greenshot does not always copy the image to clipboard (windows 10/64 bit). If I repeat the capture, I end getting the copy after 3 -4 attempts, with the difference between fail and success being the delay in getting the audio confirmation (immediate audio confirmation marks success, delayed audio confirmation marks failure to copy).

savchenko commented 4 years ago

Can't reproduce here. Have you tried the latest "unstable" version?

Lakritzator commented 4 years ago

What you describe is that Greenshot somehow doesn't get access to the clipboard, it will retry a couple of times and this is causing the delay. The reason for this is still unclear, it's one of those silly "work for me" issues.

What I do know, that in general it has to do with other clipboard viewers being active. I've been working on a clipboard tool, learning much about it, for this I wrote quite a lot of clipboard code which should be used in Greenshot 2.x.

Please do try one of the latest releases, as we upgraded from .NET 2.0/3.5 to a .NET 4.7.2 which might fix quite a lot of weird issues.

bmotoc commented 4 years ago

Thank you :) Windows is a jungle B

On Tue, Apr 14, 2020, 06:03 Robin Krom notifications@github.com wrote:

What you describe is that Greenshot somehow doesn't get access to the clipboard, it will retry a couple of times and this is causing the delay. The reason for this is still unclear, it's one of those silly "work for me" issues.

What I do know, that in general it has to do with other clipboard viewers being active. I've been working on a clipboard tool, learning much about it, for this I wrote quite a lot of clipboard code which should be used in Greenshot 2.x.

Please do try one of the latest releases, as we upgraded from .NET 2.0/3.5 to a .NET 4.7.2 which might fix quite a lot of weird issues.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/greenshot/greenshot/issues/172#issuecomment-613402166, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALA7QBNZRFQCUBYCV6UASOLRMRGI5ANCNFSM4LCNEU5A .

Lakritzator commented 4 years ago

@bmotoc did you try one of our unstable versions?

paulogeneses commented 4 years ago

Hey, guys.

I had that same problem with stable version.Tried the latest unstable version and my problem was solved! :)

MitchTalmadge commented 2 years ago

This still happens for me; if the clipboard option takes a while, then even though it says it is copied to the clipboard, it will not actually be there. Sometimes it is instant and it works fine. I am on the latest unstable version 1.3.219, on Windows 11.

I also have Enpass installed which is the only other app I can think of which might monitor the clipboard.

FdelS commented 2 years ago

Hi, @bmotoc, @Lakritzator This is happening to me in different laptops, and always with the latest version. What I observed is that always I have any Microsoft Office app opened and being used recently (as Word, Excel, etc..) quite often the clipboard does not work, I continue attempting to copy it and suddenly it copies it (at 3 or 4 or 5 or 7... attempts).

It does not happen with other apps as the "snipping tool" from windows or other clipboard apps, only with greenshot.

It's clear to me that greenshot clipboard conflicts with Office clipboard dedicated tool.

Hope it can help you to resolve the issue.

Lakritzator commented 2 years ago

As we have reports of multiple clipboard issues, I had another look at it. First I just want to point out: to our knowledge Greenshot sticks to the described documentation & standards when implementing the clipboard.

But as we found many information and misinformation on the topic, I thought why not give it a go an replace our current formats with something which seems to be more successful in other applications.

The most recent change was made yesterday, and I would love to know if this happens to solve your issue. This change is in 1.3.235, which can be found here: https://github.com/greenshot/greenshot/releases

I do not know if this solves the problems, I do not have them myself. But there are reasons for me to try this, so if possible, please play around with it and report back.