gabm / Satty

Satty - Modern Screenshot Annotation. A tool inspired by Swappy and Flameshot.
Mozilla Public License 2.0
385 stars 18 forks source link

Call for Testers - OpenGL Backend #55

Closed gabm closed 4 months ago

gabm commented 4 months ago

Hi everyone,

the new opengl backend has been coming for a long time! It is supposed to improve the responsiveness considerably - even when using high-resolution images. This will also solve problems with tools that require a high number of redraws - like the brush.

The changes have been proposed here: https://github.com/gabm/Satty/pull/53. We need to test them, as the change is quite fundamental.

Please build this branch locally and report any problems w.r.t. the current releases. If you need prebuilt binaries, we can certainly provide them..

Iss-in commented 4 months ago

thanks for the tool, i tried the latest opengl build on sway-git/wlroots-git

encountered weird behavior in following steps:

  1. grab a portion of screen via 'grim -g "$(slurp)" - | wl-copy --type image/png '
  2. paste it into a file , 'wl-paste > test.png'
  3. open via satty , ' satty -f test.png'

original image image

image in satty image

gabm commented 4 months ago

thanks for this report. That was a problem with stride.. I created an issue for femtovg here and implemented a workaround.

Can you test again?

Iss-in commented 4 months ago

thanks seems fine now

gabm commented 4 months ago

This has been released as 0.11.0.

ATTENTION Packagers: This release drops the dependencies cairo and pango. At the same time it introduces new dependencies for libepoxy and libGL.

/cc @TD-Sky @MrDuartePT @sodface @r-ryantm

TD-Sky commented 4 months ago

satty-bin 0.11.0 has been released in AUR.

I'm confused why ldd still finds libcairo and libpango which should be dropped linked by satty.