Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. ios and QTableWidget shows keyboard
Qt 6.11 is out! See what's new in the release blog

ios and QTableWidget shows keyboard

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 2 Posters 276 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MartinGU
    wrote last edited by
    #1

    Qt 6.11.1, osx 15.7.7, xcode 26.3, ios 26.3 (simulator and physical).

    Clicking on a QTableWidget on IOS shows the keyboard.
    The same code on Linux, OSX, Android does NOT show keyboard.

    Before you say "QTableWidget is not designed for mobile" it does works great on Android for showing tabular data and its easy to scroll in with finger. In ios it works equally well except for that it forces the keyboard to open.

    I set:
    setMouseTracking(true);
    setTabletTracking(true);
    setTabKeyNavigation(false);
    setSelectionBehavior(QAbstractItemView::SelectRows);
    setSelectionMode(QAbstractItemView::SingleSelection);
    setEditTriggers(QAbstractItemView::NoEditTriggers);

    Is this a bug or are there any more settings/workaround I need?

    /Martin

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Volker Hilsheimer
      wrote last edited by
      #2

      Given the edit triggers, I'd consider this a bug, possibly in the iOS QPA plugin's handling of micro-focus changes or input-method hints. Report welcome: https://wiki.qt.io/Reporting_Bugs

      1 Reply Last reply
      1
      • M Offline
        M Offline
        MartinGU
        wrote last edited by
        #3

        Reported: QTBUG-147229

        A sort of workaround is to take away autoDefault for all pushbuttons on the form. Then the ready button on the ios keyboard works like show/hide since there are no default button for the form. Though the keyboard still shows up when the QTableWidget gets active.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved