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

Setting QT_SCALE_FACTOR leads to incorrect cursor position in select box

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.3.1
    • QPA: Wayland
    • OS: OpenSUSE Tumbleweed
      Desktop environment: SwayWM
    • Linux/Wayland

    Description

      Although I discovered this problem in qtcreator, I believed this is a general QT problem.

       

      If I set QT_SCALE_FACTOR to, say 1.3, and QT_QPA_PLATFORM=wayland, then open qtcreator, any "select box" detects a wrong cursor position. An example of "select box" is "Preference -> Test Editor -> Font -> Size". I have to move my mouse to somewhere lower-right out of the "select box" to select something.

       

      This can be fixed if I set QT_QPA_PLATFORM=xcb.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              dlshcbmuipmam Kwun Hang Lai
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes