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

iOS: Keyboard Dismissal Policy

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.2.0, 5.3.0, 5.3.1
    • None
    • Qt-5.3.1 built at 10.9.3, latest Xcode.
      Target: iPad-2
    • iOS/tvOS/watchOS

    Description

      Looking at Apple's editor Pages,
      keyboard is not dismissed on popovers or alert windows.

      Here's the current status for iOS i.e. taking
      "stock" textedit example from widgets/richedit
      based on QTextEdit and sometimes modifying it for testing:

      Testing of Qt at iPad:
      1. Context menu appears or moved - dismissed;
      2. Modal dialog - dismissed;
      3. Non-modal dialog - dismissed;
      4. Progress dialog - dismissed;

      At the same time Qt at Android devices:
      1. Context menu appears or moved - NOT dismissed;
      2. Modal dialog - NOT dismissed;
      3. Non-modal dialog - NOT dismissed;
      4. Progress dialog - dismissed;

      IMHO, Android is doing dismissals correctly.

      There are many dialogs in textedit example
      that you can see,
      but there's no context menu.
      Therefore, to assist in your investigations,
      please find an example with context menu attached.

      To reproduce the issue, please

      • run the context menu example;
      • write some words;
      • tap a word;
      • observe that context menu appears and keyboard is dismissed;

      A one more observation is that
      when adding a native popover window and starting it from

      • widget like QPushButton added to textedit example top toolbar - keyboard
        is dismissed;
      • QAction added toolbar button - keyboard is NOT dismissed.
        Please, say if you need this "Native Popover Keyboard Dismissal" issue
        to be opened as a separate issue and whether you need the example
        (actually I was doing that as advised by Gustavsen Richard,
        qtdd13_qmlapp)

      Attachments

        1. After-Tapping.PNG
          After-Tapping.PNG
          83 kB
        2. contextmenu.pro
          0.4 kB
        3. ctxcustommenu.tar
          17 kB
        4. main.cpp
          2 kB
        5. mainwindow.cpp
          4 kB
        6. mainwindow.h
          0.9 kB
        7. Prior-To-Tapping.PNG
          Prior-To-Tapping.PNG
          114 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            coroberti Robert Iakobashvili
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes