-
Notifications
You must be signed in to change notification settings - Fork 253
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
Vertical displacement after jump with table of contents #1180
Comments
Normally we center the table of contents in the screen, there is an option to make it align to the top of the screen in the development branch, see this issue: #630. |
Thank you for the speedy reply. I just tested this with the dev branch and i think i may have miscommunicated myself. I do not want to place the heading of what i am jumping to at the top of my screen. I want to jump to the page where that header is. so i want the page to be perfectly centered like when you do "zz" on a page. The way you do in zathura if you have tried that viewer. Because i have bound J and K to next and previous page. if my page gets uncentered because of a jump then it becomes very disorienting when i do next and previous page. So if its either possible to bind J and K to go to next or previous page and center it. |
Does using something like this in the development branch help your case? (keys_user.config) :
It is possible using a similar method:
|
did not work but binding
worked great thank you! i did not know i could chain commands with the semicolon :) |
Did you try on the development branch? |
Yes, i have not tried it on the stable branch though. |
Did you restart sioyek after changing the key config? |
Yes, i have tried a bit now and i still cant get it to work. i have shut of and restarted sioyek multiple times. I am on the newest MacOS release btw if that changes anything |
What if you do something like this:
Does toggle_dark_mode work? |
Yes dark mode works and it toggles instantly. i assume the other keybind does not work since it centers me at the same time as it opens the table of contents. that is probably why it does not center me when i confirm which of the index i want to jump to. Is it possible to make a keybind as to perform the "go to top of page" command after i have selected the index i want to go to? |
That should be the case in the development branch (in the main branch there was a bug where the second commadn triggered immediately but it should be fixed in the development branch). |
Is there a way to confirm my version sioyek inside of sioyek? As to make sure i am actually on the dev branch? I have switched to the dev branch but i might have previous installations which are being run instead. |
Do you have access to some new commands in the command menu (e.g. |
No i do not. So it is i who have not properly switched over to the dev branch. This is my first time attempting to build anything from source so please pardon me for this mistake. Thank you for your help i will try to properly build the dev version |
When building the dev branch am i supposed to run the same command i did for the main branch? i have tried a bit now and i can not get the dev branch to be compiled. But i can manage to compile the main branch. here is what i run to try to compile
|
It is pretty much the same but we need qt6 instead of qt5. |
See this comment thread: #1156 (comment) |
That did not work for me unfortunately. Is the compiled sioyek from the development branch supposed to end up in a builds folder like the main branch? Since if it is then it might indicate some issue with the complation process rather than after it. As i have recompiled the main branch and that works well. |
Yes, unfortunately I don't have a mac machine right now so I can't help you directly, maybe this helps: #887 (comment). (especially the part about signing). |
No worries thank you for all the help i really appreciate it. i will try to get it working tomorrow :) |
@SebastianMusic you may look at |
Thanks for the tip! @jinjiaodawang but that did not work on my machine unfortunatly. It might have something to do with me being on the latest version of MacOS. Which might have broken something in the dev branch. I will have to tinker some more once i get ahead of my school work. Again thanks for the help :) |
i could not for the life of me get it to build from source, but i managed to download this alpha release, and that seems to work very well. i just had to sign it like when you build from source. |
Hello just i downloaded sioyek through homebrew as an alternative to zathura, and it works way better in general but i found an annoying issue pretty quickly. i dont know if this is a bug or if its a setting i have to change.
When i start sioyek i get a lot of whitespace above my first page. when i then center my screen with "zz" and try to jump to a different page using the "t" for table of contents i do not get placed perfectly on the page. it is always slightly off
The first image provided is the empty space at the top of my first page when starting sioyek which might contribute to the issue. and the second image is immediatly after a jump using table of contents which places me off center.
The text was updated successfully, but these errors were encountered: