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

QOpenglWidget and multi-screen bug

    XMLWordPrintable

Details

    • macOS

    Description

      I use two monitor, one is 1280 x 800 (HiDPI), the other is 1920 x 1080 (no HiDPI), like a Retina MacBook Pro with an external monitor, when the Qt window is in the HiDPI monitor, All is going well, but when I drag it into the no HiDPI screen, it is a bad idea.

      In this source code, I set the NSWindow style mask with NSFullSizeContentViewWindowMask,if I remove this style mask, All is going well.

      Attachment : test_openglwidget_bug.zip

      Attachments

        1. HiDPIScreen.png
          2.09 MB
          宇机 卢
        2. NormalScreen.png
          1.04 MB
          宇机 卢
        3. test_openglwidget_bug.zip
          2 kB
          宇机 卢
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            luyuji 宇机 卢
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes