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

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes