-
-
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
Gesture manager: action suggestions #4727
Comments
And it would go nicely as the file browser equivalent default gesture for bookmarks. Also:
|
There is one (that I don't want to have anything to do with :) that is strangely missing (that one you use Suspend or your power button to have it, if I remember correctly): |
I occasionally use suspend as a quick wifi turn-off, yes. Anyway, I think we've got a decent set of actions for release. More can just trickle in. :-) |
As suggested by @poire-z. koreader#4727 (comment) I wanted to make the gesture a `W`, but that's a bit too unwieldy. Instead there's the suggestion of a (backward) `W`.
As suggested by @poire-z. koreader#4727 (comment) I wanted to make the gesture a `W`, but that's a bit too unwieldy. Instead there's the suggestion of a (backward) `W`. The default gestures for wifi on and off are diagonal multiswipe half circles, like an turnable on/off knob.
Adding a reference to #3978. Because with a multiswipe of at least three strokes, ignoring touch could work on any device. But definitely not for the stable. Something like that is a little too volatile to throw in last minute. ;-) |
As suggested by @poire-z. #4727 (comment) I wanted to make the gesture a `W`, but that's a bit too unwieldy. Instead there's the suggestion of a (backward) `W`. The default gestures for wifi on and off are diagonal multiswipe half circles, like an turnable on/off knob.
I would like to see the multiswipe gesture manager itself among the actions opened with a multiswipe. |
For sanitary code organization purposes I would generalize that as opening a specific (sub)menu. Not likely to happen very soon I'm afraid but it is part of my overarching vision. :-) |
As requested by @ersi. Cf. koreader#4727 (comment)
As requested by @ersi. Cf. #4727 (comment)
It'd be nice to see "Next/Prev Highlight action" gesture( |
You should know more about that than me. :-) What is it this action would do precisely? |
Basically it should set local actions = {
"highlight": "translate",
"translate": "wikipedia",
"wikipedia": nil
}
local current_action = G_reader_settings:readSetting("default_highlight_action")
if not current_action then
G_reader_settings:saveSetting("default_highlight_action", "highlight")
UIManager:show(InfoMessage:new{
text = _("Default highlight action is now: highlight"),
timeout = 1,
})
else
local next_action = actions[current_action]
G_reader_settings:saveSetting("default_highlight_action", next_action)
UIManager:show(InfoMessage:new{
text = "Highlight action is now: " + next_action,
timeout = 1,
})
end |
That looks okay to me, except you should try to keep the logical separation by putting those lines in something like NB I haven't looked at the specific code involved so that's more of a generic statement even if it looks specific. |
"View book description" would be nice to have too. |
With #4777 you need to do 2 things to open the description: a multigesture & a tap. The most common reason for me to open Book information, is to view the books description. So to bypass "Book information" and directly open the "Description" with a multigesture would be nice. Well anyway, it's not superimportant. |
Oh, I see what you mean. Perhaps @poire-z (who authored book info) would be interested in that? |
(Come on, 2 things, a gesture and a tap! for something you'll do at most 2 or 3 times on a book :) Anyway, using stuff from filemanagerbookinfo is a bit complicated, as it's more just the display parts that gets the bookprops dict from various callers (including CoverBrowser when the props are in the db) and set up kvpage and use the callback it provides. It's just easier to get it from self.ui.document and launch the TextViewer directly in gesture manager. local TextViewer = require("ui/widget/textviewer")
UIManager:show(TextViewer:new{
title = _("Description:"),
text = self.document:getProps().description or _("N/A"),
}) (@Frenzie : feel free to go on with that and pick a default gesture for it if it's worth one and you have an idea for it.) |
How about disable/enable Reading Statistics? Is that posssible? |
There is an issue with it. |
Right, forgot to use what's used in bookinfo:
|
Also add Device:hasMultitouch() to control whether the configuration menu is shown. Cf. #4727.
I would find it useful to have gestures for fine-tuning font sizes, like one gesture for font size +1 and another for -1. |
One I really miss is "scroll here to top/bottom". |
) * Add spread/pinch gesture to gesture manager ability to disable: https://www.mobileread.com/forums/showthread.php?t=321818 #4815 (comment) * Add increase/decrease font size action gesture #4727 (comment)
Splitting out the feature request for new functionality and closing. The type of actions intended for this issue was existing functionality. I'll close this issue because we've reached quite a usable degree of gesture manager actions. Please create dedicated tickets if something should come up. |
…ader#4739) As suggested by @poire-z. koreader#4727 (comment) I wanted to make the gesture a `W`, but that's a bit too unwieldy. Instead there's the suggestion of a (backward) `W`. The default gestures for wifi on and off are diagonal multiswipe half circles, like an turnable on/off knob.
) Also add Device:hasMultitouch() to control whether the configuration menu is shown. Cf. koreader#4727.
…reader#5188) * Add spread/pinch gesture to gesture manager ability to disable: https://www.mobileread.com/forums/showthread.php?t=321818 koreader#4815 (comment) * Add increase/decrease font size action gesture koreader#4727 (comment)
I find it essential to navigate quickly between folders. Thanks
The text was updated successfully, but these errors were encountered: