-
-
Notifications
You must be signed in to change notification settings - Fork 293
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
Cannot open context menu on touchscreen #1400
Comments
There isn't a context menu. If you are able to select text you should see a menu upon selection (for touchscreen selection, see #207). |
That does not happen on touchscreens. Text selection is, while not a great experience, somewhat possible via double and triple tap. But the selection menu does not pop up. |
Does the menu pop up if you tap on the selected text? |
No, it just selects it |
I mean if you select some text with double tap, and then tapping on the selected text again. If you do this too quickly it would be treated as a triple tap. So you need to wait long enough before tapping the third time, which should deselect the text (which is the normal behavior). But in Foliate, in addition to the text being deselected, it would also open the selection menu if it's not already opened (which is actually a bug). If that does not happen, I would guess that there might be some GTK bug that prevents the popover from showing. |
That deselects it. |
Just in case... do we really need menu to pop up automatically on any selection? May it solve an issue if make menu as a real/honest context menu with a click RMB or long tap? Just in my own experience - when menu pop up automatically is a bit not comfortable for me... I usually select some part of text before scroll because it helps my eyes to keep position of my reading when I scroll down. But if menu popup is open it blocks scrolling - so I can't do such a useful trick in Foliate. |
It probably doesn't have to be that way, but it's such a well-established pattern that it has to be the default even if there's an option to turn it off.
One can fix this by making the popup non-modal. |
As described in the title, tested on the latest Flatpak version.
I tested this on my PineTab2. Neither a single press, double press, or longpress would open the context menu. The touchpad works.
The text was updated successfully, but these errors were encountered: