ollm / OpenComic

Comic and Manga reader, written with Node.js and using Electron
GNU General Public License v3.0
942 stars 80 forks source link

[Bug]: Save image not saving the correct page in manga mode #285

Open I2ujbNGakP8KfLKbho0Z opened 2 weeks ago

I2ujbNGakP8KfLKbho0Z commented 2 weeks ago

Preflight Checklist

OpenComic Version

1.3.1

Operating System

Windows 10 Pro 22H2 19045.5011

Installed via

.exe

Steps to reproduce

  1. Open a file with multiple pages in OpenComic
  2. Enable "Reading manga (Inverted)" setting
  3. Right click the page that you are on
  4. Select "Save image" and save the page

Expected Behavior

OpenComic should save the current page you are looking at.

Actual Behavior

Let's say you are currently reading a file that has 10 pages and you are currently on page 2. If you now select "Save image" page 9 will be saved. If you are on page 3 and do the same, page 8 will be saved etc.

Error message

No response

Additional Information

No response

Sample file

No response

ollm commented 1 week ago

Thanks for reporting!

I fixed in b14a26eacdc77d37cdeb578fc203438058c7c5e2, you can try the following master build with the fix.

Build: https://mega.nz/file/bXRFFQYb#M6MEKO-EY0W5BebAAeTFH4lsgFwBbcRoW4WlJ6sK1I8