Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-10953

Provide a way to cancel on-going gestures in a context

    XMLWordPrintable

Details

    • Task
    • Resolution: Invalid
    • P1: Critical
    • None
    • None
    • Core: Event loop

    Description

      Currently, there is no way to cancel gestures in a context from the application code. It is possible to set gesture cancel policy, but the policy triggers only when gesture is in started state.

      Without a possibility to cancel, some use-cases become hard/impossible to implement, for example:

      • a generic container widget, that changes to edit mode when long-pressing.
      • To signal user that long-pressing does something, the gesture needs to be started early (container widget shows visualization when it receives Qt::GestureStarted)
      • However, long-press might get canceled
      • gestures related to the widgets within the container need to be canceled when entering edit mode.
      • Canceling on-going gestures when a context menu popup is shown

      Possibly related tasks:
      http://bugreports.qt.nokia.com/browse/QTBUG-8261
      http://bugreports.qt.nokia.com/browse/QTBUG-8177

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            zander tho (closed Nokia identity) (Inactive)
            mikkohar Mikko Harju
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes