-
Notifications
You must be signed in to change notification settings - Fork 53
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
selection tool leaves rectangle trails #74
Comments
Similar to what was reported here, though the issue is more dramatic for me. Oh, bleh -- this is because scrot draws directly to the x buffers and the system is drawing to them at the same time? Lame. Using --freeze fixes the problem. But it shouldn't be happening anyway by default. Probably --select should not draw on a "live" display buffer at all. Similar / related to dreamer/scrot#2, probably. |
Hi Related #36 |
Thanks, @daltomi . I just stumbled across that in the code. Not sure why I didn't see when I scanned closed issues earlier. I find |
Does it only happen when you drag and drop very fast or always? |
Always, even if I click without moving the cursor at all, then move it several seconds later to create a non-zero sized rectangle. In this case the dropped rectangle is small (1/4 size of a letter on my screen). If I click and drag quickly the rectangle is larger. |
|
I just installed Mate and I was able to observe the fault indicating. |
Thanks for looking into this. I was planning to explore it some myself, but I don't know how much time I'll have to play with scrot in the end. |
I do think the original problem (fixed by freeze) should be properly fixed so freeze is no longer necessary. A happy medium might be too make freeze the default mode. |
People have had limited success with the '--freeze' option of scrot, see resurrecting-open-source-projects/scrot#74 But we also run unclutter which hides the mouse cursor and '--freeze' keeps it hidden. Kinda hard to do selections with an invisible cursor, so added a fugly hack to artifically move the mouse right before the scrot invokation.
Somehow when I tried to take screen shots with the select option, a lot of times I ended up with black rectangles in the screenshot the `-f` options prevents this. See resurrecting-open-source-projects/scrot#74 for details.
First time using scrot. I built it from master and tried it for the first time. I used the --select option.
Mouse changed to crosshair cursor. I clicked and dragged to define a region to capture. As I did, the bounding box left behind trails where it did not erase cleanly. These were captured in the screenshot that was saved, as well.
I tried building earlier versions (back to 0.9) and the bug exists in every version tried. It also exists in the distro version (1.2) installed with apt.
Linux Mint 20.1 MATE (Gnome2) w/ marco compositor, 4k monitors
I've seen this exact sort of bug before. It's usually caused by "erasing" a rectangle at a different size than was originally drawn.
Seems weird if I'm the only one seeing it, so I suspect some unusual graphics config is interacting poorly.
The text was updated successfully, but these errors were encountered: