Python Forum
[PyQt] self.pos().x() and self.pos().x() always return -3,-30 on PyQT5
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] self.pos().x() and self.pos().x() always return -3,-30 on PyQT5
#3
Moving the window does not appear to send a Move event. Changing window focus does send a Move event (or something that gets mapped to a QWidget.moveEvent. Resize events work as expected. My guess is this is an attribute of the ubuntu window manager. I am running the default desktop (Think it is GNOME. Shows up as ubuntu.desktop). You could install a different desktop and see if it fixes your problem.
Reply


Messages In This Thread
RE: self.pos().x() and self.pos().x() always return -3,-30 on PyQT5 - by deanhystad - Jan-13-2023, 06:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 3,557 Apr-06-2019, 11:15 PM
Last Post: ZenWoR

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020