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

Text cursor position mismatch when having different scaling monitors and AA_EnableHighDpiScaling is set on

    XMLWordPrintable

Details

    • Windows

    Description

      I would like to have a custom tooltip widget in QPlainTextEdit of course at the text cursor position. Furthermore the tooltip should not be cut between two monitors rather than it should be displayed only at one monitor.

      Setup: Monitor 1 = 125 %; Monitor 2 = 150%

      Steps:

      • Start the attached application
      • Move the app between the two monitors
      • Type some text
      • Observe that the custom tooltip appears and moves with the text cursor

       

      With Qt 5.15.11  there is no problem, but with Qt 6.4.1

      This issue is similar to https://bugreports.qt.io/browse/QTBUG-73231

       

       

       

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            thelamb Thomas Lämmlein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes