Red Hat Bugzilla – Bug 426354
qt4: Invalid window position returned
Last modified: 2008-11-26 05:12:07 EST
Description of problem:
At least QMainWindow (but I suspect that all top-level parentless windows)
pos(), x(), y() functions return 0,0 if window was not moved by user after it's
creation. The problem presents since Qt3. Test program is attached. Main window
saves it's state and geometry using QSettings in close and restores it's state
and geometry when created. Launch application, move window, close and launch
again. The window should be in the right position. Now DON'T move the window,
close it and restart again. The window will be at the upper left corner.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 290148 [details]
If you feel you've discovered a genuine qt bug (not specific to fedora), I'd
recommend you report it upstream to trolltech:
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '8'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 8's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 8 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
*** This bug has been marked as a duplicate of bug 233965 ***