-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Wish: Enter Go to page from Skim mode dialog #3526
Comments
Try to tap in page number to go back from "Skim mode" to "Go to page" |
@robert00s |
Looking at the Go to page and Skim mode dialogs, looks like Skim mode dialog is meant to be an extension to the Go to page dialog: In Go to page dialog, press Skim mode, and you can do as if more stuff, that's why the "Go to page" title stays there. I have this suggestion: Make Skim mode an actual expansion of the Go to page dialog, i.e. retain the full Go to page dialog when Skim mode opens. When the user presses Skim mode, then instead of switching away from Go to page dialog, make Go to page dialog expand to include the Skim mode controls. This leaves us with the keyboard detail: When Skim mode dialog opens, the keyboard vanishes (probably because the Skim mode dialog is so big). My idea is this: The new expanded dialog includes the Go to page form. When the user places the focus there, the Skim mode controls should vanish and the keyboard reappear. (All this is unnecessary, really, only cosmetics. As it is, all the functions are there, I just found it confusing that the Skim mode is titled Go to page.) |
Let's leave as it is :)
I'll prepare PR for this soon. Note that skim mode is the default mode when long press on status bar for serveral weeks. |
Yes, could be. Another thing that most definitely is too big is Table of Contents. Mostly that thing is entirely empty, and to get out of it there is a too tiny cross in the corner. I'd like the Table of Contents dialog to be small (particularly when it's empty, or, even better, not show up at all when there is nothing to show; or have a big fat Cancel button on it instead of the little cross in the corner) so I can hit anywhere around it to get rid of it, just like with Go to page dialog. And/Or there could be a shortcut button to Bookmarks somewhere in the Table of Contents dialog, just like you can get back and forth between Go to and Skim to dialogs. I see that you merged something related to this issue. I updated Koreader now, but the skim dialog still reads Go to page on top. Did I update too fast? |
Yes, not yet merged, still discussed in #4223.
(Well, if you see that many empty ToC, why are you hitting this menu that often? :) already requested in #3997) I discovered a few weeks ago that, for people with multitouch devices that use the 2-finger swipe to show ToC or Bookmarks, that you can close it with that same 2-finger swipe in the other direction. But I ended it up adding for myself Swipe south to close these (because I was too often missing that little cross in the corner - but I don't think we should add a big fat button to this view, that I'd rather like clean of distractions). --- orig_koreader/frontend/ui/widget/menu.lua
+++ koreader/frontend/ui/widget/menu.lua
function Menu:onSwipe(arg, ges_ev)
if ges_ev.direction == "west" then
self:onNextPage()
elseif ges_ev.direction == "east" then
self:onPrevPage()
+ -- easier closing (than tap on button at top right)
+ elseif ges_ev.direction == "south" and self.has_close_button and not self.no_title then
+ self:onClose()
else
-- trigger full refresh
UIManager:setDirty(nil, "full")
--- orig_koreader/plugins/coverbrowser.koplugin/covermenu.lua
+++ koreader/plugins/coverbrowser.koplugin/covermenu.lua
function CoverMenu:onSwipe(arg, ges_ev)
if ges_ev.direction == "west" then
self:onNextPage()
elseif ges_ev.direction == "east" then
self:onPrevPage()
+ -- easier closing (than tap on button at top right)
+ elseif ges_ev.direction == "south" and self.has_close_button and not self.no_title then
+ self:onClose()
elseif ges_ev.direction ~= "north" and ges_ev.direction ~= "south" then
-- but not if north/south, and we're triggering menu
-- trigger full refresh Should I PR that? |
By mistake. The usual scenario is, when a book is open, I bring up the menus and the first menu with Table of contents on top is auto-expanded, I want to go to the top-right corner to the ☰ menu but it hits the Table of contents instead. So the next question in that situation is how to get rid of the Table of contents, but it's not easy to get rid of it.
What does this mean? I don't know what PR means. I am slowly beginning to understand that you have some configuration options available for swipes. I would like to set them for the things I use most, such as switching nightmode on and off, getting in and out of bookmarks and history, etc. Are there instructions for this somewhere? |
Pull Request. I was asking the other developers if I should push this change (that I made for myself) to the main code, so that everybody gets Swipe south to close TOC, Bookmarks, History.
No, we don't have that. There's no way to change behaviour of gestures, except what is available thru menu that allows disabling them (opening menu, following links, getting back from links).
But at this point, your finger is around the top right corner, near the |
Is there a rationale behind it? |
If it = Swipe south , not much but:
And it feels quite natural since I've been using it. |
Up and down feel like basically the same thing though. |
One would assume so, but it does not work in reality. Just like it keeps hitting the TOC when I am aiming at ☰ , it also misses the x. Consistently so. At the same time, the Cancel or Dismiss buttons around the Go to page or other dialogs always react as expected, which is why I would like more buttons like this. |
In the latest git update I see that this has changed. Under Cogwheel > Device we now have Gesture manager and I can set a tap in corner to toggle night mode. It (the Gesture manager) looks like something that would perhaps better be placed into Plugins menu, where the Frontlight gesture controller resides. Besides, it would be nice if Frontlight gesture controller would, in addition to just toggling the light on-off, optionally open up the frontlight dialog. Just a setting to switch the gesture action between the toggle and the dialog. Thank you for your great work! |
@poire-z |
And can the same or similar be implemented in history list? |
That should already work.
|
@ersi-dnd I'll close this issue now since it looks resolved. Please feel free to reopen this one or to start a new issue. |
Yes, it is resolved. Thank you! |
Thank you for this latest release (koreader-nightly-20171023). I haven't installed it yet on all my devices, but on the one I have it looks awesome.
There is this minor issue: Skim mode dialog reads "Go to page" as its title. I think it should say "Skim mode" instead.
And I have a wish: In the Go to page dialog, we have the button "Skim mode" which enters Skim mode. How about adding a Go to page button in the Skim mode dialog?
The text was updated successfully, but these errors were encountered: