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

QDialog::move() not considering taskbar on Ubuntu with multiple screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.12.12
    • GUI: Workspace
    • None
    • Ubuntu 20.04 with two monitors
    • Linux/X11

    Description

      Normally, moving a QDialog using QDialog::move() positions the dialog outside of taskbars. However, on Ubuntu 20.04 with two monitors it is not the case with frameless Dialogs : the move() call can move it inside the taskbar :

      This does not happen if the dialog is not frameless :

       

      This behaviour has been observed on Ubuntu 20.04. It also happens only under some configurations :

      • Main monitor needs to be on the right side, with task bar on the left (between the two monitors)
      • Left monitor needs to have a lower resolution than the right one
      • Fractional scaling needs to be disabled

      A minimal reproducible example is attached.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mickael.reporting Mickaël Da Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: