Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.15.0
-
None
Description
Hello,
I have a platform which does not have a screen connected to it and running a simple QT Quick application which has an animation running on the qml. So Animation is not running if I do not connect a screen through hdmi to my platform. If I connect a screen through hdmi animation is working great.
So I tried to debug the issue as exporting export QT_LOGGING_RULES=qt.qpa.*=true and got the following logs when animation is not running:
/////////////////////////////////////////////////////////////////////////////////////////////////////////
qt.qpa.wayland: using input method: QComposeInputContext
qt.qpa.fonts: default fonts: system QFont(Sans Serif,9,-1,5,50,0,0,0,0,0) fixed QFont(monospace,9,-1,2,50,0,0,0,0,0)
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
qt.qpa.wayland: Available client buffer integrations: ("wayland-egl", "xcomposite-egl", "xcomposite-glx")
qt.qpa.wayland: Using Wayland-EGL
qt.qpa.wayland: Initializing client buffer integration "wayland-egl"
qt.qpa.wayland: Using the 'xdg-shell' shell integration
qt.qpa.wayland: sendExposeEvent: intercepted by shell extension, not sending
function handleWindowChanged line 91
function handleWindowChanged line 94 win QQuickWindow(0x55c37b8750, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), geometry=0,0 640x480)
Visibility QWindow::Windowed
qt.qpa.wayland: Received xdg_toplevel.configure with QSize(0, 0) and QFlags<Qt::WindowState>(WindowNoState)
qt.qpa.wayland: Applied pending xdg_toplevel configure event: QSize(0, 0) QFlags<Qt::WindowState>(WindowNoState)
function paint line 106 win QQuickWindow(0x55c37b8750 exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), title="Hello World", geometry=0,0 640x480)
qt.qpa.wayland.backingstore: handleUpdate QSGRenderThread(0x55c37f0640)
qt.qpa.wayland: Received xdg_toplevel.configure with QSize(0, 0) and QFlags<Qt::WindowState>(WindowActive)
qt.qpa.wayland.backingstore: requestUpdate
qt.qpa.wayland: Applied pending xdg_toplevel configure event: QSize(0, 0) QFlags<Qt::WindowState>(WindowActive)
function paint line 106 win QQuickWindow(0x55c37b8750 exposed, visibility=QWindow::Windowed, flags=QFlags<Qt::WindowType>(Window), title="Hello World", geometry=0,0 640x480)
qt.qpa.wayland.backingstore: Didn't receive frame callback in time, window should now be inexposed
qt.qpa.wayland.backingstore: handleUpdate QSGRenderThread(0x55c37f0640)
qt.qpa.wayland.backingstore: Didn't receive frame callback in time, window should now be inexposed
/////////////////////////////////////////////////////////////////////////////////////////////////////////
It seems to me that qwaylandwindow.cpp has some bugs that maybe related to sendExposeEvent functionality. I have seen some commits for qtwayland but do not know which is related to my case.I am attaching the example code into attachments .
Could you please check the issue and help me?
Regards