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

Text substitutions not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.13.1
    • None
    • macOS Mojave 10.14.6.
      Qt 5.13.1
      PyQt 5.14.1
    • macOS

    Description

      Text replacement is a way of making a string be automagically replaced with another string. For example, I can set up a text replacement where the string "BRB" is replaced by the string "Be Right Back".

      I set up text replacement on Mac but even though it works everywhere else, it doesn't work on an app called Anki, which is based on Qt. It doesn't work whether I use the native text replacement functionality  of macOS or I use a third-party text replacement app.

      See below for how to reproduce:

      1. Go to System Preferences -> Keyboard
      2. Choose "Text" tab
      3. Create a text substitution from "foo" to "bar"
      4. Open Anki's Add Card dialogue
      5. Type foo
      Result: foo doesn't get replaced by bar.
      Notes: "foo" gets correctly replaced by "bar" in the Notes app
      Notes2: text replacement from 3rd party apps (i.e: Typinator) also doesn't work as expected (text gets replaced partially)
      I don't know if this was happening with previous versions of Anki as I just started using text substitutions today.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            edoreld Clarence Olivier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes