-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Footer/header/navbar FAQ #21
Comments
Re: height of header/footer I think there now needs to be only 2 patches (nickel.yaml)
You can enable either, neither or both of patch 1 & 2.
a) An only-fullpage-reading-will-do user, who always sets both to OFF only needs to enable patch 1. |
I think I've figured out how the different spacing patches and header/footer options interact. I'm working on an interactive demo to show what it looks like. |
@jackiew1, can you test https://pgaskin.net/kobopatch-patches/hdrftrptch.html? |
I don't recall if the spacer patch actually affects anything when the header/fotter is shown, but, otherwise, yeah, that's the idea. I do have a bit of a cropping issue with the patched full-screen setup, though: (Granted, that could theoretically happen in Nickel at one time, but I think those days are mostly gone ;p). |
I did it by eye (with an ordinary book, not the margin test one), and it seemed to have a small difference, but looking again, I think you're right. I'll fix that.
Yes, that's an issue, as I did the page body the lazy way by clipping, instead of using proper CSS columns and overflow tricks. I'll see if there's a simple way to fix it without losing compatibility or consistency too much. |
The debug option that displays the widget regions and names was mildy useful (and/or at least entertaining to watch) when we had to go digging for the spacer the first time around ;). (I think that's I think it also dumps a bunch of extra stuff to the syslog (unless that's yet another debug option ;p). |
When I was testing I noticed that after the initial reboot after patching if I opened my previous book there were sometimes weird issues with cutoff but once I paged across a chapter boundary (or opened a new book) everything sorted itself out. I've paged through both an epub and a kepub and am not seeing any cutoffs - no matter whether header or footer are ON/OFF. P.S. I don't have time for a long discussion now, it's 01:30 and I'm old. |
* Used CSS columns so lines aren't clipped. * Fixed conditions for when spacers are shown. * Added short patch/option descriptions. * Renamed based on minimum version for future-proofing.
@NiLuJe I've fixed everything (and made some other improvements). The new URL is: https://pgaskin.net/kobopatch-patches/hdrftrptch-13651.html. @jackiew1 I'm probably going to make a release now. |
* Smaller sans-serif font for header/footer. * Slightly larger line spacing to make it easier to see the difference. * Also made it easier to see which patches are enabled.
@jackiew1: Yep, the first thing shown when opening a book being a cached render vaguely rings a bell ;). @geek1011: 👍 Sidebar re: the progress bar: From the very quick glance I took at it, it shouldn't affect page layout at all (it's effectively an overlay, you can check on a cover page, you'll be able to see a few lines of the image below the bar). |
There are at least 5 different patches about this, and it's not clear (even to me) what they all do. Let's collect some notes here which can be turned into a FAQ.
cc @jackiew1
The text was updated successfully, but these errors were encountered: