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

Have support for making commited words in text entries as preedit in input method side

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • Core: Event loop

    Description

      In Meegotouch text entries we have implemented an input method extension for making words preedit from the widget side. This works so that when user clicks on a word, it will be injected back to input method server as preedit, becomes underlined and can be edited as a whole, i.e. error correction can be applied to the whole word. Similar possibility would be nice to have with standard Qt interfaces.

      MeegoTouch implementation in more detail:
      1. MTextEdit mouse click handler detects word boundaries around click position
      2. MTextEdit removes the word from contents, makes an MPreeditInjectionEvent with the word and sends that to input context.
      3. If event was not accepted, it is assumed the input context doesn't support such feature, otherwise input context updates the word to input method server and input continues in preedit mode.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pvuorela Pekka Vuorela
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: