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

UI scaling broken when QQuickWidget is being used

XMLWordPrintable

    • macOS

      UI scaling broken when a QML component which is implemented on QWidget using QQuickWidegt. Some icons and fonts are rendered very small.

      Attached example may reproduce this:

      Here's is reproduction steps for this issue.

      1. Connect external monitor to the Mac and configure mirroring so that same screen shows for both screens.
      2. Launch our application and then maximize application windows
      3. Close the Mac and make sure Mac is being on Clamshell Mode
      4. Disconnect external monitor
      5. Reopen Mac and then check the our application. --> QML UI is broken(UI scaling issue)

      when check the inside Qt logic(qt.qpa.screen, qt.qpa.screen.updates), it seems that CVDisplayLink keep referring the display ID which is already disconnected. I've enclosed the full log as well

        1. macOS_UI_broken_log_250626 (1).txt
          3 kB
        2. Mac UI Scaling Issue_comparison.png
          Mac UI Scaling Issue_comparison.png
          485 kB
        3. Qt_Sample_App_Issue.png
          Qt_Sample_App_Issue.png
          1.41 MB
        4. qtbug138623.zip
          59 kB
        5. qtdiag.txt
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            irfan.omair@digia.com Irfan Omair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes