resurrecting-open-source-projects / scrot

SCReenshOT - command line screen capture utility
Other
495 stars 49 forks source link

--freeze by default, when using scrot -s #373

Closed Anonim19992 closed 10 months ago

Anonim19992 commented 10 months ago

Switched to the BSPWM environment. I noticed that when you just use scrot -s, there are often streaks (shown in the screenshot). I noticed that in other applications for creating screenshots, at the moment of "cutting" the moment into the screenshot, the picture itself freezes. After reviewing man, I saw that --freeze is present and supported in scrot. Why won't this api be connected to -s? There is no difference, picom, compton, etc. are used.

2023-12-02-202358_721x517_scrot

N-R-K commented 10 months ago

It's because --freeze (at least the way it's implemented in scrot) is quite hacky and can cause problems with certain software. See the faq on this https://github.com/resurrecting-open-source-projects/scrot/blob/master/FAQ.md#why-isnt-the---freeze-option-enabled-by-default

mutageneral commented 10 months ago

Instead of using --freeze, can we fix the visual bug of the selection border?

N-R-K commented 10 months ago

Instead of using --freeze, can we fix the visual bug of the selection border?

--line mode=edge should fix the borders getting caught in the screenshot. But edge mode has other bugs when compositor is active: https://github.com/resurrecting-open-source-projects/scrot/issues/76 which is why it's not the unconditional default.