trufanov-nok / scantailor-universal

ScanTailor Universal - a fork based on Enhanced+Featured+Master versions of ST
http://scantailor.org
Other
181 stars 16 forks source link

Bug with non zero predefined borders #115

Open maximka1812 opened 1 year ago

maximka1812 commented 1 year ago

If you set non zero default borders (in settings) ST behavior becomes erratic. It behaves similar to auto borders. But can require rerender part of pages after initial render.

But if you apple same borders to all pages it starts to work sane.

Please, check that is different.

maximka1812 commented 1 year ago

I want to push this again.

Bug happens if:

  1. In settings you have non zero predefined borders
  2. And you do all proper in page prototyping stage
  3. ST will show as all is normal, page is centered horizontally, for example
  4. But in output it'll be shifted (as in original, usually) and not centered for all pages
  5. If you do all the same, but apply default borders to all pages - it'll start working normally

Bug is in how default borders are set, something is not set up properly.

Such behavior cost quite a lot of time waste.