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

HighDPI: Wrong resizeEvents on Dockwidgets with dual monitor setup.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.1
    • None
    • Dual monitor setup with different monitor scalings (e.g. 150%, 200%)
    • Windows

    Description

      To reproduce this bug:

      • enable high dpi scaling
        QApplication::setAttribute (Qt::AA_EnableHighDpiScaling, true);
        
      • set highdpi scalefactorroundingpolicy to Passthrough
        QApplication::setHighDpiScaleFactorRoundingPolicy (Qt::HighDpiScaleFactorRoundingPolicy::PassThrough);
        
      • Dual monitor setup with different scalings (e.g. 150%, 200%)

      Now, if I move a dockwidget/floating toolbar from one screen to the other, it recieves multiple resize events when crossing screens, leading to extremely large/small widgets and eventually crashing the application.

      Attachments

        1. after.jpg
          6.48 MB
          Jacob Nieswand
        2. before.jpg
          6.36 MB
          Jacob Nieswand
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            jnieswand Jacob Nieswand
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes