mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 07:05:54 +03:00
[GH-ISSUE #1263] [Bug] Can no longer use user interaction as trigger in newer version #930
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#930
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MichaelWoodc on GitHub (Dec 12, 2023).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1263
Originally assigned to: @NickeManarin on GitHub.
Describe the bug
I was able to capture all user interaction inside a VM previously. I had to redo my PC, and it doesn't work anymore. I want to make instructionals but can't because it doesn't capture on every mouse click. Microsoft problem recorder has no problem, but I don't understand what changed in screentogif for this problem to happen.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would love for it to capture the events as it did previously
Screenshots
If applicable, add screenshots to help explain your problem. (Please notice how clicks inside the VM don't do anything, but if I click on the taskbar it does)
https://github.com/NickeManarin/ScreenToGif/assets/51295010/0766c572-411e-43db-852a-4192b3179e6c
Desktop (please complete the following information):
Additional context
It worked only days ago, not sure what happened :(
@MichaelWoodc commented on GitHub (Dec 12, 2023):
In multiple acts of hopeless desperation, as I had to complete everything quickly, I enabled developer mode. This seems to have made it work for my use case.
Can anybody confirm this is the only required change to capture user events inside vms and protected windows? If not I'll go over everything I tried
@MichaelWoodc commented on GitHub (Dec 12, 2023):
Ok I just updated to vmware 17.5 and I now have the same issue. One thing I had done on my previous VM was I enabled hyperv after having vmware installed. When I updatd, I was greeted with tthe following screen:

I think that this feature is what disables it from being able to detect the clicks. Not sure though.
@NickeManarin commented on GitHub (Dec 12, 2023):
Hello Michael!
ScreenToGif needs the OS to report the clicks or else nothing can be done.
If the clicks are not being registered (or are being done in a admin-run window, I simply won’t receive them).
@MichaelWoodc commented on GitHub (Dec 13, 2023):
Thanks for the response! I am not sure what I did, but somehow, I got it to work again. I had to downgrade vmware, and I did so many things but it wasn't working. After restarting my PC it worked fine.
So it's obvious to me it's not a bug at this point. I love the program! If only I knew enough about this kindof programming to contrubute and make it seamless for these very rare use cases lol. Thank you!!
@MichaelWoodc commented on GitHub (Jan 6, 2024):
I think the trick is to actually run screenToGif as admin, AND for some reason the other app had to be run as an administrator, then it could capture mouse clicks. Hope this helps anyone trying to grab user events from inside a "protected" app! (You won't be able to capture keystrokes though a VM, clicks only, there's lots of VM isolation going on)
https://github.com/NickeManarin/ScreenToGif/assets/51295010/fa846f11-506d-4a91-9c8d-5920cdb11c6d