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

The cursor size is unstable when multiple QT_SCALE_FACTOR is used

    XMLWordPrintable

Details

    • All
    • 3709bc3699 (qt/qtbase/dev) 3709bc3699 (qt/tqtc-qtbase/dev) 8eedaf8a87 (qt/qtbase/6.4) 8eedaf8a87 (qt/tqtc-qtbase/6.4) 2c0bfd4372 (qt/tqtc-qtbase/6.2) 9e76c0b01e (qt/qtbase/6.3) 9e76c0b01e (qt/tqtc-qtbase/6.3) c617ea69c9 (qt/tqtc-qtbase/5.15)

    Description

      When I use QT_SCALE_FACTOR to enlarge the window several times, I find that the size of the cursor is different in different positions.

       

      
      
      #include <QApplication> 
      #include <QLineEdit>
      int main(int argc, char *argv[]) 
      {
          qputenv("QT_SCALE_FACTOR", "3.33"); 
          QApplication a(argc, argv);
          QLineEdit edit;
          edit.show(); 
          return a.exec();
      }

       

       

      Attachments

        1. thick.png
          thick.png
          2 kB
        2. thin.png
          thin.png
          2 kB
        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
            wangpenga wangpenga wangpenga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: