Skip to content
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

foliate is not able to turn to next page if reading an epub that is set up with right-to-left page turn direction (like manga) #921

Closed
madsl opened this issue Jul 25, 2022 · 2 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists epub.js Related to Epub.js

Comments

@madsl
Copy link

madsl commented Jul 25, 2022

If you try to read an epub that is set up for right-to-left page turning direction (so you should press the left button for next page), it does not work at all. The only way to turn to a page, is selecting the page through the slider.

This is the output when pressing the left page key (The left key correctly says Next page):
decodeURI("..."),
...
Gjs-Message: 20:51:13.382: JS LOG: cover
Gjs-Message: 20:51:13.390: JS LOG: book-ready
Gjs-Message: 20:51:13.390: JS LOG: run_javascript: JSON.stringify(book.package.metadata)
Gjs-Message: 20:51:13.390: JS LOG: run_javascript: JSON.stringify(book.navigation.toc)
Gjs-Message: 20:51:13.391: JS LOG: failed to get file info
Gjs-Message: 20:51:13.392: JS LOG: saving file uri
Gjs-Message: 20:51:13.393: JS LOG: run_javascript: loadLocations(null)
Gjs-Message: 20:51:13.393: JS LOG: run_javascript: render()
Gjs-Message: 20:51:13.456: JS LOG: rendition-ready
Gjs-Message: 20:51:13.457: JS LOG: run_javascript: setStyle({"fontFamily":"Serif","fontSize":16,"fontWeight":400,"fontStyle":"normal","fontStretch":"normal","spacing":1.5,"margin":40,"maxWidth":1400,"usePublisherFont":false,"justify":true,"hyphenate":...
Gjs-Message: 20:51:13.457: JS LOG: run_javascript: setupRendition()
Gjs-Message: 20:51:13.457: JS LOG: run_javascript: display('epubcfi(/6/8!/4/1:0)')
Gjs-Message: 20:51:13.491: JS LOG: layout
Gjs-Message: 20:51:13.502: JS LOG: relocated
Gjs-Message: 20:51:13.502: JS LOG: epubcfi(/6/2!/4/1:0)
Gjs-Message: 20:51:13.552: JS LOG: book-displayed
Gjs-Message: 20:51:13.593: JS LOG: relocated
Gjs-Message: 20:51:13.593: JS LOG: epubcfi(/6/8!/4/1:0)
Gjs-Message: 20:51:14.394: JS LOG: writing to /home/mads/.local/share/com.github.johnfactotum.Foliate/library/uri-store.json
Gjs-Message: 20:51:14.594: JS LOG: writing to /home/mads/.local/share/com.github.johnfactotum.Foliate/urn%3Auuid%3A7a2b9c01-e15f-4807-8137-54fd8080e88c.json
Gjs-Message: 20:51:14.596: JS LOG: book list: updating urn:uuid:7a2b9c01-e15f-4807-8137-54fd8080e88c
Gjs-Message: 20:51:14.596: JS LOG: book list: updating urn:uuid:7a2b9c01-e15f-4807-8137-54fd8080e88c
Gjs-Message: 20:51:16.174: JS LOG: run_javascript: rendition.next()
Gjs-Message: 20:51:16.187: JS LOG: relocated
Gjs-Message: 20:51:16.187: JS LOG: epubcfi(/6/8!/4/1:0)
Gjs-Message: 20:51:17.190: JS LOG: writing to /home/mads/.local/share/com.github.johnfactotum.Foliate/urn%3Auuid%3A7a2b9c01-e15f-4807-8137-54fd8080e88c.json
Gjs-Message: 20:51:17.191: JS LOG: book list: updating urn:uuid:7a2b9c01-e15f-4807-8137-54fd8080e88c
Gjs-Message: 20:51:17.192: JS LOG: book list: updating urn:uuid:7a2b9c01-e15f-4807-8137-54fd8080e88c

@johnfactotum
Copy link
Owner

I think this is futurepress/epub.js#1069.

@johnfactotum johnfactotum added bug Something isn't working epub.js Related to Epub.js labels Jul 31, 2022
@johnfactotum
Copy link
Owner

Duplicate of #415

@johnfactotum johnfactotum marked this as a duplicate of #415 Oct 19, 2022
@johnfactotum johnfactotum closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2022
@johnfactotum johnfactotum added the duplicate This issue or pull request already exists label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists epub.js Related to Epub.js
Projects
None yet
Development

No branches or pull requests

2 participants