Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. QMainWindow.move() doesnt work on wayland

QMainWindow.move() doesnt work on wayland

Scheduled Pinned Locked Moved Unsolved Qt for Python
1 Posts 1 Posters 622 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Dr.Porkchop
    wrote on last edited by Dr.Porkchop
    #1

    Re: QWidget.move() not work under qtwayland

    The issue is similar to the one above.
    self.move() works fine in x11 but has no effect in Wayland .
    I have also noticed that qt designer opens its self in a corner when using Wayland.

    a minimum reproducible example

    from PyQt5 import QtGui,QtCore,QtWidgets
    import sys

    class Ui(QtWidgets.QMainWindow):
    def init(self):
    super(Ui,self).init()
    self.show()
    self.move(100,100)

    app =QtWidgets.QApplication(sys.argv)
    window=Ui()
    app.exec_()

    Is this a bug?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved