-
Notifications
You must be signed in to change notification settings - Fork 218
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 equivalent of "hover" for touch displays #3145
Comments
Long tap should be the way to go. |
OK https://doc.qt.io/qt-6/qtapandholdgesture.html has been around since qt4.8 or earlier, so it looks like gesture support is pretty solid. Edit: So editing the default Shift-F1 / right-click / help menu behaviour is "not simple"; neither is routing tap-hold to hover (as it's tap-hold finished). For now, I'll just add tap-hold to the one component. Edit2: Ugh... and gestures use Edit3: Oh dear... https://doc.qt.io/qt-6/moc.html#multiple-inheritance-requires-qobject-to-be-first so overriding |
Well, that didn't work. Doesn't appear to have broken the Windows build but long hold did nothing... I'll have to investigate further. |
I'm going to de-assign myself from this: my Android-foo hasn't got me any progress on it so far. |
What is the current behaviour and why should it be changed?
On desktop builds, hovering the mouse over the channel user displays their profile details in a tool tip:
As no "hover" action is available for touch displays (e.g. Android), this feature is unavailable.
Describe possible approaches
A single tap or, probably better, long-hold could be used to display tool tips in general. (Long-hold would avoid misinterpretation of single tap on a checkbox or menu, etc.)
I'm guessing touch screens also are missing right-click "What's this?" support. Possibly that could be implemented as above, with "Show musician profile" as an extra option where applicable.
Other trigger actions could be double tap or two-finger tap. Long-hold is prefered, I think.
Has this feature been discussed and generally agreed?
Only with my partner, who raised it.
The text was updated successfully, but these errors were encountered: