Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.13.1, 5.14.1
-
None
-
Linux 4.19.66-1-MANJARO
logs when executing my script with WAYLAND_DEBUG=client (you need to click to 'Details'): https://github.com/swaywm/sway/issues/4739#issuecomment-556007187
-
-
e21230a3b8b4aca50121c373a6ffea770807d4a0 (qt/qtwayland/5.15.0)
-
Shovelling Snow
Description
This simple script is supposed to create a modal window without borders neither title:
import sys from PyQt5.QtWidgets import QApplication, QDialog, QLabel from PyQt5.QtCore import Qt app = QApplication(sys.argv) d = QDialog() d.setModal(True) d.setWindowFlags(Qt.WindowStaysOnTopHint | Qt.FramelessWindowHint) d.setMinimumWidth(400) d.setMinimumHeight(400) d.setMaximumWidth(400) d.setMaximumHeight(400) QLabel('Hello world', d) d.show() sys.exit(app.exec_())
But the borders are still here (see image: https://ddgobkiprc33d.cloudfront.net/43f52064-21d5-4d50-b678-c59421d45ff6.jpg).
Note that the borders disapears correctly when I run the application with QT_QPA_PLATFORM="xcb".
It seems that this is not an issue with Sway
I wrote the equivalent program in C++ and I get the same behavior, so it's not a problem with PyQt.