"Backporting" the QDesktopWidget::screenNumber(QWidget*) function from qtbase HEAD helped for this particular problem. Packages with an extra patch (debian/patches/multiscreen-MET.diff) are available on launchpad: ppa:met-norway/updates-met
While the main problem is solved, the popups are still placed completely on one screen even if the combobox spans two screens. This is maybe a rather unusual window placement. Solving this probably requires changes to QDesktopWidget (screen number from widget corner) and QComboBox (popup placement such that it may span adjacent screens while still being completely visible without gap) and maybe other popups (QMenu?). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1671853 Title: incorrect screen number reported by QDesktopWidget To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1671853/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs