olive-groves / butterfly_viewer

Side-by-side image viewer with synchronized zoom and sliding overlays. Drag and drop to instantly compare multiple images on your desktop. Very open source.
https://olive-groves.github.io/butterfly_viewer/
Other
22 stars 3 forks source link

[Bug] Screenshot button calls synchronized pan before saving #28

Closed larsmaxfield closed 5 months ago

larsmaxfield commented 8 months ago

Culprit appears to be line 552 in butterfly_viewer.py:

self.save_view_pushbutton.clicked.connect(self.refreshPan)

It looks like a simple copy-paste goof from the buttons instantiated before it. Should be tested nevertheless to prove it wasn't a fix to some unwanted behavior in the screenshot function.

Temporary solution is to use Ctrl+C to make a screenshot and copy to the clipboard, pasting into MS Paint, and then saving it.

larsmaxfield commented 8 months ago

Reopened because the Windows and MacOS versions have not yet been updated with the fix in main.