Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. TextInput does not hide the Chinese input method when it loses focus
Qt 6.11 is out! See what's new in the release blog

TextInput does not hide the Chinese input method when it loses focus

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 534 Views 1 Watching
  • 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.
  • V Offline
    V Offline
    victorman
    wrote on last edited by
    #1

    I'm using MacOS 13.7.8 and Qt6. As described in the title, I found that when using a Chinese input method in TextInput, if the user clicks on other areas of the application at this time, TextInput loses focus, but the Chinese input method is not hidden.

    I tried to call the Qt.inputMethod.hide() method when TextInput lost focus, but it didn't work.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which version of Qt are you using ?
      I remember seeing something related some times ago.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which version of Qt are you using ?
        I remember seeing something related some times ago.

        V Offline
        V Offline
        victorman
        wrote on last edited by victorman
        #3

        @SGaist Hi, I have tried qt6.5.1 and qt6.8.3, and this situation exists in both versions.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You should try with a current version of Qt. IIRC it's 6.10.1 at the time of writing.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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