Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11, 5.12.0
-
None
-
-
475910a75a5cd3332fe2f0e5740c4c3c2c0b8987 (qt/qtwayland/dev) b2ee9ff3992ee723be178c655464f2dc6f7a9b33 (qt/qtwayland/5.12)
Description
void QWaylandDisplay::registry_global(uint32_t id, const QString &interface, uint32_t version) { Q_UNUSED(version); struct ::wl_registry *registry = object(); if (interface == QStringLiteral("wl_output")) { QWaylandScreen *screen = new QWaylandScreen(this, version, id); mScreens.append(screen); // We need to get the output events before creating surfaces forceRoundTrip(); #ifndef Q_OS_SYLIXOS // Adding screens here will result in an error in order mWaylandIntegration->screenAdded(screen); #endif ... file: qt5\qtwayland\src\client\qwaylanddisplay.cpp Maybe add screens here: QWaylandDisplay::QWaylandDisplay(QWaylandIntegration *waylandIntegration) : mWaylandIntegration(waylandIntegration) { ... struct ::wl_registry *registry = wl_display_get_registry(mDisplay); init(registry); mWindowManagerIntegration.reset(new QWaylandWindowManagerIntegration(this)); forceRoundTrip(); #ifdef Q_OS_SYLIXOS foreach (QWaylandScreen *screen, mScreens) { mWaylandIntegration->screenAdded(screen); } #endif }
Attachments
Issue Links
- relates to
-
QTBUG-81657 Snapdragon 820A /Wayland: The handling of QEvent::UpdateRequest hangs when QQuickItem::update() is not scheduled on time
- Closed
For Gerrit Dashboard: QTBUG-72828 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
250003,3 | Client: Add wl_output tests | dev | qt/qtwayland | Status: MERGED | +2 | 0 |
250071,7 | Client: Fix reverse screen order | 5.13 | qt/qtwayland | Status: MERGED | +2 | 0 |
322427,3 | Client: Fix reverse screen order | 5.12 | qt/qtwayland | Status: MERGED | +2 | 0 |