Width and height warnings when configuring full screen
-
I'm developing my first app with PySide6/QML running on a Raspberry Pi 4 and I'm having an issue when configuring it to run in full screen. I'm seeing the following warnings printed out multiple times in the console when the application starts and again after button interactions.
qt.qpa.wayland: Configure event with maximized or fullscreen state contains invalid width: 0 qt.qpa.wayland: Configure event with maximized or fullscreen state contains invalid height: 0It's more of an annoyance than anything adding noise while I'm trying to debug printing to the console but I've yet to find a solution and would appreciate any suggestions. Here's the code:
ApplicationWindow { id: root width: 700 height: 400 visible: true visibility: Window.FullScreen ... } -
I'm developing my first app with PySide6/QML running on a Raspberry Pi 4 and I'm having an issue when configuring it to run in full screen. I'm seeing the following warnings printed out multiple times in the console when the application starts and again after button interactions.
qt.qpa.wayland: Configure event with maximized or fullscreen state contains invalid width: 0 qt.qpa.wayland: Configure event with maximized or fullscreen state contains invalid height: 0It's more of an annoyance than anything adding noise while I'm trying to debug printing to the console but I've yet to find a solution and would appreciate any suggestions. Here's the code:
ApplicationWindow { id: root width: 700 height: 400 visible: true visibility: Window.FullScreen ... } -
Please try this example. If it causes the same qpa errors, you can file a bug.
-
I encountered the same problem using pyqt6 on Raspberry Pi 4b.
system:Linux raspberrypi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt2 (2024-10-01) aarch64 GNU/Linux
python version:3.12.5
pyqt6 version:6.7.1def init_ui(self): self.setWindowTitle('Camera') self.setGeometry(100, 100, 300, 400) self.showFullScreen()qt.qpa.wayland: Configure event with maximized or fullscreen state contains invalid width: 0 qt.qpa.wayland: Configure event with maximized or fullscreen state contains invalid height: 0