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

Call setHiddenUntilMouseMoves when text box is edited

    XMLWordPrintable

Details

    • macOS

    Description

      On macOS, when a textbox is edited, the mouse cursor is hidden. The mouse cursor is shown again when the mouse moves. This occurs no matter where the mouse is located. I've attached a gif that demonstrates this behaviour using a native mac app (iTerm2).

      Qt apps don't have this behaviour. All that would be required to implement this is to insert calls to setHiddenUntilMouseMoves in various places.

      I've attached an example program that demonstrates how to implement the correct behaviour.

      Attachments

        1. demo.cpp
          0.5 kB
        2. demo.gif
          demo.gif
          79 kB
        3. demo.mm
          0.1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            kerndog73 Indi Kernick
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes