I recently stumbled upon this bug in Qt 4.7.0: http://bugreports.qt.nokia.com/browse/QTBUG-14058
A quote from that page:
"QApplication::desktop()->availableGeometry() will now report correct geometry if called AFTER the resize event has been handled"
This is being said, as if it makes some kind of sense! Well, it doesn't! The screen geometry can't change, so there is no reason to wait 'till the resize event has been sent!
This also affects screenGeometry, it seems.
So what was wrong with the original Qt specification, which states that screenGeometry () "Returns the geometry of the screen with index screen. The default screen is used if screen is -1." (no conditions).
I can't understand these Nokia amateurs who seem to be breaking Qt bit by bit!
Any ideas or comments anyone?!