Re: [PyQt] Dialog Window's Position Offset

2009-10-13 Thread Brent Villalobos
Thanks. I recall reading that document a long time ago and it didn't click until now. Unfortunately, it looks like I fall into that category of window managers where QWidget.pos() will just return the wrong value at times for certain windows. Hans-Peter Jansen wrote: Am Dienstag 13 Oktober

Re: [PyQt] Dialog Window's Position Offset

2009-10-13 Thread Brent Villalobos
FYI, there was a ticket to Nokia about this issue and it was closed citing that it is a bug in GNOME's window manager. http://qt.nokia.com/developer/task-tracker/index_html?method=entryid=107952 Brent Villalobos wrote: Thanks. I recall reading that document a long time ago and it didn't click

Re: [PyQt] Dialog Window's Position Offset

2009-10-12 Thread Brent Villalobos
Thanks for the response Baz. I'm trying to save a window's position when I close a window. I would think that the position recorded on my last move event would be the one recorded on the window's close event. The fact that it is not points to an issue either with Qt, PyQt, or my window

Re: [PyQt] Dialog Window's Position Offset

2009-10-12 Thread Hans-Peter Jansen
Am Dienstag 13 Oktober 2009 schrieb Brent Villalobos: Thanks for the response Baz. I'm trying to save a window's position when I close a window. I would think that the position recorded on my last move event would be the one recorded on the window's close event. The fact that it is not

Re: [PyQt] Dialog Window's Position Offset

2009-10-10 Thread Baz Walter
Brent Villalobos wrote: I'm wondering if anyone has an opinion on this? Is this a bug in Qt or am I not understanding something fundamental? Brent Villalobos wrote: I'm confused about the position of dialogs that do not have parents. I wrote a small PyQt application that is a push button

Re: [PyQt] Dialog Window's Position Offset

2009-10-09 Thread Brent Villalobos
I'm wondering if anyone has an opinion on this? Is this a bug in Qt or am I not understanding something fundamental? -Brent Brent Villalobos wrote: I'm confused about the position of dialogs that do not have parents. I wrote a small PyQt application that is a push button that launches a

[PyQt] Dialog Window's Position Offset

2009-09-22 Thread Brent Villalobos
I'm confused about the position of dialogs that do not have parents. I wrote a small PyQt application that is a push button that launches a non-modal, non-parented QDialog. When you show the dialog and then close it without explicitly moving it, then it reports the wrong position. However,