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

Add setting for sidebar location #1371

Open
WiseFerret opened this issue Aug 3, 2024 · 4 comments
Open

Add setting for sidebar location #1371

WiseFerret opened this issue Aug 3, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@WiseFerret
Copy link

I use foliate with an RTL user interface (Hebrew). That means that the sidebar, containing the booktable of contents, is always displayed to the right of the main text. When the e-book is in English, this becomes inconvenient. I have no way of moving the side bar to the left, except starting foliate with export LANG=C (and then, of course, the interface is not translated).

The most straight forward solution is to add a user setting regarding the location of the sidebar: left or right.

An alternative solution is to detect the language of the e-book, and set the location of the sidebar accordingly. But this might be unreliable and more difficult to program.

@WiseFerret WiseFerret added the enhancement New feature or request label Aug 3, 2024
@WiseFerret WiseFerret changed the title Add setting for sisebar location Add setting for sidebar location Aug 3, 2024
@johnfactotum
Copy link
Owner

The current behavior is acceptable in my opinion.

But probably we could just make the UI follow the page progression direction. That would make sense if one sees the chrome as an extension of the book. The one problem is that when you click on the Library button, the view would appear to slide in the wrong direction.

@WiseFerret
Copy link
Author

Adjusting the UI to the page progression direction sounds ideal to me. Can't the sliding animation be adjusted as well accordingly?

@johnfactotum
Copy link
Owner

For the animation, see #1084 (comment)

@johnfactotum
Copy link
Owner

Ah, I misunderstood. You mean the animation between the book and the library view. Well, yes, I suppose that can be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants